API for communicating with XBee devices.

Dependencies:   CircularBuffer FixedLengthList

Dependents:   XBeeApiTest XBeeApiSimpleATCmdsExample XBeeApiBroadcastExample XBeeApiBroadcastExampleRTOS ... more

Overview

XBeeApi is intended to be a library for providing a high-level API interface to the XBee - for example getChannel() and setChannel(2) methods rather than needing to send( "ATCH" ) and send( "ATCH 2" ) - and then de-code the responses.

See the notebook page here for a description of how the API works & some details on the various classes.

Features:

  • Support for transmission & reception of data packets
  • Support for reading & changing settings
  • Support for "Remote AT" interface to access settings & I/O channels on remote XBees
  • XBeeApi should work if you're using mbed-rtos, though it is not currently threadsafe. Take a look at the XBeeApiBroadcastExampleRTOS example if you're including mbed-rtos.

Example Programs

There are also example programs available:

Transmit

Import programXBeeApiSimpleBroadcastExample

Simple example of how to use XBeeApi - set up the XBee, configure P2P networking then transmit a frame.

Import programXBeeApiBroadcastExample

Example for XBeeAPI; a little more involved than XBeeApiSimpleBroadcastExample with report on failure to set up the XBee and on the transmit status of the message.

Import programXBeeApiBroadcastExampleRTOS

Example of using the XBeeApi library to broadcast a message, based on XBeeApiBroadcastExample. This example shows how to use the library when using mbed-rtos. Before compiling you must open "XbeeApi\Config\XBeeApiCfg.hpp" and change the '#if 0' to '#if 1' on the line above the comment reading "Use RTOS features to make XBeeApi threadsafe"

Settings/Status

Import programXBeeApiSimpleATCmdsExample

Simple example of using XBeeApi to send AT-style commands to the XBee

Import programXBeeApiRemoteATCmdsExample

Example of using the XBeeApi library to send AT commands to remote XBee devices in order to read/write settings

Receive

Import programXBeeApiSimpleReceiveExample

Simple example of using XBeeApi to receive data packets via wireless

Import programXBeeApiReceiveCallbackExample

Example of using the XBeeApi library to receive a message via a callback method

Import programXBeeApiReceiveCallbackExampleRTOS

Example of using the XBeeApi library to receive a message via a callback method. This example shows how to use the library when using mbed-rtos. See the comment at the top of main.cpp

Remote I/O

Import programXBeeApiRemoteIOExample

Example of using the XBeeApi library to read inputs on a remote XBee

If you have 2 mbed connected XBees available then you can use XBeeApiSimpleReceiveExample and XBeeApiSimpleBroadcastExample as a pair.

Note that this is still a work in progress! XBeeApiTodoList tracks some of the functionality still to be added.

