hello, Starting nRF 52832 (s 132), leaving idle, after 3 minutes, ble_event_id 0x1b will occur, then BLE communication will be impossible. When ble_event_id is 0x1b, how should we deal with it? (ble_evt_t->header.evt_id)
thank you
hello, Starting nRF 52832 (s 132), leaving idle, after 3 minutes, ble_event_id 0x1b will occur, then BLE communication will be impossible. When ble_event_id is 0x1b, how should we deal with it? (ble_evt_t->header.evt_id)
thank you
Hi,
The default advertising time is 180 seconds(3 minutes):
#define APP_ADV_TIMEOUT_IN_SECONDS 180
If you have not connected to a central after 180 seconds, you get the advertising timeout event(BLE_GAP_EVT_TIMEOUT
== 0x1B), and the default behavior after that is that the chip goes into sleep mode to save power.
How to deal with this? Either