Hello Everyone
I am working on nRF52840 DK, SDK V-15.0.
How we can stop advertising? Which API is used to stop advertising?
Quick help will be appreciated.
Regards
Raj
Hello Everyone
I am working on nRF52840 DK, SDK V-15.0.
How we can stop advertising? Which API is used to stop advertising?
Quick help will be appreciated.
Regards
Raj
In SDK 15, if you are using a template derived project, you should use the following statement with the parameter to stop advertising:
sd_ble_gap_adv_stop(m_advertising.adv_handle);
In SDK 15, if you are using a template derived project, you should use the following statement with the parameter to stop advertising:
sd_ble_gap_adv_stop(m_advertising.adv_handle);