Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
address_t Struct Reference
MAC address data type. More...
#include <BLETypes.h>
Inherits ble::byte_array_t< 6 >.
Public Member Functions | |
address_t () | |
Create an invalid mac address, equal to FF:FF:FF:FF:FF:FF. | |
address_t (const uint8_t *input_value) | |
Initialize a data from an array of bytes. | |
uint8_t & | operator[] (uint8_t i) |
Subscript operator to access data content. | |
const uint8_t * | data () const |
Return the pointer to the buffer holding data. | |
uint8_t * | buffer () |
Return the pointer to the buffer holding data. | |
Static Public Member Functions | |
static size_t | size () |
Size in byte of a data. | |
Friends | |
bool | operator== (const byte_array_t &lhs, const byte_array_t &rhs) |
Equal operator between two octet types. | |
bool | operator!= (const byte_array_t &lhs, const byte_array_t &rhs) |
Non equal operator between two octet types. |
Detailed Description
MAC address data type.
Definition at line 364 of file BLETypes.h.
Constructor & Destructor Documentation
address_t | ( | ) |
Create an invalid mac address, equal to FF:FF:FF:FF:FF:FF.
Definition at line 368 of file BLETypes.h.
address_t | ( | const uint8_t * | input_value ) |
Initialize a data from an array of bytes.
- Parameters:
-
[in] input_value value of the data.
Definition at line 377 of file BLETypes.h.
Member Function Documentation
uint8_t* buffer | ( | ) | [inherited] |
Return the pointer to the buffer holding data.
Definition at line 323 of file BLETypes.h.
const uint8_t* data | ( | ) | const [inherited] |
Return the pointer to the buffer holding data.
Definition at line 316 of file BLETypes.h.
uint8_t& operator[] | ( | uint8_t | i ) | [inherited] |
Subscript operator to access data content.
Definition at line 309 of file BLETypes.h.
static size_t size | ( | ) | [static, inherited] |
Size in byte of a data.
Definition at line 330 of file BLETypes.h.
Friends And Related Function Documentation
bool operator!= | ( | const byte_array_t< array_size > & | lhs, |
const byte_array_t< array_size > & | rhs | ||
) | [friend, inherited] |
Non equal operator between two octet types.
Definition at line 302 of file BLETypes.h.
bool operator== | ( | const byte_array_t< array_size > & | lhs, |
const byte_array_t< array_size > & | rhs | ||
) | [friend, inherited] |
Equal operator between two octet types.
Definition at line 295 of file BLETypes.h.
Generated on Tue Jul 12 2022 14:26:56 by
