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:   Seeed_Tiny_BLE_FTHR_Peripheral

Fork of BLE_HID by Jean-Philippe Brucker

Revision:
2:3d9adb26bdc5
Parent:
1:7a6c2e2c9371
--- 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);