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?
If sd_ble_gap_adv_stop() returns NRF_ERROR_INVALID_STATE then you are not advertising when you call it.
and if the device reconnects after disconnecting it it's because the device is set to reconnect after it's been disconnected, what's the device?
Ok, the devices are a PC, an iOS phone and an Android phone. Is there a way to turn BLE OFF totally, so that the radio doesn't wake up. Ole Bauck wrote that
NRF_RADIO->TASK_DISABLE = 1
does nothing because of the use of softdevice
Ok, the devices are a PC, an iOS phone and an Android phone. Is there a way to turn BLE OFF totally, so that the radio doesn't wake up. Ole Bauck wrote that
NRF_RADIO->TASK_DISABLE = 1
does nothing because of the use of softdevice