nrfble.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017-2018 Freie Universität Berlin
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  */
8 
21 #ifndef NRFBLE_H
22 #define NRFBLE_H
23 
24 #include "net/netdev.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
34 #define NRFBLE_CHAN_MIN (0U)
35 #define NRFBLE_CHAN_MAX (39U)
36 
41 #define NRFBLE_TXPOWER_DEFAULT (0) /* 0dBm */
42 
48 netdev_t *nrfble_setup(void);
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* NRFBLE_H */
55 
nrfble_setup
netdev_t * nrfble_setup(void)
Setup the device driver's data structures.
netdev.h
Definitions low-level network driver interface.
netdev
Structure to hold driver state.
Definition: netdev.h:302