38 bool isInList(
const uint8_t *mac)
const;
std::array< uint8_t, 6 > MACAddress
Represents a MAC address as an array of 6 bytes.
A class for managing a list of MAC addresses.
bool isInList(const uint8_t *mac) const
Checks if a MAC address is in the list.
bool removeFromList(const uint8_t *mac)
Removes a MAC address from the list.
void addArrayToList(const std::vector< String > &macArray)
Adds multiple MAC addresses from an array to the list.
String getAddressListAsString() const
Returns a string representation of all MAC addresses in the list.
void addToList(const uint8_t *mac)
Adds a MAC address to the list if it is not already present.
void clearList()
Clears all the MAC addresses of the list.