You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Im trying to send some test strings using example sketch provided in the description of the library. I have checked all the mentioned issues, but they all seem to share same thing - static ip. I told that also, while using static ip i cannot neither send single packet to specific adress, neither broadcast. When using DHCP, i can broadcast, but cannot send packet to single adress (packet never arrives).
Tried using code provided in Add ARP cache #351, but that gives error about "no member named 'clientResolveIp'", from what i see those functions are deleted from the latest version, not sure why.
The library was not able to get the destination MAC address correctly, so the computer ignored the UDP packet.
Open the file tcpip.cpp and locate the function void EtherCard::udpPrepare (uint16_t sport, const uint8_t *dip, uint16_t dport) on line 376
Please replace destmacaddr with gwmacaddr
Hello. Im trying to send some test strings using example sketch provided in the description of the library. I have checked all the mentioned issues, but they all seem to share same thing - static ip. I told that also, while using static ip i cannot neither send single packet to specific adress, neither broadcast. When using DHCP, i can broadcast, but cannot send packet to single adress (packet never arrives).
Tried using code provided in Add ARP cache #351, but that gives error about "no member named 'clientResolveIp'", from what i see those functions are deleted from the latest version, not sure why.
Snippets from code i am using:
void loop() // run over and over
{
ether.packetLoop(ether.packetReceive());
}
Tried changing ports, etc, both static and dynamic ip, no luck in any case.
The text was updated successfully, but these errors were encountered: