using SW2 button to stop advertising

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am a newbee, using Cypress BLE pioneer kit CY8CKIT-042-BLE and currently working to make SW2 button to have control of start/stop advertising. Many of Cypress examples have demonstrated how to awake BLE from sleep and start advertising, but how to stop advertising is not been discussed.

   

Has anybody tried stopping the advertisement of  BLE or is there any other sample project in which this use case is implemented.

   

Kindly reply.

   

Thanks.

0 Likes
1 Reply
Anonymous
Not applicable

Thanks..

0 Likes