Hiroh Satoh / keyboard Featured

Dependencies:   BLE_API mbed-dev nRF51822

HIDController_BLE.h

Committer:
cho45
Date:
2016-08-23
Revision:
28:1f843a3daab0
Parent:
27:7370b8994603
Child:
29:ec548c473d50

File content as of revision 28:1f843a3daab0:


enum Status_t {
	DISCONNECTED,
	CONNECTING,
	CONNECTED,
} ;


class HIDController {
public:
	static void init();
	static void waitForEvent();
	static bool connected();
	static Status_t status();
	static void appendReportData(uint8_t key);
	static void deleteReportData(uint8_t key);
	static void queueCurrentReportData();
};