Hi everyone,
I'm driving nuts here.
Im using a Teensy 3.2 with a ENC28J60 Ethernet module, using the UIPEthernet library.
As of now, i can't figure out whats going on.
The module is working correctly. I can ping to it (if i put the ip backwards) and send packets without issues.
As you can see in the picture, im declaring the ip to be 172.24.40.35, but then, if i use Wireshark to see the network traffic, the IP shows as 24.172.35.40.
I dig into the IpAddress.h library and found this:
but i don't know if this has anything to do with my problem.
Can anyone shed some light into this, please?
Library in use: https://github.com/ntruchsess/arduino_uip
Module: https://brainy-bits.com/collections/modules/products/arduino-ethernet-adapter-enc28j60
Thanks!
I'm driving nuts here.
Im using a Teensy 3.2 with a ENC28J60 Ethernet module, using the UIPEthernet library.
As of now, i can't figure out whats going on.
The module is working correctly. I can ping to it (if i put the ip backwards) and send packets without issues.
As you can see in the picture, im declaring the ip to be 172.24.40.35, but then, if i use Wireshark to see the network traffic, the IP shows as 24.172.35.40.
I dig into the IpAddress.h library and found this:
Code:
IPAddress(const uint8_t *address) {
// TODO: use unaligned read on Cortex-M4
_address.bytes[0] = *address++;
_address.bytes[1] = *address++;
_address.bytes[2] = *address++;
_address.bytes[3] = *address++;
}
but i don't know if this has anything to do with my problem.
Can anyone shed some light into this, please?
Library in use: https://github.com/ntruchsess/arduino_uip
Module: https://brainy-bits.com/collections/modules/products/arduino-ethernet-adapter-enc28j60
Thanks!