m_conn_handle = BLE_CONN_HANDLE_INVALID;break;caseBLE_GAP_EVT_SEC_PARAMS_REQUEST:// Pairing not supportederr_code = sd_ble_gap_sec_params_reply(m_conn_handle, BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP,NULL,NULL); APP_ERROR_CHECK(err_code);break;caseBLE_GATTS_EVT_SYS_ATTR_MISSING:// No ...
ble_enable_params.gatts_enable_params.service_changed =0; error_code = sd_ble_enable(&ble_enable_params); APP_ERROR_CHECK(error_code);/* init leds and pins */gpio_init();#ifdefRBC_MESH_SERIAL/* only want to enable serial interface, and let external host setup the framework */mesh_ac...