Loading...
Searching...
No Matches
syscfg_uwb.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2020 Inria
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 DPL_SYSCFG_SYSCFG_UWB_H
22#define DPL_SYSCFG_SYSCFG_UWB_H
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
31#ifndef MYNEWT_VAL_UWB_DEV_TASK_PRIO
32#define MYNEWT_VAL_UWB_DEV_TASK_PRIO (THREAD_PRIORITY_MAIN - 5)
33#endif
34
38#ifndef MYNEWT_VAL_UWB_DEV_TASK_STACK_SZ
39#define MYNEWT_VAL_UWB_DEV_TASK_STACK_SZ (1024)
40#endif
41
45#ifndef MYNEWT_VAL_UWB_RX_BUFFER_SIZE
46#define MYNEWT_VAL_UWB_RX_BUFFER_SIZE (1024)
47#endif
48
52#ifndef MYNEWT_VAL_UWB_PKG_INIT_LOG
53#define MYNEWT_VAL_UWB_PKG_INIT_LOG (0)
54#endif
55
59#ifndef MYNEWT_VAL_UWB_DEV_RXDIAG_MAXLEN
60#define MYNEWT_VAL_UWB_DEV_RXDIAG_MAXLEN (20)
61#endif
62
69#ifndef MYNEWT_VAL_UWB_DEVICE_0
70#define MYNEWT_VAL_UWB_DEVICE_0 (1)
71#endif
72
79#ifndef MYNEWT_VAL_UWB_DEVICE_MAX
80#define MYNEWT_VAL_UWB_DEVICE_MAX (3)
81#endif
82
87#ifndef MYNEWT_VAL_UWB_STS_TS_MATCH_THRESHOLD
88#define MYNEWT_VAL_UWB_STS_TS_MATCH_THRESHOLD (30)
89#endif
90
94#ifndef MYNEWT_VAL_LOCAL_COORDINATE_X
95#define MYNEWT_VAL_LOCAL_COORDINATE_X (((float)0.0f))
96#endif
97
101#ifndef MYNEWT_VAL_LOCAL_COORDINATE_Y
102#define MYNEWT_VAL_LOCAL_COORDINATE_Y (((float)0.0f))
103#endif
104
108#ifndef MYNEWT_VAL_LOCAL_COORDINATE_Z
109#define MYNEWT_VAL_LOCAL_COORDINATE_Z (((float)0.0f))
110#endif
111
115#ifndef MYNEWT_VAL_RANGE_VARIANCE
116#define MYNEWT_VAL_RANGE_VARIANCE (((float)5.4444e-04))
117#endif
118
122#ifndef MYNEWT_VAL_AZIMUTH_VARIANCE
123#define MYNEWT_VAL_AZIMUTH_VARIANCE (((float)2.91e-2))
124#endif
125
129#ifndef MYNEWT_VAL_OS_LATENCY
130#define MYNEWT_VAL_OS_LATENCY (((uint32_t)800))
131#endif
132
136#ifndef MYNEWT_VAL_PANID
137#define MYNEWT_VAL_PANID (((const uint16_t)0xdeca))
138#endif
139
140#ifdef __cplusplus
141}
142#endif
143
144#endif /* DPL_SYSCFG_SYSCFG_UWB_H */