sys/include/net/gnrc/netif/ieee802154.h

IEEE 802.15.4 adaption for Network interface API.

gnrc_netif_t * gnrc_netif_ieee802154_create(char * stack, int stacksize, char priority, char * name, netdev.h::netdev_t * dev)

Creates an IEEE 802.15.4 network interface.

Parameters

stack:The stack for the network interface’s thread.
stacksize:Size of stack.
priority:Priority for the network interface’s thread.
name:Name for the network interface. May be NULL.
dev:Device for the interface

Return values

  • The network interface on success.
  • NULL, on error.