mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Fix resolvable private address identification.
parent
b973a8a490
commit
fb9e0dcbe7
|
|
@ -175,7 +175,7 @@ ble_error_t Gap::getRandomAddressType(
|
||||||
case 0x00:
|
case 0x00:
|
||||||
*type = RandomAddressType_t::NON_RESOLVABLE_PRIVATE;
|
*type = RandomAddressType_t::NON_RESOLVABLE_PRIVATE;
|
||||||
return BLE_ERROR_NONE;
|
return BLE_ERROR_NONE;
|
||||||
case 0x02:
|
case 0x01:
|
||||||
*type = RandomAddressType_t::RESOLVABLE_PRIVATE;
|
*type = RandomAddressType_t::RESOLVABLE_PRIVATE;
|
||||||
return BLE_ERROR_NONE;
|
return BLE_ERROR_NONE;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue