Fork of my MQTTGateway

Dependencies:   mbed-http

Committer:
vpcola
Date:
Sat Apr 08 14:45:51 2017 +0000
Revision:
0:f1d3878b8dd9
Initial commit

Who changed what in which revision?

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