Fork of my MQTTGateway

Dependencies:   mbed-http

XbeeMonitor/XBeeLib/XBeeLib.h

Committer:
vpcola
Date:
2017-04-08
Revision:
0:f1d3878b8dd9

File content as of revision 0:f1d3878b8dd9:

/**
 * Copyright (c) 2015 Digi International Inc.,
 * All rights not expressly granted are reserved.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343
 * =======================================================================
 */

/** @file
 */

#ifndef __XBEE_H_
#define __XBEE_H_

#define XB_LIBRARY_VERSION          0x01010200U
#define XB_MAJOR_VERSION            ((XB_LIBRARY_VERSION >> 24) & 0xFFU)
#define XB_MINOR_VERSION            ((XB_LIBRARY_VERSION >> 16) & 0xFFU)
#define XB_PATCH_LEVEL              ((XB_LIBRARY_VERSION >> 8) & 0xFFU)
#define XB_BUILD_ID                 (XB_LIBRARY_VERSION & 0xFFU)

/**/
#define XB_LIB_BANNER               "\r\n\r\n" "mbed Digi International Inc., XBeeLib v%d.%d.%d" "\r\n", \
                                        XB_MAJOR_VERSION, XB_MINOR_VERSION, XB_PATCH_LEVEL

#define ENABLE_LOGGING
#define ENABLE_ASSERTIONS
#define FRAME_BUFFER_SIZE           4
#define MAX_FRAME_PAYLOAD_LEN       256

#define SYNC_OPS_TIMEOUT_MS         2000

#include "XBeeZB/XBeeZB.h"
#include "IO/IOSampleZB.h"
#include "XBee802/XBee802.h"
#include "IO/IOSample802.h"
#include "XBeeDM/XBeeDM.h"
#include "IO/IOSampleDM.h"
#include "XBee/Addresses.h"
#include "RemoteXBee/RemoteXBee.h"

#endif /* __XBEE_H_ */