ble nano hid over gatt
Dependencies: BLE_API mbed-dev nRF51822
Diff: HIDController_BLE.cpp
- Revision:
- 24:a4dbde033def
- Parent:
- 23:b31957ce64e9
- Child:
- 25:094df0d9e95b
--- a/HIDController_BLE.cpp Mon Aug 22 17:34:10 2016 +0000 +++ b/HIDController_BLE.cpp Mon Aug 22 17:37:20 2016 +0000 @@ -144,7 +144,7 @@ /**< Maximum Connection Interval in 1.25 ms units, see BLE_GAP_CP_LIMITS.*/ uint16_t maxConnectionInterval = Gap::MSEC_TO_GAP_DURATION_UNITS(44); /**< Slave Latency in number of connection events, see BLE_GAP_CP_LIMITS.*/ - uint16_t slaveLatency = 0; + uint16_t slaveLatency = 4; /**< Connection Supervision Timeout in 10 ms units, see BLE_GAP_CP_LIMITS.*/ uint16_t connectionSupervisionTimeout = 32 * 100; Gap::ConnectionParams_t connectionParams = {