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: nrf51-sdk
Dependents: microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more
Diff: btle/btle.cpp
- Revision:
- 179:10e4c13360d9
- Parent:
- 167:66ee4f876396
- Child:
- 191:f403e1eb3dd5
diff -r 3b34428e80ea -r 10e4c13360d9 btle/btle.cpp
--- a/btle/btle.cpp Mon May 18 09:53:05 2015 +0100
+++ b/btle/btle.cpp Mon Jun 08 10:43:29 2015 +0100
@@ -113,8 +113,8 @@
const ble_gap_addr_t *peer = &p_ble_evt->evt.gap_evt.params.connected.peer_addr;
const ble_gap_addr_t *own = &p_ble_evt->evt.gap_evt.params.connected.own_addr;
nRF51Gap::getInstance().processConnectionEvent(handle,
- static_cast<Gap::addr_type_t>(peer->addr_type), peer->addr,
- static_cast<Gap::addr_type_t>(own->addr_type), own->addr,
+ static_cast<Gap::AddressType_t>(peer->addr_type), peer->addr,
+ static_cast<Gap::AddressType_t>(own->addr_type), own->addr,
params);
break;
}