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
* Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
19
#ifndef GNRC_NETIF_NRF24L01P_NG_H
20
#define GNRC_NETIF_NRF24L01P_NG_H
21
22
#include "
net/gnrc/netif.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
#ifndef NRF24L01P_NG_UPPER_LAYER_PROTOCOL
29
#if IS_USED(MODULE_GNRC_SIXLOWPAN)
30
#define NRF24L01P_NG_UPPER_LAYER_PROTOCOL (GNRC_NETTYPE_SIXLOWPAN)
31
#else
35
#define NRF24L01P_NG_UPPER_LAYER_PROTOCOL (GNRC_NETTYPE_UNDEF)
36
#endif
37
#endif
38
54
int
gnrc_netif_nrf24l01p_ng_create
(
gnrc_netif_t
*netif,
char
*stack,
55
int
stacksize,
char
priority,
char
*name,
56
netdev_t
*dev);
57
58
#ifdef __cplusplus
59
}
60
#endif
61
62
#endif
/* GNRC_NETIF_NRF24L01P_NG_H */
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.
gnrc_netif_t
Representation of a network interface.
Definition
netif.h:135
netdev
Structure to hold driver state.
Definition
netdev.h:365
Generated on Sat Nov 23 2024 01:58:07 by
1.9.8