riot_coap_handler_demos::netif

Function netif

Source
pub fn netif() -> impl Handler + Reporting
Expand description

Build a handler that will report a summary of the current GNRC network interfaces in CBOR form

The precise format is subject to change, but currently it produces an array of netifs, each with its process ID, its link-local address, and (if IPv6-enabled) a list of assigned IPv6 addresses.

All MAC and IP addresses are expressed using the appropriate CBOR tags.