This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

disable adv IDLE fail!

Dear Sir,

Here I would like to disable the Adversting idle power down dynamically but in some situation it will fail.

The APP_ADV_TIMEOUT_IN_SECONDS is 180 seconds as default, and in the BLE_ADV_EVT_IDLE event of on_adv_evt function, I called ble_advertising_start(BLE_ADV_MODE_FAST) so it will advertising again, but it worked only when the advertising address type is fixed such as "Random Static address " and fialed if use "Private Resolvable address" address mode. I don't how to to reenable advertising again in such situation. Please help my problem.

Thanks in advance.

Parents
  • Sorry, I make a mistake , it isn't relative to the Address type is fix or not. I update the manufacture specific data of advertising (call advertising_init()) periodically ( in ble_on_radio_active_evt ) which casue no more adverstinsing after idle timeout but I don't know why ? The LED still blinking but no advertising package been broadcasted , I need press the button then it can broadcase again (I am sure not in shutdown mode becasue the LED still blinking). Any suuestion ?

    Thanks

Reply
  • Sorry, I make a mistake , it isn't relative to the Address type is fix or not. I update the manufacture specific data of advertising (call advertising_init()) periodically ( in ble_on_radio_active_evt ) which casue no more adverstinsing after idle timeout but I don't know why ? The LED still blinking but no advertising package been broadcasted , I need press the button then it can broadcase again (I am sure not in shutdown mode becasue the LED still blinking). Any suuestion ?

    Thanks

Children
No Data
Related