|
| CWakeOnLanQt (const QString &szBroadcastAddress="255.255.255.255", QObject *parent=nullptr) |
|
void | SetBroadcastAddress (const QString &szBroadcastAddress="255.255.255.255") |
|
QString | SetBroadcastAddress (const QString &szIP, const QString &szMask) |
|
bool | SendMagicPacket (const QString &szMac, uint16_t portNum=9) |
| SendMagicPacket.
|
|
bool | SendSecureMagicPacket (const QString &szMac, const QString &szPassword, uint16_t portNum=9) |
| SendSecureMagicPacket.
|
|
|
virtual int | SendPacket (const char *data, int64_t size, std::string addr, uint16_t port) override |
|
| CWakeOnLan (const std::string &szBroadcastAddress="255.255.255.255") |
|
void | SetBroadcastAddress (const std::string &szBroadcastAddress="255.255.255.255") |
|
std::string | SetBroadcastAddress (const std::string &szIP, const std::string &szMask) |
|
bool | StringToArray (uint8_t *mac, const char *szMac) |
|
bool | SendMagicPacket (const std::string &szMac, uint16_t portNum=9) |
| SendMagicPacket.
|
|
bool | SendSecureMagicPacket (const std::string &szMac, const std::string szPassword, uint16_t portNum=9) |
| SendSecureMagicPacket.
|
|
bool | SendMagicPacket (const char *pszMacAddress, uint16_t portNum=9) |
|
bool | SendSecureMagicPacket (const char *pszMacAddress, const char *pszPassword, uint16_t portNum=9) |
|
bool | SendMagicPacket (uint8_t *pMacAddress, size_t sizeOfMacAddress, uint16_t portNum=9) |
|
bool | SendSecureMagicPacket (uint8_t *pMacAddress, size_t sizeOfMacAddress, uint8_t *pszPassword, size_t nPasswordSize, uint16_t portNum=9) |
|
void | GenerateMagicPacket (uint8_t *&pMagicPacket, size_t &sizeOfMagicPacket, uint8_t *pMacAddress, size_t sizeOfMacAddress) |
|
void | GenerateSecureMagicPacket (uint8_t *&pMagicPacket, size_t &sizeOfMagicPacket, uint8_t *pMacAddress, size_t sizeOfMacAddress, uint8_t *pSecureOn, size_t sizeOfSecureOn) |
|
Definition at line 10 of file WakeOnLanQt.h.
◆ SendMagicPacket()
bool CWakeOnLanQt::SendMagicPacket |
( |
const QString & |
szMac, |
|
|
uint16_t |
portNum = 9 |
|
) |
| |
SendMagicPacket.
- Parameters
-
szMac | the MAC address of wake on lan device. the format: Hexadecimal characters. eg: FF:FF:FF:FF:FF:FF |
portNum | 9 or 7. the default is 9. |
- Returns
Definition at line 25 of file WakeOnLanQt.cpp.
◆ SendPacket()
int CWakeOnLanQt::SendPacket |
( |
const char * |
data, |
|
|
int64_t |
size, |
|
|
std::string |
addr, |
|
|
uint16_t |
port |
|
) |
| |
|
overrideprotectedvirtual |
◆ SendSecureMagicPacket()
bool CWakeOnLanQt::SendSecureMagicPacket |
( |
const QString & |
szMac, |
|
|
const QString & |
szPassword, |
|
|
uint16_t |
portNum = 9 |
|
) |
| |
SendSecureMagicPacket.
- Parameters
-
szMac | the MAC address of wake on lan device. the format: Hexadecimal characters. eg: FF:FF:FF:FF:FF:FF |
szPassword | A password string of length 6. or Hexadecimal representation of 6 bytes |
portNum | default is 9. 9 or 7 |
- Returns
Definition at line 29 of file WakeOnLanQt.cpp.
◆ SetBroadcastAddress() [1/2]
void CWakeOnLanQt::SetBroadcastAddress |
( |
const QString & |
szBroadcastAddress = "255.255.255.255" | ) |
|
◆ SetBroadcastAddress() [2/2]
QString CWakeOnLanQt::SetBroadcastAddress |
( |
const QString & |
szIP, |
|
|
const QString & |
szMask |
|
) |
| |
The documentation for this class was generated from the following files:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/WakeOnLan/WakeOnLanQt.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/WakeOnLan/WakeOnLanQt.cpp