[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: support of NETOPT_LINK_CONNECTED in esp_eth_netdev (#10760)

Gunar Schorcht 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:

  https://github.com/RIOT-OS/RIOT/pull/10760

-- 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 --

https://github.com/RIOT-OS/RIOT/pull/10760.patch
https://github.com/RIOT-OS/RIOT/pull/10760.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10760
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190113/21a58e68/attachment.html>


More information about the notifications mailing list