Mbed OS Reference
Loading...
Searching...
No Matches
whitelist_t::entry_t Struct Reference

BLE address representation. More...

#include <BLETypes.h>

Public Member Functions

 entry_t (peer_address_type_t typeIn, const address_t &addressIn)
 Construct an entry_t object with the supplied type and address. More...
 
 entry_t ()
 Empty constructor. More...
 

Data Fields

peer_address_type_t type
 Type of the peer address. More...
 
address_t address
 Value of the peer address. More...
 

Detailed Description

BLE address representation.

It contains an address-type (peer_address_type_t) and the address value (address_t).

Definition at line 856 of file common/BLETypes.h.

Constructor & Destructor Documentation

◆ entry_t() [1/2]

entry_t ( peer_address_type_t  typeIn,
const address_t addressIn 
)

Construct an entry_t object with the supplied type and address.

Parameters
[in]typeInThe peer address type.
[in]addressInThe peer address.
Postcondition
type is equal to typeIn and address is equal to the content present in addressIn.

Definition at line 866 of file common/BLETypes.h.

◆ entry_t() [2/2]

entry_t ( )

Empty constructor.

Note
The address constructed with the empty constructor is not valid.
Postcondition
type is equal to PUBLIC and the address value is equal to 00:00:00:00:00:00

Definition at line 880 of file common/BLETypes.h.

Field Documentation

◆ type

Type of the peer address.

Definition at line 885 of file common/BLETypes.h.

◆ address

address_t address

Value of the peer address.

Definition at line 890 of file common/BLETypes.h.