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.
Dependents: BLE_Thermometer MAXWSNENV_demo
Diff: MaximGap.cpp
- Revision:
- 1:89048b73bc93
- Parent:
- 0:b562096246b3
- Child:
- 4:07f30e7452c0
--- a/MaximGap.cpp Thu Mar 03 14:13:21 2016 +0000
+++ b/MaximGap.cpp Thu Aug 18 15:42:02 2016 -0500
@@ -201,7 +201,7 @@
ble_error_t MaximGap::setAddress(AddressType_t type, const Address_t address)
{
- if ((type != ADDR_TYPE_PUBLIC) && (type != ADDR_TYPE_RANDOM_STATIC)) {
+ if ((type != BLEProtocol::AddressType::PUBLIC) && (type != BLEProtocol::AddressType::RANDOM_STATIC)) {
return BLE_ERROR_PARAM_OUT_OF_RANGE;
}