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 X_NUCLEO_IDB0XA1 mbed
Diff: main.cpp
- Revision:
- 1:e0f4bcce540c
- Parent:
- 0:2e972e7d3f64
- Child:
- 2:c944cfe08e79
diff -r 2e972e7d3f64 -r e0f4bcce540c main.cpp
--- a/main.cpp Thu Jan 07 16:46:51 2016 +0000
+++ b/main.cpp Thu Jan 14 10:58:48 2016 +0000
@@ -142,7 +142,7 @@
}
// Set BT Address
- ble.gap().setAddress(Gap::ADDR_TYPE_PUBLIC, BLE_address_BE);
+ ble.gap().setAddress(BLEProtocol::AddressType::PUBLIC, BLE_address_BE);
ble.gap().onConnection(connectionCallback);
ble.onDisconnection(disconnectionCallback);