Vergil Cola
/
MQTTGateway2
Fork of my original MQTTGateway
XbeeMonitor/XBeeLib/XBeeLib.h@0:a1734fe1ec4b, 2017-04-08 (annotated)
- Committer:
- vpcola
- Date:
- Sat Apr 08 14:43:14 2017 +0000
- Revision:
- 0:a1734fe1ec4b
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vpcola | 0:a1734fe1ec4b | 1 | /** |
vpcola | 0:a1734fe1ec4b | 2 | * Copyright (c) 2015 Digi International Inc., |
vpcola | 0:a1734fe1ec4b | 3 | * All rights not expressly granted are reserved. |
vpcola | 0:a1734fe1ec4b | 4 | * |
vpcola | 0:a1734fe1ec4b | 5 | * This Source Code Form is subject to the terms of the Mozilla Public |
vpcola | 0:a1734fe1ec4b | 6 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
vpcola | 0:a1734fe1ec4b | 7 | * You can obtain one at http://mozilla.org/MPL/2.0/. |
vpcola | 0:a1734fe1ec4b | 8 | * |
vpcola | 0:a1734fe1ec4b | 9 | * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343 |
vpcola | 0:a1734fe1ec4b | 10 | * ======================================================================= |
vpcola | 0:a1734fe1ec4b | 11 | */ |
vpcola | 0:a1734fe1ec4b | 12 | |
vpcola | 0:a1734fe1ec4b | 13 | /** @file |
vpcola | 0:a1734fe1ec4b | 14 | */ |
vpcola | 0:a1734fe1ec4b | 15 | |
vpcola | 0:a1734fe1ec4b | 16 | #ifndef __XBEE_H_ |
vpcola | 0:a1734fe1ec4b | 17 | #define __XBEE_H_ |
vpcola | 0:a1734fe1ec4b | 18 | |
vpcola | 0:a1734fe1ec4b | 19 | #define XB_LIBRARY_VERSION 0x01010200U |
vpcola | 0:a1734fe1ec4b | 20 | #define XB_MAJOR_VERSION ((XB_LIBRARY_VERSION >> 24) & 0xFFU) |
vpcola | 0:a1734fe1ec4b | 21 | #define XB_MINOR_VERSION ((XB_LIBRARY_VERSION >> 16) & 0xFFU) |
vpcola | 0:a1734fe1ec4b | 22 | #define XB_PATCH_LEVEL ((XB_LIBRARY_VERSION >> 8) & 0xFFU) |
vpcola | 0:a1734fe1ec4b | 23 | #define XB_BUILD_ID (XB_LIBRARY_VERSION & 0xFFU) |
vpcola | 0:a1734fe1ec4b | 24 | |
vpcola | 0:a1734fe1ec4b | 25 | /**/ |
vpcola | 0:a1734fe1ec4b | 26 | #define XB_LIB_BANNER "\r\n\r\n" "mbed Digi International Inc., XBeeLib v%d.%d.%d" "\r\n", \ |
vpcola | 0:a1734fe1ec4b | 27 | XB_MAJOR_VERSION, XB_MINOR_VERSION, XB_PATCH_LEVEL |
vpcola | 0:a1734fe1ec4b | 28 | |
vpcola | 0:a1734fe1ec4b | 29 | #define ENABLE_LOGGING |
vpcola | 0:a1734fe1ec4b | 30 | #define ENABLE_ASSERTIONS |
vpcola | 0:a1734fe1ec4b | 31 | #define FRAME_BUFFER_SIZE 4 |
vpcola | 0:a1734fe1ec4b | 32 | #define MAX_FRAME_PAYLOAD_LEN 256 |
vpcola | 0:a1734fe1ec4b | 33 | |
vpcola | 0:a1734fe1ec4b | 34 | #define SYNC_OPS_TIMEOUT_MS 2000 |
vpcola | 0:a1734fe1ec4b | 35 | |
vpcola | 0:a1734fe1ec4b | 36 | #include "XBeeZB/XBeeZB.h" |
vpcola | 0:a1734fe1ec4b | 37 | #include "IO/IOSampleZB.h" |
vpcola | 0:a1734fe1ec4b | 38 | #include "XBee802/XBee802.h" |
vpcola | 0:a1734fe1ec4b | 39 | #include "IO/IOSample802.h" |
vpcola | 0:a1734fe1ec4b | 40 | #include "XBeeDM/XBeeDM.h" |
vpcola | 0:a1734fe1ec4b | 41 | #include "IO/IOSampleDM.h" |
vpcola | 0:a1734fe1ec4b | 42 | #include "XBee/Addresses.h" |
vpcola | 0:a1734fe1ec4b | 43 | #include "RemoteXBee/RemoteXBee.h" |
vpcola | 0:a1734fe1ec4b | 44 | |
vpcola | 0:a1734fe1ec4b | 45 | #endif /* __XBEE_H_ */ |