Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of XBeeLib by
XBeeLib.h@0:fcaad0dfa051, 2015-05-08 (annotated)
- Committer:
- spastor
- Date:
- Fri May 08 11:50:56 2015 +0200
- Revision:
- 0:fcaad0dfa051
- Child:
- 3:8662ebe83570
Automatic upload
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
spastor | 0:fcaad0dfa051 | 1 | /** |
spastor | 0:fcaad0dfa051 | 2 | * Digi XBee library for mbed. This is the only header you have to include from your application to use the library. |
spastor | 0:fcaad0dfa051 | 3 | * |
spastor | 0:fcaad0dfa051 | 4 | * Copyright (c) 2015 Digi International Inc., |
spastor | 0:fcaad0dfa051 | 5 | * All rights not expressly granted are reserved. |
spastor | 0:fcaad0dfa051 | 6 | * |
spastor | 0:fcaad0dfa051 | 7 | * This Source Code Form is subject to the terms of the Mozilla Public |
spastor | 0:fcaad0dfa051 | 8 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
spastor | 0:fcaad0dfa051 | 9 | * You can obtain one at http://mozilla.org/MPL/2.0/. |
spastor | 0:fcaad0dfa051 | 10 | * |
spastor | 0:fcaad0dfa051 | 11 | * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343. |
spastor | 0:fcaad0dfa051 | 12 | */ |
spastor | 0:fcaad0dfa051 | 13 | |
spastor | 0:fcaad0dfa051 | 14 | /** @file |
spastor | 0:fcaad0dfa051 | 15 | */ |
spastor | 0:fcaad0dfa051 | 16 | |
spastor | 0:fcaad0dfa051 | 17 | #if !defined(__XBEE_H_) |
spastor | 0:fcaad0dfa051 | 18 | #define __XBEE_H_ |
spastor | 0:fcaad0dfa051 | 19 | |
spastor | 0:fcaad0dfa051 | 20 | #define XB_LIBRARY_VERSION 0x00010500U |
spastor | 0:fcaad0dfa051 | 21 | #define XB_MAJOR_VERSION ((XB_LIBRARY_VERSION >> 24) & 0xFFU) |
spastor | 0:fcaad0dfa051 | 22 | #define XB_MINOR_VERSION ((XB_LIBRARY_VERSION >> 16) & 0xFFU) |
spastor | 0:fcaad0dfa051 | 23 | #define XB_PATCH_LEVEL ((XB_LIBRARY_VERSION >> 8) & 0xFFU) |
spastor | 0:fcaad0dfa051 | 24 | #define XB_BUILD_ID (XB_LIBRARY_VERSION & 0xFFU) |
spastor | 0:fcaad0dfa051 | 25 | |
spastor | 0:fcaad0dfa051 | 26 | /**/ |
spastor | 0:fcaad0dfa051 | 27 | #define XB_LIB_BANNER "\r\n\r\nmbed Digi Radio library v%d.%d.%d\r\n", \ |
spastor | 0:fcaad0dfa051 | 28 | XB_MAJOR_VERSION, XB_MINOR_VERSION, XB_PATCH_LEVEL |
spastor | 0:fcaad0dfa051 | 29 | |
spastor | 0:fcaad0dfa051 | 30 | #include "XBeeZB/XBeeZB.h" |
spastor | 0:fcaad0dfa051 | 31 | #include "IO/IOSampleZB.h" |
spastor | 0:fcaad0dfa051 | 32 | #include "XBee802/XBee802.h" |
spastor | 0:fcaad0dfa051 | 33 | #include "IO/IOSample802.h" |
spastor | 0:fcaad0dfa051 | 34 | #include "XBee/Addresses.h" |
spastor | 0:fcaad0dfa051 | 35 | #include "RemoteXBee/RemoteXBee.h" |
spastor | 0:fcaad0dfa051 | 36 | |
spastor | 0:fcaad0dfa051 | 37 | #endif /* __XBEE_H_ */ |
spastor | 0:fcaad0dfa051 | 38 | |
spastor | 0:fcaad0dfa051 | 39 |