Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Can some give an example of how to use the adv timeout correctly. When I use ble.gap().startAdvertising(2); I was thinking it would stop the advertising for 2 seconds and then resume. It does not resume. Any suggestions? I am assuming it needs to initiate the advertising cycle again but I am uncertain how to do that. Another platform i used for beacons allowed me to use intervals and timeouts for advertising and I did not have to do anything additional it advertised for the interval ...stopped during the timeout interval and kept repeated as expected.
thanks