Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
nimble_riot.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 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
22
#ifndef NIMBLE_RIOT_H
23
#define NIMBLE_RIOT_H
24
25
#include <stdint.h>
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
36
#ifndef NIMBLE_CONTROLLER_PRIO
37
#define NIMBLE_CONTROLLER_PRIO (0)
38
#endif
39
43
#ifndef NIMBLE_CONTROLLER_STACKSIZE
44
#define NIMBLE_CONTROLLER_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
45
#endif
46
50
#ifndef NIMBLE_HOST_PRIO
51
#define NIMBLE_HOST_PRIO (THREAD_PRIORITY_MAIN - 2)
52
#endif
53
57
#ifndef NIMBLE_HOST_STACKSIZE
58
#define NIMBLE_HOST_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
59
#endif
60
64
extern
uint8_t
nimble_riot_own_addr_type
;
65
69
void
nimble_riot_init
(
void
);
70
71
#ifdef __cplusplus
72
}
73
#endif
74
75
#endif
/* NIMBLE_RIOT_H */
76
nimble_riot_init
void nimble_riot_init(void)
Setup and run NimBLE's controller and host threads.
nimble_riot_own_addr_type
uint8_t nimble_riot_own_addr_type
Export our own address type for later usage.
Generated on Tue Nov 24 2020 19:46:51 by
1.8.17