Ethernet library for PMC

Hi guys,

What ethernet library should I be using for the PMC? Can't find the info anywhere.

Thanks
Rfsysint

The Ethernet library is bundled with the Portenta boards package. PortentaEthernet.h

I can't establish a connection using ethernet. The if block never goes through the LinkON statement. Even when copy and pasting an ethernet tutorial from the PMC manual. Moreover the PortentaEthernet.h class just seems to be a wrapper for Ethernet.h. Is my board faulty? I'm trying to connect through my laptop.

making a direct connection work is harder than connecting to a switch/router

I need to use static IP's >_>

Hi @rfsysint ,

You can consult the communication section in the Portenta Machine Control User Manual: https://docs.arduino.cc/tutorials/portenta-machine-control/user-manual/#ethernet.

On the other hand, the attached code can be used to set a fixed IP address and check it in the serial monitor.
Ethernet Static_IP_ H7.ino (1,0 Ko)

Best,