Open
Description
hi Guys
The new Ethernet 2.0 library is very different from the old one.
Unfortunately, some functions have been lost.
I have to use Ethernet2.0 and also ICMPPing from BlakeFoster.
So far, he has not responded and in the Arduino forum, no one could help me.
But I am not alone with this problem.
I hope someone can spread a solution or approach that makes it possible to ping from an Arduino.
Here are the error messages:
C:\arduino-1.8.8\portable\sketchbook\libraries\icmp_ping\ICMPPing.cpp: In member function 'Status ICMPPing::sendEchoRequest(const IPAddress&, const ICMPEcho&)':
C:\arduino-1.8.8\portable\sketchbook\libraries\icmp_ping\ICMPPing.cpp:184:11: error: 'class W5100Class' has no member named 'send_data_processing'
W5100.send_data_processing(_socket, serialized, sizeof(ICMPEcho));
^
C:\arduino-1.8.8\portable\sketchbook\libraries\icmp_ping\ICMPPing.cpp: In member function 'void ICMPPing::receiveEchoReply(const ICMPEcho&, const IPAddress&, ICMPEchoReply&)':
C:\arduino-1.8.8\portable\sketchbook\libraries\icmp_ping\ICMPPing.cpp:207:19: error: 'class W5100Class' has no member named 'getRXReceivedSize'
if (W5100.getRXReceivedSize(_socket) < 1)
^
C:\arduino-1.8.8\portable\sketchbook\libraries\icmp_ping\ICMPPing.cpp:219:9: error: 'class W5100Class' has no member named 'read_data'
W5100.read_data(_socket, (uint16_t) buffer, ipHeader, sizeof(ipHeader));
^
C:\arduino-1.8.8\portable\sketchbook\libraries\icmp_ping\ICMPPing.cpp:229:9: error: 'class W5100Class' has no member named 'read_data'
W5100.read_data(_socket, (uint16_t) buffer, serialized, dataLen);
Thank you very much in advance.
orichienal