Virgil IoT KIT
|
Virgil IoT Kit device MAC address. More...
#include <VSQMac.h>
Public Member Functions | |
VSQMac () | |
Default MAC address constructor. More... | |
VSQMac (const VSQMac &)=default | |
MAC address copy constructor. More... | |
VSQMac (const VirgilIoTKit::vs_mac_addr_t &mac) | |
Initialize MAC address from VirgilIoTKit::vs_mac_addr_t. More... | |
VSQMac (const QString &mac) | |
Initialize MAC address from QString. More... | |
VSQMac (const quint8 *bytes) | |
Initialize MAC address from bytes array. More... | |
VSQMac (quint8 b0, quint8 b1, quint8 b2, quint8 b3, quint8 b4, quint8 b5) | |
Initialize MAC address by bytes. More... | |
VSQMac & | operator= (const VirgilIoTKit::vs_mac_addr_t &mac) |
Assign MAC address. More... | |
VSQMac & | operator= (const VSQMac &mac) |
Assign MAC address. More... | |
VSQMac & | operator= (const QString &mac) |
Assign MAC address. More... | |
VSQMac & | operator= (const quint8 *bytes) |
Assign MAC address. More... | |
bool | operator== (const VSQMac &mac) const |
Compare MAC addresses. More... | |
QString | description () const |
Describe MAC address. More... | |
bool | equal (const VSQMac &mac) const |
Compare MAC addresses. More... | |
operator VirgilIoTKit::vs_mac_addr_t () const | |
Get current MAC address as vs_mac_addr_t. More... | |
operator const char * () const | |
Get current MAC address as bytes array. More... | |
operator QString () const | |
Get MAC address as string. More... | |
Virgil IoT Kit device MAC address.
|
inline |
Default MAC address constructor.
|
default |
MAC address copy constructor.
|
inline |
Initialize MAC address from VirgilIoTKit::vs_mac_addr_t.
|
inline |
Initialize MAC address from QString.
|
inline |
Initialize MAC address from bytes array.
|
inline |
Initialize MAC address by bytes.
QString VSQMac::description | ( | ) | const |
Describe MAC address.
Call this function to receive text description.
|
inline |
Compare MAC addresses.
mac | MAC address to compare with the current one |
|
inline |
Get current MAC address as bytes array.
|
inline |
Get MAC address as string.
VSQMac::operator VirgilIoTKit::vs_mac_addr_t | ( | ) | const |
Get current MAC address as vs_mac_addr_t.
|
inline |
Assign MAC address.
mac | MAC address as string |
|
inline |
Assign MAC address.
mac | MAC address as bytes array |
|
inline |
Assign MAC address.
mac | MAC address to be copied |
Assign MAC address.
mac | MAC address to be copied |
|
inline |
Compare MAC addresses.
mac | MAC address to be compared with the current one |