add BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST

This commit is contained in:
hathach committed 2017-10-09 23:24:14 +07:00
1 parent 9cf9035434
commit 3d1520096e
1 file changed
+6
+6
View File
@@ -212,6 +212,12 @@ void BLEGap::_eventHandler(ble_evt_t* evt)
}
}
break;
case BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST:
// TODO MTU exchange
VERIFY_STATUS( sd_ble_gatts_exchange_mtu_reply(conn_handle, BLE_GATT_ATT_MTU_DEFAULT), );
break;
#endif
default: break;