16 #include <QDataStream> 58 GnAddr(quint16 mStationTypeStationCountryCode, quint8 *
mid);
126 quint8
mid(
int i)
const {
if(i < 0 || i > 6)
return m_mid[0];
return m_mid[i];}
struct sniff_gnAddr_s sniff_gnAddr_t
The sniff_gnAddr_t structure is the C style of the class.
quint8 mid(int i) const
mid MID specific value field getter.
quint8 manually() const
manually Manually field getter (1 bit).
quint16 m_StationType_StationCountryCode
setMID
quint8 * mid()
mid MID field getter.
e_helper
The e_helper enum is used to help to have sizes.
quint16 MStationTypeCountryCode() const
MStationTypeCountryCode Manually StationType CountryCode field getter.
quint64 extract(uchar *packet)
extract Fill the GnAddr with values contained in the packet.
quint16 stationType_StationCountryCode
QByteArray toHex()
toHex Create a QByteArray containing the hexadecimal format of the GnAddr.
quint16 stationCountryCode() const
stationCountryCode Station Country Code field getter (10 bits).
quint8 stationType() const
stationType Station Type field getter (5 bits).
GnAddr()
GnAddr Default constructor.
The sniff_gnAddr_t structure is the C style of the class.
bool operator==(const GnAddr &g2) const
operator == Overload of the == operator.