XBee modules

Dependencies:   DigiLogger

Fork of XBeeLib by Digi International Inc.

Committer:
Javier117
Date:
Tue Oct 18 20:47:11 2016 +0000
Revision:
10:6b922add27d7
Parent:
6:06522f3a6642
No DebugLogger

Who changed what in which revision?

UserRevisionLine numberNew 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 0:fcaad0dfa051 9 * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343
spastor 0:fcaad0dfa051 10 * =======================================================================
spastor 0:fcaad0dfa051 11 */
spastor 0:fcaad0dfa051 12
spastor 0:fcaad0dfa051 13 #include "RemoteXBee.h"
spastor 0:fcaad0dfa051 14
spastor 0:fcaad0dfa051 15 using namespace XBeeLib;
spastor 0:fcaad0dfa051 16
spastor 0:fcaad0dfa051 17 RemoteXBee::RemoteXBee()
spastor 0:fcaad0dfa051 18 {
spastor 0:fcaad0dfa051 19 _dev_addr64 = ADDR64_UNASSIGNED;
spastor 0:fcaad0dfa051 20 _dev_addr16 = ADDR16_UNKNOWN;
spastor 0:fcaad0dfa051 21 }
spastor 0:fcaad0dfa051 22
spastor 0:fcaad0dfa051 23 RemoteXBee::RemoteXBee(uint64_t remote64) : _dev_addr64(remote64)
spastor 0:fcaad0dfa051 24 {
spastor 0:fcaad0dfa051 25 _dev_addr16 = ADDR16_UNKNOWN;
spastor 0:fcaad0dfa051 26 }
spastor 0:fcaad0dfa051 27
spastor 0:fcaad0dfa051 28 RemoteXBee::~RemoteXBee()
spastor 0:fcaad0dfa051 29 {
spastor 0:fcaad0dfa051 30 }
spastor 0:fcaad0dfa051 31
spastor 0:fcaad0dfa051 32 uint64_t RemoteXBee::get_addr64() const
spastor 0:fcaad0dfa051 33 {
spastor 0:fcaad0dfa051 34 return _dev_addr64;
spastor 0:fcaad0dfa051 35 }
spastor 0:fcaad0dfa051 36
spastor 0:fcaad0dfa051 37 uint16_t RemoteXBee::get_addr16() const
spastor 0:fcaad0dfa051 38 {
spastor 0:fcaad0dfa051 39 return _dev_addr16;
spastor 0:fcaad0dfa051 40 }
spastor 0:fcaad0dfa051 41
spastor 0:fcaad0dfa051 42 RemoteXBee802::RemoteXBee802() : RemoteXBee()
spastor 0:fcaad0dfa051 43 {
spastor 0:fcaad0dfa051 44 }
spastor 0:fcaad0dfa051 45
spastor 0:fcaad0dfa051 46 RemoteXBee802::RemoteXBee802(uint64_t remote64) : RemoteXBee(remote64)
spastor 0:fcaad0dfa051 47 {
spastor 0:fcaad0dfa051 48 }
spastor 0:fcaad0dfa051 49
spastor 0:fcaad0dfa051 50 RemoteXBee802::RemoteXBee802(uint16_t remote16) : RemoteXBee()
spastor 0:fcaad0dfa051 51 {
spastor 0:fcaad0dfa051 52 _dev_addr16 = remote16;
spastor 0:fcaad0dfa051 53 }
spastor 0:fcaad0dfa051 54
spastor 0:fcaad0dfa051 55 RemoteXBee802::RemoteXBee802(uint64_t remote64, uint16_t remote16) : RemoteXBee(remote64)
spastor 0:fcaad0dfa051 56 {
spastor 0:fcaad0dfa051 57 _dev_addr16 = remote16;
spastor 0:fcaad0dfa051 58 }
spastor 0:fcaad0dfa051 59
spastor 0:fcaad0dfa051 60 RemoteXBee802::~RemoteXBee802()
spastor 0:fcaad0dfa051 61 {
spastor 0:fcaad0dfa051 62 }
spastor 0:fcaad0dfa051 63
spastor 0:fcaad0dfa051 64 RemoteXBeeZB::RemoteXBeeZB() : RemoteXBee()
spastor 0:fcaad0dfa051 65 {
spastor 0:fcaad0dfa051 66 }
spastor 0:fcaad0dfa051 67
spastor 0:fcaad0dfa051 68 RemoteXBeeZB::RemoteXBeeZB(uint64_t remote64) : RemoteXBee(remote64)
spastor 0:fcaad0dfa051 69 {
spastor 0:fcaad0dfa051 70 }
spastor 0:fcaad0dfa051 71
spastor 0:fcaad0dfa051 72 RemoteXBeeZB::RemoteXBeeZB(uint64_t remote64, uint16_t remote16) : RemoteXBee(remote64)
spastor 0:fcaad0dfa051 73 {
spastor 0:fcaad0dfa051 74 _dev_addr16 = remote16;
spastor 0:fcaad0dfa051 75 }
spastor 0:fcaad0dfa051 76
spastor 0:fcaad0dfa051 77 RemoteXBeeZB::~RemoteXBeeZB()
spastor 0:fcaad0dfa051 78 {
spastor 0:fcaad0dfa051 79 }
hbujanda 6:06522f3a6642 80
hbujanda 6:06522f3a6642 81 RemoteXBeeDM::RemoteXBeeDM() : RemoteXBee()
hbujanda 6:06522f3a6642 82 {
hbujanda 6:06522f3a6642 83 }
hbujanda 6:06522f3a6642 84
hbujanda 6:06522f3a6642 85 RemoteXBeeDM::RemoteXBeeDM(uint64_t remote64) : RemoteXBee(remote64)
hbujanda 6:06522f3a6642 86 {
hbujanda 6:06522f3a6642 87 }
hbujanda 6:06522f3a6642 88
hbujanda 6:06522f3a6642 89 RemoteXBeeDM::~RemoteXBeeDM()
hbujanda 6:06522f3a6642 90 {
hbujanda 6:06522f3a6642 91 }