I am looking at the hello_sensor example project, and I see the call to wiced_bt_start_advertisements(), which starts advertising, and I can see the BLE device show up on a BLE scanning app.
What I am trying to do now is stop the advertising after 1 minute to try to save power if no client has connected to the device. I do not see a corresponding wiced_bt_stopadvertisements() function anywhere.
Does anyone the API call to stop the device from advertising?
Hello alca_3047856 ,
To stop the advertising, you can use the same API wiced_bt_start_advertisements with advert mode BTM_BLE_ADVERT_OFF to stop advertising.
Refer API details in wiced_bt_dev.h