ble nano hid over gatt

Dependencies:   BLE_API mbed-dev nRF51822

Revision:
83:2e940d154f8b
Parent:
82:af52d37b1946
Child:
86:e0fab77e669d
--- a/KeyboardService.h	Sat Sep 03 23:16:07 2016 +0900
+++ b/KeyboardService.h	Sun Sep 04 01:12:45 2016 +0900
@@ -134,14 +134,16 @@
 			outputReportLength  = sizeof(outputReportData),
 			featureReportLength = sizeof(featureReportData)
 		),
-		bootKeyboardInputReportCharacteristic(GattCharacteristic::UUID_BOOT_KEYBOARD_INPUT_REPORT_CHAR,
+		bootKeyboardInputReportCharacteristic(
+			GattCharacteristic::UUID_BOOT_KEYBOARD_INPUT_REPORT_CHAR,
 			(uint8_t *)inputReport, inputReportLength, inputReportLength,
 			  GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ
 			| GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY
 			| GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_WRITE
 		),
 
-		bootKeyboardOutputReportCharacteristic(GattCharacteristic::UUID_BOOT_KEYBOARD_OUTPUT_REPORT_CHAR,
+		bootKeyboardOutputReportCharacteristic(
+			GattCharacteristic::UUID_BOOT_KEYBOARD_OUTPUT_REPORT_CHAR,
 			(uint8_t *)outputReport, outputReportLength, outputReportLength,
 			  GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ
 			| GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_WRITE_WITHOUT_RESPONSE