Ethernet API/protocol information
-
Hi,
I'm looking for information about the protocol/API to use to connect and talk to an Ehernet gateway. Although there is plenty of information around about the serial protocol, Ethernet protocol seems to be shrouded in mystery.
How to connect to the gateway (UDP, TCP, ...), how to keep the connection alive, is the serial API somehow embedded into a network stream ....
Stefaan
-
The network connection works just like a serial (but over ip).
So you can test it by using a command like netcat.
# TCP netcat <gw ip> <port> # UDP netcat -u <gw ip> <port>