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.
Fork of OmniWheels by
advertising_data_t Struct Reference
Hold advertising data. More...
#include <GapTypes.h>
Public Member Functions | |
advertising_data_t (const uint8_t(&input_value)[31]) | |
Construct advertising data from an array. | |
advertising_data_t (const uint8_t *input_value, size_t len) | |
Construct advertising data from a pointer to a buffer. | |
uint8_t | operator[] (uint8_t i) const |
Subscript operator used to access the content of the advertising data. | |
const uint8_t * | data () const |
Return a pointer to the advertising data buffer. | |
uint8_t | size () const |
Return (fixed) size of advertising data. | |
Friends | |
bool | operator== (const advertising_data_t &lhs, const advertising_data_t &rhs) |
Equal operator between two advertising data. | |
bool | operator!= (const advertising_data_t &lhs, const advertising_data_t &rhs) |
Non equal operator between two advertising data. |
Detailed Description
Hold advertising data.
Definition at line 416 of file GapTypes.h.
Constructor & Destructor Documentation
advertising_data_t | ( | const uint8_t(&) | input_value[31] ) |
Construct advertising data from an array.
- Parameters:
-
input_value Reference to the array containing the advertising data
Definition at line 422 of file GapTypes.h.
advertising_data_t | ( | const uint8_t * | input_value, |
size_t | len | ||
) |
Construct advertising data from a pointer to a buffer.
- Parameters:
-
input_value Pointer to the buffer containing the advertising data. len Length of the buffer.
Definition at line 433 of file GapTypes.h.
Member Function Documentation
const uint8_t* data | ( | ) | const |
Return a pointer to the advertising data buffer.
Definition at line 467 of file GapTypes.h.
uint8_t operator[] | ( | uint8_t | i ) | const |
Subscript operator used to access the content of the advertising data.
Definition at line 460 of file GapTypes.h.
uint8_t size | ( | ) | const |
Return (fixed) size of advertising data.
Definition at line 474 of file GapTypes.h.
Friends And Related Function Documentation
bool operator!= | ( | const advertising_data_t & | lhs, |
const advertising_data_t & | rhs | ||
) | [friend] |
Non equal operator between two advertising data.
Definition at line 451 of file GapTypes.h.
bool operator== | ( | const advertising_data_t & | lhs, |
const advertising_data_t & | rhs | ||
) | [friend] |
Equal operator between two advertising data.
Definition at line 442 of file GapTypes.h.
Generated on Fri Jul 22 2022 04:54:16 by
