Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
gnrc_netif_nrf24l01p_ng.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2019 Otto-von-Guericke-Universität Magdeburg
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
19
20
#include "
net/gnrc/netif.h
"
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
#ifndef NRF24L01P_NG_UPPER_LAYER_PROTOCOL
27
#if IS_USED(MODULE_GNRC_SIXLOWPAN)
28
#define NRF24L01P_NG_UPPER_LAYER_PROTOCOL (GNRC_NETTYPE_SIXLOWPAN)
29
#else
33
#define NRF24L01P_NG_UPPER_LAYER_PROTOCOL (GNRC_NETTYPE_UNDEF)
34
#endif
35
#endif
36
52
int
gnrc_netif_nrf24l01p_ng_create
(
gnrc_netif_t
*netif,
char
*stack,
53
int
stacksize,
char
priority,
char
*name,
54
netdev_t
*dev);
55
56
#ifdef __cplusplus
57
}
58
#endif
59
netif.h
Definition for GNRC's network interfaces.
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.
netdev_t
struct netdev netdev_t
Forward declaration for netdev struct.
Definition
netdev.h:285
gnrc_netif_t
Representation of a network interface.
Definition
netif.h:132
Generated on Fri May 1 2026 15:22:59 by
1.13.2