|
| 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) |
|
|
virtual int | SendPacket (const char *data, int64_t size, std::string addr, uint16_t port)=0 |
|
Definition at line 11 of file WakeOnLan.h.
◆ CWakeOnLan()
CWakeOnLan::CWakeOnLan |
( |
const std::string & |
szBroadcastAddress = "255.255.255.255" | ) |
|
◆ GenerateMagicPacket()
void CWakeOnLan::GenerateMagicPacket |
( |
uint8_t *& |
pMagicPacket, |
|
|
size_t & |
sizeOfMagicPacket, |
|
|
uint8_t * |
pMacAddress, |
|
|
size_t |
sizeOfMacAddress |
|
) |
| |
◆ GenerateSecureMagicPacket()
void CWakeOnLan::GenerateSecureMagicPacket |
( |
uint8_t *& |
pMagicPacket, |
|
|
size_t & |
sizeOfMagicPacket, |
|
|
uint8_t * |
pMacAddress, |
|
|
size_t |
sizeOfMacAddress, |
|
|
uint8_t * |
pSecureOn, |
|
|
size_t |
sizeOfSecureOn |
|
) |
| |
◆ SendMagicPacket() [1/3]
bool CWakeOnLan::SendMagicPacket |
( |
const char * |
pszMacAddress, |
|
|
uint16_t |
portNum = 9 |
|
) |
| |
◆ SendMagicPacket() [2/3]
bool CWakeOnLan::SendMagicPacket |
( |
const std::string & |
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 66 of file WakeOnLan.cpp.
◆ SendMagicPacket() [3/3]
bool CWakeOnLan::SendMagicPacket |
( |
uint8_t * |
pMacAddress, |
|
|
size_t |
sizeOfMacAddress, |
|
|
uint16_t |
portNum = 9 |
|
) |
| |
◆ SendSecureMagicPacket() [1/3]
bool CWakeOnLan::SendSecureMagicPacket |
( |
const char * |
pszMacAddress, |
|
|
const char * |
pszPassword, |
|
|
uint16_t |
portNum = 9 |
|
) |
| |
◆ SendSecureMagicPacket() [2/3]
bool CWakeOnLan::SendSecureMagicPacket |
( |
const std::string & |
szMac, |
|
|
const std::string |
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 | Hexadecimal characters of password |
portNum | |
- Returns
Definition at line 70 of file WakeOnLan.cpp.
◆ SendSecureMagicPacket() [3/3]
bool CWakeOnLan::SendSecureMagicPacket |
( |
uint8_t * |
pMacAddress, |
|
|
size_t |
sizeOfMacAddress, |
|
|
uint8_t * |
pszPassword, |
|
|
size_t |
nPasswordSize, |
|
|
uint16_t |
portNum = 9 |
|
) |
| |
◆ SetBroadcastAddress() [1/2]
void CWakeOnLan::SetBroadcastAddress |
( |
const std::string & |
szBroadcastAddress = "255.255.255.255" | ) |
|
◆ SetBroadcastAddress() [2/2]
std::string CWakeOnLan::SetBroadcastAddress |
( |
const std::string & |
szIP, |
|
|
const std::string & |
szMask |
|
) |
| |
◆ StringToArray()
bool CWakeOnLan::StringToArray |
( |
uint8_t * |
mac, |
|
|
const char * |
szMac |
|
) |
| |
◆ m_szBroadcastAddress
std::string CWakeOnLan::m_szBroadcastAddress |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/WakeOnLan/WakeOnLan.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/WakeOnLan/WakeOnLan.cpp