ble nano hid over gatt

Dependencies:   BLE_API mbed-dev nRF51822

Revision:
25:094df0d9e95b
Parent:
24:a4dbde033def
Child:
26:78ee13f69ec3
--- a/HIDController_BLE.cpp	Mon Aug 22 17:37:20 2016 +0000
+++ b/HIDController_BLE.cpp	Mon Aug 22 17:40:43 2016 +0000
@@ -76,13 +76,13 @@
 
 
 static void onConnect(const Gap::ConnectionCallbackParams_t *params) {
-	/*
+	
 	printf("onConnect: ");
 	for (unsigned i = 0; i < Gap::ADDR_LEN; i++) {
 		printf("%02x", params->peerAddr[i]);
 	}
 	printf("\r\n");
-	*/
+	
     peerAddress.type = params->peerAddrType;
     memcpy(peerAddress.address, params->peerAddr, Gap::ADDR_LEN);
 }