Library to easily communicate with XBee modules.
Dependencies: DigiLogger
Dependents: WaterLogger XbeeGateway XBee_Cooker ProjetReceiver ... more
You are viewing an older revision! See the latest version
Configuring the library
XBeeLib is configured through config.h file available on the root directory of the library.
Following functionality can be configured:
Logging¶
Enables Logging.
See Debugging the library chapter for more info.
#define ENABLE_LOGGING
Assertions¶
Enables Assertions.
See Debugging the library chapter for more info.
#define ENABLE_ASSERTIONS
Frame Buffer Size¶
Configures the Frame Buffer Size.
See Frame Receive Process chapter for more info.
#define FRAME_BUFFER_SIZE 4
Frame Payload Length¶
Configures the maximum payload length of the received frames.
See Frame Receive Process chapter for more info.
#define MAX_FRAME_PAYLOAD_LEN 128
Synchronous Operations Timeout¶
Configures the default timeout for synchronous operations.
See Synchronous Operations Timeout chapter
#define SYNC_OPS_TIMEOUT_MS 2000