Hello,
sd_ble_gap_adv_stop()
returns NRF_ERROR_INVALID_STATE
sd_ble_gap_disconnect(m_connx_handle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);
Disconnects the device, but it reconnects in the following seconds.
Any idea?
Hello,
sd_ble_gap_adv_stop()
returns NRF_ERROR_INVALID_STATE
sd_ble_gap_disconnect(m_connx_handle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);
Disconnects the device, but it reconnects in the following seconds.
Any idea?
THe device is NRF52, i'm using softdevice S132. Ok, if I understand well what you've written, once connected, the device doesn't advertise anymore. I have a wrapper which indicates the end of connection. If I do a
sd_ble_gap_adv_stop()
then, the microcontroler resets (due do hard fault I guess).
THe device is NRF52, i'm using softdevice S132. Ok, if I understand well what you've written, once connected, the device doesn't advertise anymore. I have a wrapper which indicates the end of connection. If I do a
sd_ble_gap_adv_stop()
then, the microcontroler resets (due do hard fault I guess).