Hi,
I use nRF51822.
Is it possible to change a beacon timing of the advertiser by a trigger of the acceleration sensor in the advertising mode?
Thank you for any helps.
Hi,
I use nRF51822.
Is it possible to change a beacon timing of the advertiser by a trigger of the acceleration sensor in the advertising mode?
Thank you for any helps.
Yes. When you want to change the timing, call sd_ble_gap_adv_stop() then call sd_ble_gap_adv_start() with new parameters with the advertising interval you want.
Thank you for your answer. And I'm sorry, my reply was late.
I looked over through NORDIC DEVELOPER ZONE. But I didn't understand how to make a sample code, because I never make a sample code.
If you are possible, would you please teach a sample code with sd_ble_gap_adv_stop() and sd_ble_gap_adv_start()?
Thank you for any helps.