ble nano hid over gatt

Dependencies:   BLE_API mbed-dev nRF51822

Revision:
83:2e940d154f8b
Parent:
80:3beb0293b384
Child:
84:b917922bb5f1
--- a/HIDController_BLE.cpp	Sat Sep 03 23:16:07 2016 +0900
+++ b/HIDController_BLE.cpp	Sun Sep 04 01:12:45 2016 +0900
@@ -22,7 +22,7 @@
     0x00,
 };
 
-static const uint8_t DEVICE_NAME[] = "Keble-dev";
+static const uint8_t DEVICE_NAME[] = "Keble";
 
 static const bool ENABLE_BONDING = true;
 static const bool REQUIRE_MITM = true;
@@ -135,7 +135,7 @@
 	/**< Maximum Connection Interval in 1.25 ms units, see BLE_GAP_CP_LIMITS.*/
 	uint16_t maxConnectionInterval = Gap::MSEC_TO_GAP_DURATION_UNITS(20);
 	/**< Slave Latency in number of connection events, see BLE_GAP_CP_LIMITS.*/
-	uint16_t slaveLatency = 4;
+	uint16_t slaveLatency = 50;
 	/**< Connection Supervision Timeout in 10 ms units, see BLE_GAP_CP_LIMITS.*/ 
 	uint16_t connectionSupervisionTimeout = 32 * 100;
 	Gap::ConnectionParams_t connectionParams = {