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

Stop advertising permanantly in nRF52 SDK15.2

Hi, I am using nRF52 DK with SDK 15.2 and SD132 for my project and use "ble_app_uart" as a reference. In my project, I want to start and stop advertisment manually through UART.

When I received adv_stop command, I use "sd_ble_gap_adv_stop(m_advertising.adv_handle);" to stop advertising. But it's restart advertising from somewhere else.

Even if I put timeout, it automatically restarts advertising. What I want is that it should stop advertising until I run "advertising_start()" again. Please help me how to solve this.

Parents Reply Children
No Data
Related