Xbee Arduino
Arduino Driver for Xbee
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1
32#ifndef CONFIG_H
33#define CONFIG_H
34
35#if defined(__cplusplus)
36extern "C"
37{
38#endif
39
40#include "port.h"
41
42// Constants
43#define UART_READ_TIMEOUT_MS 3000
44#define UART_WRITE_TIMEOUT_MS 10
45
46#define API_FRAME_DEBUG_PRINT_ENABLED 0
47#if API_FRAME_DEBUG_PRINT_ENABLED
48#define APIFrameDebugPrint(...) portDebugPrintf(__VA_ARGS__)
49#else
50#define APIFrameDebugPrint(...)
51#endif
52
53#define XBEE_DEBUG_PRINT_ENABLED 0
54#if XBEE_DEBUG_PRINT_ENABLED
55#define XBEEDebugPrintEnabled(...) portDebugPrintf(__VA_ARGS__)
56#else
57#define XBEEDebugPrintEnabled(...)
58#endif
59
60#if defined(__cplusplus)
61}
62#endif
63
64#endif // CONFIG
Platform-specific abstraction layer for hardware interfaces.