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.
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/BlueNRGGap.cpp
- Revision:
- 212:8b5ff0f0186f
- Parent:
- 203:5b9c78101d45
- Parent:
- 210:08c4c85ca679
- Child:
- 215:e8fa3129410a
diff -r d7cb3b3d0295 -r 8b5ff0f0186f source/BlueNRGGap.cpp --- a/source/BlueNRGGap.cpp Tue Dec 15 12:27:48 2015 +0100 +++ b/source/BlueNRGGap.cpp Thu Jan 14 11:19:43 2016 +0100 @@ -706,7 +706,7 @@ /**************************************************************************/ ble_error_t BlueNRGGap::setAddress(AddressType_t type, const Address_t address) { - if (type > ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE) { + if (type > BLEProtocol::AddressType::RANDOM_PRIVATE_NON_RESOLVABLE) { return BLE_ERROR_PARAM_OUT_OF_RANGE; }