Hiroh Satoh / keyboard Featured

Dependencies:   BLE_API mbed-dev nRF51822

Revision:
27:7370b8994603
Parent:
20:d8840ac38434
Child:
28:1f843a3daab0
--- a/HIDController_BLE.h	Mon Aug 22 22:50:25 2016 +0000
+++ b/HIDController_BLE.h	Mon Aug 22 23:14:42 2016 +0000
@@ -1,8 +1,17 @@
+
+enum Status_t {
+	DISCONNECTED,
+	CONNECTING,
+	CONNECTED,
+} ;
+
+
 class HIDController {
 public:
 	static void init();
 	static void waitForEvent();
 	static bool connected();
+	static Status_t HIDController::status();
 	static void appendReportData(uint8_t key);
 	static void deleteReportData(uint8_t key);
 	static void queueCurrentReportData();