stm32duino / STM32Ethernet

Arduino library to support Ethernet for STM32 based board
156 stars 43 forks source link

Ethernet.linkStatus() #19

Closed sstaub closed 5 years ago

sstaub commented 5 years ago

Can you add an Ethernet.linkStatus() function? This will helpful handling connection timeouts. The function is described at https://www.arduino.cc/en/Reference/EthernetLinkStatus

fpistm commented 5 years ago

I will have to check if possible.

sstaub commented 5 years ago

There is a similar functionality in mbed, get_connection_status(), maybe that helps https://os.mbed.com/docs/mbed-os/v5.11/mbed-os-api-doxy/class_network_interface.html#ad7d73134d58bfb2a0eabb5228b1332eb