data type containing a device address and the address type (public or random).
More...
|
bool | is_random () const |
| returns true, if this device address is a random device address.
|
|
bool | is_public () const |
| shortcut for !is_random()
|
|
bool | is_static () const |
| returns true, if the given address is a static device address
|
|
bool | is_private () const |
| returns true, if the given address is not a static device address
|
|
bool | is_resolvable () const |
| returns true, if the given address is private and resolvable
|
|
bool | is_random_resolvable () const |
| returns true, if the address is random and resolvable
|
|
bool | operator== (const device_address &rhs) const |
| returns true, if this device address is the same as the rhs device address
|
|
bool | operator!= (const device_address &rhs) const |
| returns false, if this device address is the same as the rhs device address
|
|
| device_address (const std::initializer_list< std::uint8_t > &initial_values, bool is_random) |
| initialize an address by a initializer list with exactly 6 elements and a flag indicating whether this address is a random address or not.
|
|
| device_address (const std::uint8_t *initial_values, bool is_random) |
| initializing an address by taking 6 bytes from the given start of an array and a flag indicating whether this address is a random address or not.
|
|
bool | operator== (const address &rhs) const |
| returns true, if this address is the same as the rhs address
|
|
bool | operator!= (const address &rhs) const |
| returns false, if this address is the same as the rhs address
|
|
| address () |
| creates the address with all octes beeing zero (00:00:00:00:00:00)
|
|
| address (const std::initializer_list< std::uint8_t > &initial_values) |
| initialize an address by a initializer list with exactly 6 elements
|
|
| address (const std::uint8_t *initial_values) |
| initializing an address by taking 6 bytes from the given start of an array
|
|
std::ostream & | print (std::ostream &) const |
| prints this in a human readable manner
|
|
std::uint8_t | msb () const |
| returns the most significant byte of the address
|
|
bool | operator== (const address &rhs) const |
| returns true, if this address is the same as the rhs address
|
|
bool | operator!= (const address &rhs) const |
| returns false, if this address is the same as the rhs address
|
|
const_iterator | begin () const |
| returns an iterator to the first byte (LSB) of the address
|
|
const_iterator | end () const |
| returns an iterator one behind the last byte of the address
|
|
data type containing a device address and the address type (public or random).
A device address can either be a public or a random device address. To construct one or the othere, use the subtypes public_device_address and random_device_address.