Address types
C
#define BLE_GAP_ADDR_TYPE_PUBLIC 0x00 #define BLE_GAP_ADDR_TYPE_RANDOM_STATIC 0x01 #define BLE_GAP_ADDR_TYPE_RANDOM_RESOLVABLE 0x02 #define BLE_GAP_ADDR_TYPE_RANDOM_NON_RESOLVABLE 0x03
Description
Defines the different types of BLE device addresses.
Macro Definition
Macro | Description |
---|---|
BLE_GAP_ADDR_TYPE_PUBLIC | Public device address, which is a globally unique and permanent address assigned to the device. |
BLE_GAP_ADDR_TYPE_RANDOM_STATIC | Static random device address, which is a randomly generated address. |
BLE_GAP_ADDR_TYPE_RANDOM_RESOLVABLE | Private resolvable random device address, which can be resolved by devices with the appropriate key. |
BLE_GAP_ADDR_TYPE_RANDOM_NON_RESOLVABLE | Private non-resolvable random device address, which cannot be resolved. |