Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
xbee_params.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
3
* 2016 Freie Universität Berlin
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*/
9
10
#pragma once
11
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
31
#ifndef XBEE_PARAM_UART
32
#define XBEE_PARAM_UART (UART_DEV(1))
33
#endif
34
#ifndef XBEE_PARAM_BR
35
#define XBEE_PARAM_BR (9600U)
36
#endif
37
#ifndef XBEE_PARAM_PIN_SLEEP
38
#define XBEE_PARAM_PIN_SLEEP (GPIO_UNDEF)
39
#endif
40
#ifndef XBEE_PARAM_PIN_RESET
41
#define XBEE_PARAM_PIN_RESET (GPIO_UNDEF)
42
#endif
43
44
#ifndef XBEE_PARAMS
45
#define XBEE_PARAMS { .uart = XBEE_PARAM_UART, \
46
.br = XBEE_PARAM_BR, \
47
.pin_sleep = XBEE_PARAM_PIN_SLEEP, \
48
.pin_reset = XBEE_PARAM_PIN_RESET }
49
#endif
55
static
const
xbee_params_t
xbee_params
[] =
56
{
57
XBEE_PARAMS
58
};
59
60
#ifdef __cplusplus
61
}
62
#endif
63
xbee_params_t
Configuration parameters for XBee devices.
Definition:
xbee.h:115
xbee_params
static const xbee_params_t xbee_params[]
XBee configuration.
Definition:
xbee_params.h:55
Generated on Mon Jun 30 2025 14:58:02 by
1.9.1