Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

Address_t Struct Reference

Address_t Struct Reference

BLE address representation. More...

#include <BLEProtocol.h>

Public Member Functions

 Address_t (AddressType_t typeIn, const AddressBytes_t &addressIn)
 Construct an Address_t object with the supplied type and address.
 Address_t (void)
 Empty constructor.

Data Fields

AddressType_t type
 Type of the BLE device address.
AddressBytes_t address
 Value of the device address.

Detailed Description

BLE address representation.

It contains an address-type (AddressType_t) and the address value (AddressBytes_t).

Definition at line 115 of file BLEProtocol.h.


Constructor & Destructor Documentation

Address_t ( AddressType_t  typeIn,
const AddressBytes_t addressIn 
)

Construct an Address_t object with the supplied type and address.

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

Definition at line 125 of file BLEProtocol.h.

Address_t ( void   )

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 139 of file BLEProtocol.h.


Field Documentation

Value of the device address.

Definition at line 149 of file BLEProtocol.h.

Type of the BLE device address.

Definition at line 144 of file BLEProtocol.h.