Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

ZEP - ZigBee Encapsulation Protocol

ZEP - ZigBee Encapsulation Protocol
[NETIFs]

A netif implementing the ZigBee Encapsulation Protocol (ZEP). More...

Functions

err_t zepif_init (struct netif *netif)
 Set up a raw 6LowPAN netif and surround it with input- and output functions for ZEP.

Detailed Description

A netif implementing the ZigBee Encapsulation Protocol (ZEP).

This is used to tunnel 6LowPAN over UDP.

Usage (there must be a default netif before!):

 {.c}
   netif_add(&zep_netif, NULL, NULL, NULL, NULL, zepif_init, tcpip_6lowpan_input);
   netif_create_ip6_linklocal_address(&zep_netif, 1);
   netif_set_up(&zep_netif);
   netif_set_link_up(&zep_netif);

Function Documentation

err_t zepif_init ( struct netif netif )

Set up a raw 6LowPAN netif and surround it with input- and output functions for ZEP.

Definition at line 222 of file lwip_zepif.c.