This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

S112 advertisement after disconnect

Hi,

How does disconnect work in S112?  

In the ble_template project, I did not find anything in DISCONNECT event.

static void ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context)
{
ret_code_t err_code = NRF_SUCCESS;

switch (p_ble_evt->header.evt_id)
{
case BLE_GAP_EVT_DISCONNECTED:
NRF_LOG_INFO("Disconnected.");
// LED indication will be changed when advertising starts.
break;

....

Then how does the device start advertising again? 

Parents Reply Children
Related