connection update handled elsewhere

pull/13052/head
Paul Szczeanek 2020-06-02 10:01:10 +01:00
parent 157c54bfc7
commit 8285ecdefb
1 changed files with 0 additions and 16 deletions

View File

@ -653,22 +653,6 @@ void Gap<EventHandler>::gap_handler(const wsfMsgHdr_t *msg)
#endif // BLE_FEATURE_EXTENDED_ADVERTISING && BLE_ROLE_OBSERVER
#if BLE_ROLE_CENTRAL || BLE_ROLE_PERIPHERAL
case DM_CONN_UPDATE_IND: {
if (!handler) {
break;
}
const hciLeConnUpdateCmplEvt_t *evt = (const hciLeConnUpdateCmplEvt_t *) msg;
handler->on_connection_update_complete(
(hci_error_code_t::type) evt->status,
evt->hdr.param,
evt->connInterval,
evt->connLatency,
evt->supTimeout
);
}
break;
case DM_REM_CONN_PARAM_REQ_IND: {
if (!handler) {
break;