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

Keep system alive after BLE advertising time-out and stop advertising in nRF52832

Hi,

I had study all of BLE example code in ".\nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral" directory.

There have two solution after BLE advertising had time-out:

1. execute "ble_advertising_start()" again. --> Start next advertising.

2. execute "sleep_mode_enter()" --> The system will not work.

If I want keep the system alive (ex: keep sensor working and display status on LCD" and disable "BLE advertising".

Would you please give me a suggestion?

Thank you,

Chianglin

Parents Reply
  • Hi,

    Thank you for your answer.

    I use TIMER0 to trigger "battery_level_meas_timeout_handler()" and "linklight_timeout_handler()". but SoftDevice is using TIMER1. How can I make sure which timer is used for SAADC Sample?

    In my program, when on_adv_evt() had been trigger when advertising is time-out, and I didn't "advertising again" or "enter sleep mode". How can keep SAADC sample work?


    Thank you,

Children
Related