mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Revert address type changes.
The changes made to BLEProtocol::AddressType was not entirelly backward compatible as BLEProtocol::AddressType split random addresses in three category while the type RANDOM is a superset of these types.pull/6932/head
parent
b845a9dc95
commit
e5d91932fd
|
@ -87,25 +87,7 @@ namespace BLEProtocol {
|
||||||
* on RANDOM instead. Use Gap::getRandomAddressType to retrieve the
|
* on RANDOM instead. Use Gap::getRandomAddressType to retrieve the
|
||||||
* type of the random address.
|
* type of the random address.
|
||||||
*/
|
*/
|
||||||
RANDOM_PRIVATE_NON_RESOLVABLE,
|
RANDOM_PRIVATE_NON_RESOLVABLE
|
||||||
|
|
||||||
/**
|
|
||||||
* Random address.
|
|
||||||
*
|
|
||||||
* Use Gap::getRandomAddressType to retrieve the type of the random
|
|
||||||
* address.
|
|
||||||
*/
|
|
||||||
RANDOM,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A Public address used as a device identity address.
|
|
||||||
*/
|
|
||||||
PUBLIC_IDENTITY,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A Random static address used as a device identity address.
|
|
||||||
*/
|
|
||||||
RANDOM_STATIC_IDENTITY
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -294,9 +294,6 @@ public:
|
||||||
*/
|
*/
|
||||||
enum DeprecatedAddressType_t {
|
enum DeprecatedAddressType_t {
|
||||||
ADDR_TYPE_PUBLIC = BLEProtocol::AddressType::PUBLIC,
|
ADDR_TYPE_PUBLIC = BLEProtocol::AddressType::PUBLIC,
|
||||||
ADDR_TYPE_RANDOM = BLEProtocol::AddressType::RANDOM,
|
|
||||||
ADDR_TYPE_PUBLIC_IDENTITY = BLEProtocol::AddressType::PUBLIC_IDENTITY,
|
|
||||||
ADDR_TYPE_RANDOM_STATIC_IDENTITY = BLEProtocol::AddressType::RANDOM_STATIC_IDENTITY,
|
|
||||||
ADDR_TYPE_RANDOM_STATIC = BLEProtocol::AddressType::RANDOM_STATIC,
|
ADDR_TYPE_RANDOM_STATIC = BLEProtocol::AddressType::RANDOM_STATIC,
|
||||||
ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = BLEProtocol::AddressType::RANDOM_PRIVATE_RESOLVABLE,
|
ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = BLEProtocol::AddressType::RANDOM_PRIVATE_RESOLVABLE,
|
||||||
ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE = BLEProtocol::AddressType::RANDOM_PRIVATE_NON_RESOLVABLE
|
ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE = BLEProtocol::AddressType::RANDOM_PRIVATE_NON_RESOLVABLE
|
||||||
|
|
Loading…
Reference in New Issue