MacAddress.h
Go to the documentation of this file.
void setOctets(const Octets &octets)
Set the octets of the MAC address.
Definition: MacAddress.h:74
void getOctets(Octets &octets) const
Get the octets of the MAC address.
Definition: MacAddress.h:66
bool operator==(const MacAddress &other) const
Equality operator.
Definition: MacAddress.h:114
MacAddress()=default
uint8_t & operator[](unsigned index)
Get a reference to the octet at the given index in the MAC address.
MacAddress(const String &s)
Create a MAC address from valid string. e.g. 01:02:03:04:05:06 Separators are optional.
bool operator!=(const MacAddress &other) const
Inequality operator.
Definition: MacAddress.h:122
String toString(char sep=':') const
Return a String representation of the MacAddress.
const uint8_t & operator[](unsigned index) const
Get the octet at the given index in the MAC address.
Definition: MacAddress.h:84