Update for latest nRF51822 code changes.
Dependencies: BLE_API nRF51822
Fork of Puck by
Revision 13:93d3574e9e36, committed 2014-08-11
- Comitter:
- aleksanb
- Date:
- Mon Aug 11 09:42:01 2014 +0000
- Parent:
- 12:8a8cc109f048
- Child:
- 14:9eda2d99fc1d
- Commit message:
- Upgrade to newest BLE_API and nRF library.
Changed in this revision
--- a/BLE_API.lib Tue Aug 05 08:34:51 2014 +0000 +++ b/BLE_API.lib Mon Aug 11 09:42:01 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#8890715aaf55 +http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#189ff241dae1
--- 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); }
--- a/nRF51822.lib Tue Aug 05 08:34:51 2014 +0000 +++ b/nRF51822.lib Mon Aug 11 09:42:01 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#bd0186ce644a +http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#1e5c300cec7f