HID-over-GATT implementation with the BLE API. This library allows to create devices such as mouse, keyboard or joystick, over Bluetooth Low Energy.

Dependents:   BLENano_HID BLE_HID_MouseScrollDemo BLE_HID_KeyboardStreamDemo Shervs_TestKeyboard_TinyBLE ... more

The development repository is currently hosted on github. It contains examples and documentation. This is a snapshot of the library. The documentation can be read on github, or on docs.mbed.com.

Revision:
2:3d9adb26bdc5
Parent:
1:7a6c2e2c9371
diff -r 7a6c2e2c9371 -r 3d9adb26bdc5 MouseService.h
--- a/MouseService.h	Wed Oct 07 11:29:52 2015 +0100
+++ b/MouseService.h	Thu Oct 29 16:48:26 2015 +0000
@@ -120,13 +120,13 @@
         startReportTicker();
     }
 
-    void onConnection(const Gap::ConnectionCallbackParams_t *params)
+    virtual void onConnection(const Gap::ConnectionCallbackParams_t *params)
     {
         HIDServiceBase::onConnection(params);
         startReportTicker();
     }
 
-    void onDisconnection(const Gap::DisconnectionCallbackParams_t *params)
+    virtual void onDisconnection(const Gap::DisconnectionCallbackParams_t *params)
     {
         stopReportTicker();
         HIDServiceBase::onDisconnection(params);