18 bool ICMPPinger::onICMPMessage()
static const uint8_t ICMP_TYPE_ECHOREPLY
ICMP echo reply operation type.
bool loadAll()
Loads the entire ICMP packet into memory.
static EthBuffer packet
in-memory packet buffer currently being processed.
virtual void onPingReply(uint16_t roundtripTime)=0
represents an IP address in memory
void ping(const IPAddress &targetIP)
Send an ICMP Echo request (ping) to the specified target IP address.
static const uint8_t ICMP_TYPE_ECHOREQUEST
ICMP echo request operation type.
void sendICMPPacket(const IPAddress &targetIP, uint16_t dataLength)
Sends an ICMP packet
static const uint8_t ICMP_PING_DATA_LENGTH
size of data to send as part of an echo request