Hi,
i am working on nRF52832. i am facing a issue of RESET when i call advertise_start() again after advertise duration. in debug it shows fatal error.
Hi,
i am working on nRF52832. i am facing a issue of RESET when i call advertise_start() again after advertise duration. in debug it shows fatal error.
that function is
uint32_t err_code = ble_advertising_start(&m_advertising, BLE_ADV_MODE_FAST);
but this function works first time properly.when i call this again after advertising duration.then it RESET.
harrys said:uint32_t err_code = ble_advertising_start(&m_advertising, BLE_ADV_MODE_FAST);
ble_advertising_start could return NRF_ERROR_INVALID_STATE when it has not been initialized prior to the call to start advertising, or the error code could be propagated from a lower function call.
What do you do in-between the advertising timeout and the call to restart advertising?