[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: support of NETOPT_LINK_CONNECTED in esp_eth_netdev (#10760)
notifications at github.com
Sun Jan 13 13:49:15 CET 2019
### Contribution description
Support for option `NETOPT_LINK_CONNECTED` added to `esp_eth_netdev::_get`.
### Testing procedure
Compile and flash `examples/gnrc_networking` to an ESP32 board with Ethernet interface, e.g.,
USEMODULE="esp_eth" make BOARD=esp32-olimex-evb -C examples/gnrc_networking flash
Use the `ifconfig` command before connecting the cable. In this state you should see something like:
Iface 7 HWaddr: 30:AE:A4:47:4C:CF Link: down
After you have connected the cable and the link is up, this output should change to:
Iface 7 HWaddr: 30:AE:A4:47:4C:CF Link: up
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* cpu/esp32: add NETOPT_LINK_CONNECTED in esp_eth
-- File Changes --
M cpu/esp32/esp-eth/esp_eth_netdev.c (7)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications