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.
XBeeLib.h@9:780db84ce891, 2016-07-29 (annotated)
- Committer:
- hbujanda
- Date:
- Fri Jul 29 13:10:07 2016 +0200
- Revision:
- 9:780db84ce891
- Parent:
- 8:b5f4a0e92249
Automatic upload
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| spastor | 0:fcaad0dfa051 | 1 | /** |
| spastor | 0:fcaad0dfa051 | 2 | * Copyright (c) 2015 Digi International Inc., |
| spastor | 0:fcaad0dfa051 | 3 | * All rights not expressly granted are reserved. |
| spastor | 0:fcaad0dfa051 | 4 | * |
| spastor | 0:fcaad0dfa051 | 5 | * This Source Code Form is subject to the terms of the Mozilla Public |
| spastor | 0:fcaad0dfa051 | 6 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
| spastor | 0:fcaad0dfa051 | 7 | * You can obtain one at http://mozilla.org/MPL/2.0/. |
| spastor | 0:fcaad0dfa051 | 8 | * |
| spastor | 3:8662ebe83570 | 9 | * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343 |
| spastor | 3:8662ebe83570 | 10 | * ======================================================================= |
| spastor | 0:fcaad0dfa051 | 11 | */ |
| spastor | 4:629712865107 | 12 | |
| spastor | 0:fcaad0dfa051 | 13 | /** @file |
| spastor | 0:fcaad0dfa051 | 14 | */ |
| spastor | 0:fcaad0dfa051 | 15 | |
| spastor | 3:8662ebe83570 | 16 | #ifndef __XBEE_H_ |
| spastor | 0:fcaad0dfa051 | 17 | #define __XBEE_H_ |
| spastor | 0:fcaad0dfa051 | 18 | |
| hbujanda | 9:780db84ce891 | 19 | #define XB_LIBRARY_VERSION 0x01010200U |
| spastor | 0:fcaad0dfa051 | 20 | #define XB_MAJOR_VERSION ((XB_LIBRARY_VERSION >> 24) & 0xFFU) |
| spastor | 0:fcaad0dfa051 | 21 | #define XB_MINOR_VERSION ((XB_LIBRARY_VERSION >> 16) & 0xFFU) |
| spastor | 0:fcaad0dfa051 | 22 | #define XB_PATCH_LEVEL ((XB_LIBRARY_VERSION >> 8) & 0xFFU) |
| spastor | 0:fcaad0dfa051 | 23 | #define XB_BUILD_ID (XB_LIBRARY_VERSION & 0xFFU) |
| spastor | 4:629712865107 | 24 | |
| spastor | 0:fcaad0dfa051 | 25 | /**/ |
| spastor | 3:8662ebe83570 | 26 | #define XB_LIB_BANNER "\r\n\r\n" "mbed Digi International Inc., XBeeLib v%d.%d.%d" "\r\n", \ |
| spastor | 0:fcaad0dfa051 | 27 | XB_MAJOR_VERSION, XB_MINOR_VERSION, XB_PATCH_LEVEL |
| spastor | 0:fcaad0dfa051 | 28 | |
| spastor | 0:fcaad0dfa051 | 29 | #include "XBeeZB/XBeeZB.h" |
| spastor | 0:fcaad0dfa051 | 30 | #include "IO/IOSampleZB.h" |
| spastor | 0:fcaad0dfa051 | 31 | #include "XBee802/XBee802.h" |
| spastor | 0:fcaad0dfa051 | 32 | #include "IO/IOSample802.h" |
| hbujanda | 6:06522f3a6642 | 33 | #include "XBeeDM/XBeeDM.h" |
| hbujanda | 6:06522f3a6642 | 34 | #include "IO/IOSampleDM.h" |
| spastor | 0:fcaad0dfa051 | 35 | #include "XBee/Addresses.h" |
| spastor | 0:fcaad0dfa051 | 36 | #include "RemoteXBee/RemoteXBee.h" |
| spastor | 0:fcaad0dfa051 | 37 | |
| spastor | 0:fcaad0dfa051 | 38 | #endif /* __XBEE_H_ */ |