Committer:
johnb
Date:
Mon Jul 28 10:24:16 2014 +0000
Revision:
51:a7d0d2ef9261
Parent:
50:f76b7e7959a2
Child:
52:0950b05d5270
Additional infrastructure for AT & remote AT commands.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
johnb 8:1b48b619d7f6 1 /**
johnb 8:1b48b619d7f6 2 @file
johnb 8:1b48b619d7f6 3 @brief Class to abstract AT commands send to the XBee API
johnb 8:1b48b619d7f6 4
johnb 8:1b48b619d7f6 5 AT commands have the payload:
johnb 8:1b48b619d7f6 6
johnb 8:1b48b619d7f6 7 Byte 1 : Frame ID
johnb 8:1b48b619d7f6 8 Byte 2 & 3 : AT command
johnb 8:1b48b619d7f6 9 Byte 4-n : Parameter Value
johnb 8:1b48b619d7f6 10
johnb 8:1b48b619d7f6 11 @author John Bailey
johnb 8:1b48b619d7f6 12
johnb 8:1b48b619d7f6 13 @copyright Copyright 2014 John Bailey
johnb 8:1b48b619d7f6 14
johnb 8:1b48b619d7f6 15 @section LICENSE
johnb 8:1b48b619d7f6 16
johnb 8:1b48b619d7f6 17 Licensed under the Apache License, Version 2.0 (the "License");
johnb 8:1b48b619d7f6 18 you may not use this file except in compliance with the License.
johnb 8:1b48b619d7f6 19 You may obtain a copy of the License at
johnb 8:1b48b619d7f6 20
johnb 8:1b48b619d7f6 21 http://www.apache.org/licenses/LICENSE-2.0
johnb 8:1b48b619d7f6 22
johnb 8:1b48b619d7f6 23 Unless required by applicable law or agreed to in writing, software
johnb 8:1b48b619d7f6 24 distributed under the License is distributed on an "AS IS" BASIS,
johnb 8:1b48b619d7f6 25 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
johnb 8:1b48b619d7f6 26 See the License for the specific language governing permissions and
johnb 8:1b48b619d7f6 27 limitations under the License.
johnb 8:1b48b619d7f6 28
johnb 8:1b48b619d7f6 29 */
johnb 8:1b48b619d7f6 30
johnb 8:1b48b619d7f6 31 #if !defined XBEEAPICMDAT_HPP
johnb 8:1b48b619d7f6 32 #define XBEEAPICMDAT_HPP
johnb 8:1b48b619d7f6 33
johnb 8:1b48b619d7f6 34 #include "XBeeApiFrame.hpp"
johnb 8:1b48b619d7f6 35 #include "XBeeDevice.hpp"
johnb 8:1b48b619d7f6 36
johnb 8:1b48b619d7f6 37 #include <stdint.h>
johnb 8:1b48b619d7f6 38
johnb 26:f5df80e990f4 39 #define XBEE_API_CMD_SET_HEADER_LEN 3U
johnb 50:f76b7e7959a2 40 #define XBEE_API_CMD_REQ_HEADER_LEN 3U
johnb 50:f76b7e7959a2 41
johnb 50:f76b7e7959a2 42 #define XBEE_API_DIO_CHANNEL_COUNT 8U
johnb 26:f5df80e990f4 43
johnb 26:f5df80e990f4 44 /** Class to access the configuration interface of the XBee.
johnb 26:f5df80e990f4 45 Requests to the XBee are non-blocking meaning that code
johnb 26:f5df80e990f4 46 which utilises this class must deal with the fact that
johnb 26:f5df80e990f4 47 there will be a delay between requesting the data from
johnb 26:f5df80e990f4 48 the XBee and the data being available via the API. See
johnb 26:f5df80e990f4 49 XBeeApiCmdAtBlocking for a blocking version.
johnb 26:f5df80e990f4 50
johnb 26:f5df80e990f4 51 Parameters from the XBee are cached in the object so
johnb 26:f5df80e990f4 52 subsequent requests do not need have the overhead of
johnb 26:f5df80e990f4 53 communication with the XBee */
johnb 8:1b48b619d7f6 54 class XBeeApiCmdAt : public XBeeApiFrameDecoder
johnb 8:1b48b619d7f6 55 {
johnb 13:302e7c1ea0b3 56 public:
johnb 26:f5df80e990f4 57 /** Type to represent the ID of a PAN (Personal Area Network) */
johnb 26:f5df80e990f4 58 typedef uint16_t panId_t;
johnb 26:f5df80e990f4 59 /** Type to represent a wireless channel number */
johnb 26:f5df80e990f4 60 typedef uint8_t channel_t;
johnb 32:af4e495afd62 61 /** Type to represent the different MAC modes supported by the XBee */
johnb 32:af4e495afd62 62 typedef enum {
johnb 32:af4e495afd62 63 XBEE_API_MAC_MODE_DIGI_ACK = 0,
johnb 32:af4e495afd62 64 XBEE_API_MAC_MODE_802_15_4_NO_ACK = 1,
johnb 32:af4e495afd62 65 XBEE_API_MAC_MODE_802_15_4_ACK = 2,
johnb 32:af4e495afd62 66 XBEE_API_MAC_MODE_DIGI_NO_ACK = 3,
johnb 32:af4e495afd62 67 } XBeeApiMACMode_e;
johnb 13:302e7c1ea0b3 68
johnb 50:f76b7e7959a2 69 typedef enum
johnb 50:f76b7e7959a2 70 {
johnb 50:f76b7e7959a2 71 XBEE_API_DIO_DISABLED = 0,
johnb 50:f76b7e7959a2 72 XBEE_API_DIO_SPECIAL = 1,
johnb 51:a7d0d2ef9261 73 XBEE_API_DIO_ADC = 2,
johnb 50:f76b7e7959a2 74 XBEE_API_DIO_INPUT = 3,
johnb 50:f76b7e7959a2 75 XBEE_API_DIO_OUT_LOW = 4,
johnb 50:f76b7e7959a2 76 XBEE_API_DIO_OUT_HIGH = 5,
johnb 50:f76b7e7959a2 77 XBEE_API_DIO_RS485_TX_LOW = 6,
johnb 50:f76b7e7959a2 78 XBEE_API_DIO_RS485_TX_HIGH = 7
johnb 50:f76b7e7959a2 79 } XBeeApiDioConfig_e;
johnb 50:f76b7e7959a2 80
johnb 8:1b48b619d7f6 81 protected:
johnb 26:f5df80e990f4 82 /** Indicates whether or not m_hwVer contains data retrieved from the XBee */
johnb 31:c144106e55b5 83 bool m_have_hwVer;
johnb 26:f5df80e990f4 84 /** Indicates whether or not m_fwVer contains data retrieved from the XBee */
johnb 31:c144106e55b5 85 bool m_have_fwVer;
johnb 26:f5df80e990f4 86 /** Indicates whether or not m_chan contains data retrieved from the XBee */
johnb 31:c144106e55b5 87 bool m_have_chan;
johnb 26:f5df80e990f4 88 /** Indicates whether or not m_PANId contains data retrieved from the XBee */
johnb 31:c144106e55b5 89 bool m_have_PANId;
johnb 26:f5df80e990f4 90 /** Indicates whether or not m_EDA contains data retrieved from the XBee */
johnb 31:c144106e55b5 91 bool m_have_EDA;
johnb 26:f5df80e990f4 92 /** Indicates whether or not m_CE contains data retrieved from the XBee */
johnb 31:c144106e55b5 93 bool m_have_CE;
johnb 31:c144106e55b5 94 bool m_have_sourceAddress;
johnb 32:af4e495afd62 95 bool m_have_snLow;
johnb 32:af4e495afd62 96 bool m_have_snHigh;
johnb 32:af4e495afd62 97 bool m_have_retries;
johnb 32:af4e495afd62 98 bool m_have_randomDelaySlots;
johnb 32:af4e495afd62 99 bool m_have_macMode;
johnb 50:f76b7e7959a2 100 bool m_have_d[ XBEE_API_DIO_CHANNEL_COUNT ];
johnb 51:a7d0d2ef9261 101 bool m_have_dioChangeDetectMask;
johnb 51:a7d0d2ef9261 102 bool m_have_dioLevels;
johnb 51:a7d0d2ef9261 103 bool m_have_sampleRate;
johnb 51:a7d0d2ef9261 104 bool m_have_destHigh;
johnb 51:a7d0d2ef9261 105 bool m_have_destLow;
johnb 51:a7d0d2ef9261 106
johnb 13:302e7c1ea0b3 107
johnb 8:1b48b619d7f6 108 uint16_t m_hwVer;
johnb 8:1b48b619d7f6 109 uint16_t m_fwVer;
johnb 13:302e7c1ea0b3 110 channel_t m_chan;
johnb 13:302e7c1ea0b3 111 channel_t m_chanPend;
johnb 13:302e7c1ea0b3 112 panId_t m_PANId;
johnb 13:302e7c1ea0b3 113 panId_t m_PANIdPend;
johnb 13:302e7c1ea0b3 114 bool m_EDA;
johnb 13:302e7c1ea0b3 115 bool m_EDAPend;
johnb 13:302e7c1ea0b3 116 bool m_CE;
johnb 13:302e7c1ea0b3 117 bool m_CEPend;
johnb 31:c144106e55b5 118 uint16_t m_sourceAddress;
johnb 31:c144106e55b5 119 uint16_t m_sourceAddressPend;
johnb 32:af4e495afd62 120 uint32_t m_snLow;
johnb 32:af4e495afd62 121 uint32_t m_snHigh;
johnb 32:af4e495afd62 122 uint8_t m_retries;
johnb 32:af4e495afd62 123 uint8_t m_retriesPend;
johnb 32:af4e495afd62 124 uint8_t m_randomDelaySlots;
johnb 32:af4e495afd62 125 uint8_t m_randomDelaySlotsPend;
johnb 50:f76b7e7959a2 126 XBeeApiMACMode_e m_macMode;
johnb 50:f76b7e7959a2 127 XBeeApiMACMode_e m_macModePend;
johnb 50:f76b7e7959a2 128 XBeeApiDioConfig_e m_d[ XBEE_API_DIO_CHANNEL_COUNT ];
johnb 50:f76b7e7959a2 129 XBeeApiDioConfig_e m_dPend[ XBEE_API_DIO_CHANNEL_COUNT ];
johnb 51:a7d0d2ef9261 130 uint8_t m_dioChangeDetectMask;
johnb 51:a7d0d2ef9261 131 uint8_t m_dioChangeDetectMaskPend;
johnb 51:a7d0d2ef9261 132 uint8_t m_dioLevels;
johnb 51:a7d0d2ef9261 133 uint8_t m_dioLevelsPend;
johnb 51:a7d0d2ef9261 134 uint16_t m_sampleRate;
johnb 51:a7d0d2ef9261 135 uint16_t m_sampleRatePend;
johnb 51:a7d0d2ef9261 136 uint32_t m_destHigh;
johnb 51:a7d0d2ef9261 137 uint32_t m_destHighPend;
johnb 51:a7d0d2ef9261 138 uint32_t m_destLow;
johnb 51:a7d0d2ef9261 139 uint32_t m_destLowPend;
johnb 51:a7d0d2ef9261 140 uint32_t m_writeCount;
johnb 51:a7d0d2ef9261 141 uint32_t m_applyCount;
johnb 51:a7d0d2ef9261 142 uint32_t m_resetCount;
johnb 51:a7d0d2ef9261 143 uint32_t m_sampleCount;
johnb 8:1b48b619d7f6 144
johnb 50:f76b7e7959a2 145 virtual void SendCmd_uint8_t( const uint8_t p_frameId,
johnb 50:f76b7e7959a2 146 const uint8_t* const p_data,
johnb 50:f76b7e7959a2 147 const uint8_t& p_val );
johnb 50:f76b7e7959a2 148 virtual void SendCmd_uint16_t( const uint8_t p_frameId,
johnb 50:f76b7e7959a2 149 const uint8_t* const p_data,
johnb 50:f76b7e7959a2 150 const uint16_t& p_val );
johnb 51:a7d0d2ef9261 151 virtual void SendCmd_uint32_t( const uint8_t p_frameId,
johnb 51:a7d0d2ef9261 152 const uint8_t* const p_data,
johnb 51:a7d0d2ef9261 153 const uint32_t& p_val );
johnb 50:f76b7e7959a2 154 virtual void SendReq( const uint8_t p_frameId,
johnb 50:f76b7e7959a2 155 const uint8_t* p_data );
johnb 13:302e7c1ea0b3 156
johnb 50:f76b7e7959a2 157 virtual size_t getResponseStatusPos( void ) const;
johnb 50:f76b7e7959a2 158
johnb 50:f76b7e7959a2 159
johnb 50:f76b7e7959a2 160 /* Implement XBeeApiCmdDecoder interface */
johnb 50:f76b7e7959a2 161 virtual bool decodeCallback( const uint8_t* const p_data, size_t p_len );
johnb 50:f76b7e7959a2 162
johnb 50:f76b7e7959a2 163 virtual bool processResponseFrame( const uint8_t* const p_data, size_t p_len );
johnb 50:f76b7e7959a2 164
johnb 26:f5df80e990f4 165
johnb 8:1b48b619d7f6 166 public:
johnb 13:302e7c1ea0b3 167
johnb 29:c6d037cceb02 168 /** Constructor
johnb 29:c6d037cceb02 169
johnb 29:c6d037cceb02 170 \param p_device XBee device with which this object should be associated */
johnb 29:c6d037cceb02 171 XBeeApiCmdAt( XBeeDevice* const p_device = NULL );
johnb 26:f5df80e990f4 172
johnb 26:f5df80e990f4 173 /** Destructor */
johnb 26:f5df80e990f4 174 virtual ~XBeeApiCmdAt( void ) {};
johnb 8:1b48b619d7f6 175
johnb 26:f5df80e990f4 176 /** Request the hardware version identifier from the XBee.
johnb 26:f5df80e990f4 177 As the data is retrieved asynchronously to this call,
johnb 26:f5df80e990f4 178 once the response is received it can be accessed via
johnb 26:f5df80e990f4 179 getHardwareVersion() */
johnb 26:f5df80e990f4 180 bool requestHardwareVersion( void );
johnb 26:f5df80e990f4 181 bool requestFirmwareVersion( void );
johnb 26:f5df80e990f4 182 bool requestChannel( void );
johnb 26:f5df80e990f4 183 bool requestCoordinatorEnabled( void );
johnb 26:f5df80e990f4 184 bool requestEndDeviceAssociationEnabled( void );
johnb 26:f5df80e990f4 185 bool requestPanId( void );
johnb 31:c144106e55b5 186 bool requestSourceAddress( void );
johnb 32:af4e495afd62 187 bool requestSerialNumber( void );
johnb 50:f76b7e7959a2 188 bool requestSerialNumberHigh( void );
johnb 50:f76b7e7959a2 189 bool requestSerialNumberLow( void );
johnb 50:f76b7e7959a2 190 bool requestDioConfig( const uint8_t p_chanNo );
johnb 51:a7d0d2ef9261 191 bool requestDioChangeDetectMask( void );
johnb 51:a7d0d2ef9261 192 bool requestSampleRate( void );
johnb 50:f76b7e7959a2 193
johnb 32:af4e495afd62 194 /** Request the number of retries the XBee is configured to make.
johnb 32:af4e495afd62 195 Note that the 802.15.4 MAC already allows 3 retries, so this parameter
johnb 32:af4e495afd62 196 specifies an additional multiple of 3 retries
johnb 32:af4e495afd62 197 As the data is retrieved asynchronously to this call,
johnb 32:af4e495afd62 198 once the response is received it can be accessed via
johnb 32:af4e495afd62 199 getRetries()
johnb 32:af4e495afd62 200 */
johnb 32:af4e495afd62 201 bool requestRetries( void );
johnb 32:af4e495afd62 202
johnb 32:af4e495afd62 203 /** Request the minimum value of the back-off exponent in the CSMA-CA algorithm
johnb 32:af4e495afd62 204 used in collision avoidance.
johnb 32:af4e495afd62 205 */
johnb 32:af4e495afd62 206 bool requestRandomDelaySlots( void );
johnb 32:af4e495afd62 207
johnb 32:af4e495afd62 208 bool requestMacMode( void );
johnb 51:a7d0d2ef9261 209 bool requestDestinationAddress( void );
johnb 51:a7d0d2ef9261 210 bool requestDestinationAddressHigh( void );
johnb 51:a7d0d2ef9261 211 bool requestDestinationAddressLow( void );
johnb 51:a7d0d2ef9261 212
johnb 51:a7d0d2ef9261 213 bool requestWriteSettings( void );
johnb 51:a7d0d2ef9261 214 bool requestApplyChanges( void );
johnb 51:a7d0d2ef9261 215 bool requestReset( void );
johnb 51:a7d0d2ef9261 216 bool requestForceSample( void );
johnb 8:1b48b619d7f6 217
johnb 26:f5df80e990f4 218 /** Read the XBee's hardware version identifier.
johnb 26:f5df80e990f4 219
johnb 26:f5df80e990f4 220 This method does not initiate any communication with the
johnb 26:f5df80e990f4 221 XBee - the identifier must previously have been requested
johnb 26:f5df80e990f4 222 via requestHardwareVersion(). The method is non-blocking. */
johnb 26:f5df80e990f4 223 virtual bool getHardwareVersion( uint16_t* const p_ver );
johnb 26:f5df80e990f4 224
johnb 26:f5df80e990f4 225 /** Read the XBee's firmware version identifier.
johnb 26:f5df80e990f4 226
johnb 26:f5df80e990f4 227 This method does not initiate any communication with the
johnb 26:f5df80e990f4 228 XBee - the identifier must previously have been requested
johnb 26:f5df80e990f4 229 via requestFirmwareVersion(). The method is non-blocking. */
johnb 26:f5df80e990f4 230 virtual bool getFirmwareVersion( uint16_t* const p_ver );
johnb 32:af4e495afd62 231
johnb 32:af4e495afd62 232 virtual bool getSerialNumber( uint64_t* const p_sn );
johnb 13:302e7c1ea0b3 233
johnb 32:af4e495afd62 234 virtual bool getChannel( uint8_t* const p_chan );
johnb 32:af4e495afd62 235 virtual bool setChannel( uint8_t const p_chan );
johnb 8:1b48b619d7f6 236
johnb 32:af4e495afd62 237 virtual bool getCoordinatorEnabled( bool* const p_en );
johnb 32:af4e495afd62 238 virtual bool setCoordinatorEnabled( const bool p_en );
johnb 32:af4e495afd62 239
johnb 32:af4e495afd62 240 virtual bool getEndDeviceAssociationEnabled( bool* const p_en );
johnb 32:af4e495afd62 241 virtual bool setEndDeviceAssociationEnabled( const bool p_en );
johnb 13:302e7c1ea0b3 242
johnb 32:af4e495afd62 243 virtual bool getPanId( panId_t* const p_id );
johnb 32:af4e495afd62 244 virtual bool setPanId( const panId_t p_id );
johnb 32:af4e495afd62 245
johnb 32:af4e495afd62 246 virtual bool getSourceAddress( uint16_t* const p_addr );
johnb 32:af4e495afd62 247 virtual bool setSourceAddress( const uint16_t p_addr );
johnb 31:c144106e55b5 248
johnb 32:af4e495afd62 249 virtual bool getRetries( uint8_t* const p_addr );
johnb 32:af4e495afd62 250 virtual bool setRetries( const uint8_t p_addr );
johnb 31:c144106e55b5 251
johnb 32:af4e495afd62 252 virtual bool getRandomDelaySlots( uint8_t* const p_addr );
johnb 32:af4e495afd62 253 virtual bool setRandomDelaySlots( const uint8_t p_addr );
johnb 32:af4e495afd62 254
johnb 32:af4e495afd62 255 virtual bool getMacMode( XBeeApiMACMode_e* const p_mode );
johnb 50:f76b7e7959a2 256 virtual bool setMacMode( const XBeeApiMACMode_e p_mode );
johnb 50:f76b7e7959a2 257
johnb 50:f76b7e7959a2 258 virtual bool getDioConfig( const uint8_t p_chanNo, XBeeApiDioConfig_e* const p_conf );
johnb 50:f76b7e7959a2 259 virtual bool setDioConfig( const uint8_t p_chanNo, const XBeeApiDioConfig_e p_conf );
johnb 51:a7d0d2ef9261 260
johnb 51:a7d0d2ef9261 261 virtual bool getDioChangeDetectMask( uint8_t* const p_mask );
johnb 51:a7d0d2ef9261 262 virtual bool setDioChangeDetectMask( const uint8_t p_mask );
johnb 26:f5df80e990f4 263
johnb 51:a7d0d2ef9261 264 /** Note that this method will only return a value in the case that the levels have
johnb 51:a7d0d2ef9261 265 been previously set via the setDioLevels method and that the XBee has
johnb 51:a7d0d2ef9261 266 returned a successful response. There is no ability to simply read what the
johnb 51:a7d0d2ef9261 267 current digital outputs are set to */
johnb 51:a7d0d2ef9261 268 virtual bool getDioLevels( uint8_t* const p_mask );
johnb 51:a7d0d2ef9261 269 virtual bool setDioLevels( const uint8_t p_mask );
johnb 8:1b48b619d7f6 270
johnb 51:a7d0d2ef9261 271 /* TODO: Add protection to prevent p_interval being too small - see data sheet */
johnb 51:a7d0d2ef9261 272 virtual bool getSampleRate( uint16_t* const p_interval );
johnb 51:a7d0d2ef9261 273 virtual bool setSampleRate( const uint16_t p_interval );
johnb 51:a7d0d2ef9261 274
johnb 51:a7d0d2ef9261 275 virtual bool getDestinationAddress( uint64_t* const p_address );
johnb 51:a7d0d2ef9261 276 virtual bool setDestinationAddress( const uint64_t p_address );
johnb 13:302e7c1ea0b3 277
johnb 51:a7d0d2ef9261 278 virtual bool getDestinationAddressHigh( uint32_t* const p_address );
johnb 51:a7d0d2ef9261 279 virtual bool setDestinationAddressHigh( const uint32_t p_address );
johnb 31:c144106e55b5 280
johnb 51:a7d0d2ef9261 281 virtual bool getDestinationAddressLow( uint32_t* const p_address );
johnb 51:a7d0d2ef9261 282 virtual bool setDestinationAddressLow( const uint32_t p_address );
johnb 32:af4e495afd62 283
johnb 8:1b48b619d7f6 284 };
johnb 8:1b48b619d7f6 285
johnb 8:1b48b619d7f6 286 #endif