Skip to main content

Ethernet

{{@264#bkmrk-open-iot-and-iiot-ga}}

Link to repositories:

  • C (#TODO)
  • MicroPython (#TODO)

EthernetThis connectionexample isallows associatedyou withto allocatingcheck anthe uniqueGateway's IP addressaddress. which will identifyConnect the device invia aUSB/UART network.converter Depending on the purpose, it might be necessary toand choose betweencorrect allocatingCOM/ttyUSB aport. dynamic or a static IP address. For developer usage, there are both examples provided.

Remember to connect the IoT Gateway to the network byusing an Ethernet cable. Type in terminal "ipconfig". If your network connection works properly, IP address will be displayed as below:

IP adressing:

  • dynamic - There is no need to do any modifications. Just flash into device. Blinking green LED indicates communication. Open serial port monitor to see logs.

image.png

(...)

  • static - In this example it is important to set network settings manually. Flash into device. Blinking green LED indicates communication. Open serial port monitor to see logs.

Parameters to be changed:

  • DEFAULT_IP (IP address)
  • DEFAULT_GW (Gateway address)
  • DEFAULT_NM (Network mask)

(...)