Transmit temperature data via BLE
Dependencies: BLE_API mbed nRF51822
Revision 2:580d838ba0cb, committed 2015-10-08
- Comitter:
- wgd8700
- Date:
- Thu Oct 08 07:56:24 2015 +0000
- Parent:
- 1:d64b82b9d615
- Commit message:
- Fix disconnectionCallback parameter conflict
Changed in this revision
diff -r d64b82b9d615 -r 580d838ba0cb BLE_API.lib --- a/BLE_API.lib Fri Aug 14 10:57:32 2015 +0000 +++ b/BLE_API.lib Thu Oct 08 07:56:24 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#8d316a3271a8 +http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#d494ad3e87bd
diff -r d64b82b9d615 -r 580d838ba0cb main.cpp --- a/main.cpp Fri Aug 14 10:57:32 2015 +0000 +++ b/main.cpp Thu Oct 08 07:56:24 2015 +0000 @@ -18,7 +18,7 @@ static volatile bool triggerSensorPolling = false; -void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason) +void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params) { ble.startAdvertising(); // restart advertising }
diff -r d64b82b9d615 -r 580d838ba0cb mbed.bld --- a/mbed.bld Fri Aug 14 10:57:32 2015 +0000 +++ b/mbed.bld Thu Oct 08 07:56:24 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/b9ad9a133dc7 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/34e6b704fe68 \ No newline at end of file
diff -r d64b82b9d615 -r 580d838ba0cb nRF51822.lib --- a/nRF51822.lib Fri Aug 14 10:57:32 2015 +0000 +++ b/nRF51822.lib Thu Oct 08 07:56:24 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#ca9c9c2cfc6a +http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#088f5738bf18