Loading...
Searching...
No Matches

NRF24L01+ (NG) adaptation for Network interface API. More...

Detailed Description

NRF24L01+ (NG) adaptation for Network interface API.

Author
Fabian Hüßler fabia.nosp@m.n.hu.nosp@m.essle.nosp@m.r@ov.nosp@m.gu.de

Definition in file gnrc_netif_nrf24l01p_ng.h.

#include "net/gnrc/netif.h"
+ Include dependency graph for gnrc_netif_nrf24l01p_ng.h:

Go to the source code of this file.

#define NRF24L01P_NG_UPPER_LAYER_PROTOCOL   (GNRC_NETTYPE_UNDEF)
 type of layer 2 payload
 
int gnrc_netif_nrf24l01p_ng_create (gnrc_netif_t *netif, char *stack, int stacksize, char priority, char *name, netdev_t *dev)
 Creates an NRF24L01+ (NG) network interface.
 

Macro Definition Documentation

◆ NRF24L01P_NG_UPPER_LAYER_PROTOCOL

#define NRF24L01P_NG_UPPER_LAYER_PROTOCOL   (GNRC_NETTYPE_UNDEF)

type of layer 2 payload

Definition at line 35 of file gnrc_netif_nrf24l01p_ng.h.

Function Documentation

◆ gnrc_netif_nrf24l01p_ng_create()

int gnrc_netif_nrf24l01p_ng_create ( gnrc_netif_t netif,
char *  stack,
int  stacksize,
char  priority,
char *  name,
netdev_t dev 
)

Creates an NRF24L01+ (NG) network interface.

Parameters
[out]netifThe interface. May not be NULL.
[in]stackThe stack for the network interface's thread
[in]stacksizeSize of stack
[in]priorityPriority for the network interface's thread
[in]nameName for the network interface. May be NULL
[in]devDevice for the interface
See also
gnrc_netif_create()
Returns
0 on success
negative number on error