Hi,
I want to write Bluetooth ON and OFF functions for the project purpose,
what are all the steps needs to follow while creating ON function and same for OFF function.
Thanks in advance
Kind Regards,
Thiru.
Hi,
I want to write Bluetooth ON and OFF functions for the project purpose,
what are all the steps needs to follow while creating ON function and same for OFF function.
Thanks in advance
Kind Regards,
Thiru.
HI Kenneth,
Thank you for the reply,
sd_ble_gap_disconnect(m_conn_handle, BLE_GAP_EVT_ADV_SET_TERMINATED);
sd_ble_gap_adv_stop(m_advertising.adv_handle);
I have tried both calls, but the bluetooth discovery is not stoped
Need to follow any sequence?
Thank you for the support.
What is the return code for those two calls? Also, it may be that the application is setup in a BLE callback that when the link is disconnected, that the application should start advertisement again, so look for that.
Best regards,
Kenneth
Hi Henry_Chou
I tried lots of time but i am not able to ON and OFF
Receive data via UART data_array[].It get's OFF but not getting ON i don't have Idea