测试发现2H以后GW不在上报数据
没有LOG
暴力复位吧 后面再看LOG
暴力
case BLE_NUS_C_EVT_DISCONNECTED:
NRF_LOG_INFO("[BLE] Disconnected");
//p_ble_nus_c->conn_handle = BLE_CONN_HANDLE_INVALID;
p_ble_nus_c->handles.nus_tx_cccd_handle = BLE_GATT_HANDLE_INVALID;
p_ble_nus_c->handles.nus_tx_handle = BLE_GATT_HANDLE_INVALID;
p_ble_nus_c->handles.nus_rx_handle = BLE_GATT_HANDLE_INVALID;
p_ble_nus_c->handles.user_desc_handle = BLE_GATT_HANDLE_INVALID;
p_ble_nus_c->handles.nus_code_handle = BLE_GATT_HANDLE_INVALID;
p_ble_nus_c->handles.nus_code_cccd_handle= BLE_GATT_HANDLE_INVALID;
NVIC_SystemReset();