Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API nRF51822
Fork of Puck by
Diff: Puck.h
- Revision:
- 13:93d3574e9e36
- Parent:
- 12:8a8cc109f048
diff -r 8a8cc109f048 -r 93d3574e9e36 Puck.h --- a/Puck.h Tue Aug 05 08:34:51 2014 +0000 +++ b/Puck.h Mon Aug 11 09:42:01 2014 +0000 @@ -82,13 +82,12 @@ return _puckSingletonInstance; } - -void onDisconnection(void) { +void onDisconnection(Gap::Handle_t handle) { LOG_INFO("Disconnected.\n"); Puck::getPuck().setState(DISCONNECTED); } -void onConnection(void) { +void onConnection(Gap::Handle_t handle) { LOG_INFO("Connected.\n"); Puck::getPuck().setState(CONNECTED); }