<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>XBee-Arduino: XBee.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">XBee-Arduino
   &#160;<span id="projectnumber">0.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">XBee.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#ifndef XBee_h</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#define XBee_h</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#if defined(ARDUINO) &amp;&amp; ARDUINO &gt;= 100</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">      #include &quot;Arduino.h&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">      #include &quot;WProgram.h&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;inttypes.h&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define SERIES_1</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define SERIES_2</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// set to ATAP value of XBee. AP=2 is recommended</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#define ATAP 2</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#define START_BYTE 0x7e</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define ESCAPE 0x7d</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#define XON 0x11</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#define XOFF 0x13</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">// This value determines the size of the byte array for receiving RX packets</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">// Most users won&#39;t be dealing with packets this large so you can adjust this</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">// value to reduce memory consumption. But, remember that</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment">// if a RX packet exceeds this size, it cannot be parsed!</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">// This value is determined by the largest packet size (100 byte payload + 64-bit address + option byte and rssi byte) of a series 1 radio</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#define MAX_FRAME_DATA_SIZE 110</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#define BROADCAST_ADDRESS 0xffff</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#define ZB_BROADCAST_ADDRESS 0xfffe</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">// the non-variable length of the frame data (not including frame id or api id or variable data size (e.g. payload, at command set value)</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">#define ZB_TX_API_LENGTH 12</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#define TX_16_API_LENGTH 3</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">#define TX_64_API_LENGTH 9</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">#define AT_COMMAND_API_LENGTH 2</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#define REMOTE_AT_COMMAND_API_LENGTH 13</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment">// start/length(2)/api/frameid/checksum bytes</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#define PACKET_OVERHEAD_LENGTH 6</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">// api is always the third byte in packet</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">#define API_ID_INDEX 3</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">// frame position of rssi byte</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">#define RX_16_RSSI_OFFSET 2</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor">#define RX_64_RSSI_OFFSET 8</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor">#define DEFAULT_FRAME_ID 1</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="preprocessor">#define NO_RESPONSE_FRAME_ID 0</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="comment">// TODO put in tx16 class</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">#define ACK_OPTION 0</span></div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="preprocessor">#define DISABLE_ACK_OPTION 1</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">#define BROADCAST_OPTION 4</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">// RX options</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">#define ZB_PACKET_ACKNOWLEDGED 0x01</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">#define ZB_BROADCAST_PACKET 0x02</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment">// not everything is implemented!</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment"></span><span class="preprocessor">#define TX_64_REQUEST 0x0</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor">#define TX_16_REQUEST 0x1</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">#define AT_COMMAND_REQUEST 0x08</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="preprocessor">#define AT_COMMAND_QUEUE_REQUEST 0x09</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="preprocessor">#define REMOTE_AT_REQUEST 0x17</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor">#define ZB_TX_REQUEST 0x10</span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="preprocessor">#define ZB_EXPLICIT_TX_REQUEST 0x11</span></div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="preprocessor">#define RX_64_RESPONSE 0x80</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor">#define RX_16_RESPONSE 0x81</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="preprocessor">#define RX_64_IO_RESPONSE 0x82</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="preprocessor">#define RX_16_IO_RESPONSE 0x83</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">#define AT_RESPONSE 0x88</span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">#define TX_STATUS_RESPONSE 0x89</span></div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="preprocessor">#define MODEM_STATUS_RESPONSE 0x8a</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">#define ZB_RX_RESPONSE 0x90</span></div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="preprocessor">#define ZB_EXPLICIT_RX_RESPONSE 0x91</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="preprocessor">#define ZB_TX_STATUS_RESPONSE 0x8b</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="preprocessor">#define ZB_IO_SAMPLE_RESPONSE 0x92</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor">#define ZB_IO_NODE_IDENTIFIER_RESPONSE 0x95</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="preprocessor">#define AT_COMMAND_RESPONSE 0x88</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">#define REMOTE_AT_COMMAND_RESPONSE 0x97</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">#define     SUCCESS 0x0</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="preprocessor">#define CCA_FAILURE 0x2</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">#define INVALID_DESTINATION_ENDPOINT_SUCCESS 0x15</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor">#define     NETWORK_ACK_FAILURE 0x21</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor">#define NOT_JOINED_TO_NETWORK 0x22</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="preprocessor">#define     SELF_ADDRESSED 0x23</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="preprocessor">#define ADDRESS_NOT_FOUND 0x24</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="preprocessor">#define ROUTE_NOT_FOUND 0x25</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="preprocessor">#define PAYLOAD_TOO_LARGE 0x74</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="comment">// modem status</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="preprocessor">#define HARDWARE_RESET 0</span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="preprocessor">#define WATCHDOG_TIMER_RESET 1</span></div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="preprocessor">#define ASSOCIATED 2</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="preprocessor">#define DISASSOCIATED 3</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="preprocessor">#define SYNCHRONIZATION_LOST 4</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="preprocessor">#define COORDINATOR_REALIGNMENT 5</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="preprocessor">#define COORDINATOR_STARTED 6</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="preprocessor">#define ZB_BROADCAST_RADIUS_MAX_HOPS 0</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="preprocessor">#define ZB_TX_UNICAST 0</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="preprocessor">#define ZB_TX_BROADCAST 8</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="preprocessor">#define AT_OK 0</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="preprocessor">#define AT_ERROR  1</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="preprocessor">#define AT_INVALID_COMMAND 2</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">#define AT_INVALID_PARAMETER 3</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="preprocessor">#define AT_NO_RESPONSE 4</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="preprocessor">#define NO_ERROR 0</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="preprocessor">#define CHECKSUM_FAILURE 1</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="preprocessor">#define PACKET_EXCEEDS_BYTE_ARRAY_LENGTH 2</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="preprocessor">#define UNEXPECTED_START_BYTE 3</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="class_x_bee_response.html">  151</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_x_bee_response.html">XBeeResponse</a> {</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;      <span class="comment">//static const int MODEM_STATUS = 0x8a;</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="comment"></span>      <a class="code" href="class_x_bee_response.html#a03a6ea7651a40062c22ca0a37fbf512f">XBeeResponse</a>();</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;      uint8_t <a class="code" href="class_x_bee_response.html#a4a9677e3b39054119fa278d1ad52130a">getApiId</a>();</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;      <span class="keywordtype">void</span> setApiId(uint8_t apiId);</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;      uint8_t <a class="code" href="class_x_bee_response.html#aae9f85f70cbcb92cfcc278295a947952">getMsbLength</a>();</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;      <span class="keywordtype">void</span> setMsbLength(uint8_t msbLength);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;      uint8_t <a class="code" href="class_x_bee_response.html#acb1b40edafa22461776b75bd5d7caadf">getLsbLength</a>();</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;      <span class="keywordtype">void</span> setLsbLength(uint8_t lsbLength);</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;      uint8_t <a class="code" href="class_x_bee_response.html#aa8f34253bb77196366ea8ac9bc318734">getChecksum</a>();</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;      <span class="keywordtype">void</span> setChecksum(uint8_t checksum);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;      uint8_t <a class="code" href="class_x_bee_response.html#a6205be340c4f0397a68dadbdca36a091">getFrameDataLength</a>();</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;      <span class="keywordtype">void</span> setFrameData(uint8_t* frameDataPtr);</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;      uint8_t* <a class="code" href="class_x_bee_response.html#ad958f0b5200138545bdd762111299a94">getFrameData</a>();</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;      <span class="keywordtype">void</span> setFrameLength(uint8_t frameLength);</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;      <span class="comment">// to support future 65535 byte packets I guess</span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="comment"></span>      uint16_t <a class="code" href="class_x_bee_response.html#a26a7c8baad9cc0322a38db997685d889">getPacketLength</a>();</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#aa08a73f576fc7ce2f7fa154342c01fba">reset</a>();</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#af084604e35462783ecd293ffc090d6dc">init</a>();</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="preprocessor">#ifdef SERIES_2</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#a1353f14b87b9cbdc1f8001fb8c5e9d35">getZBTxStatusResponse</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;response);</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#a4c0edfc6be81349237956531a006d3ab">getZBRxResponse</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;response);</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#a0c1f8d66b1b276fd6d482c589d5cda3d">getZBRxIoSampleResponse</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;response);</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="preprocessor">#ifdef SERIES_1</span></div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#a2fd9882d767d48e679a7595b780c2a2d">getTxStatusResponse</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;response);</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#ab85f25eac3e57d665e2189d84cb5d2e3">getRx16Response</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;response);</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#a72e5b863c14a9ec0a4f1cdeba5f24e58">getRx64Response</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;response);</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#ae84d38e3759ebf8b23d256b207e5761d">getRx16IoSampleResponse</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;response);</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#ae298de16ed0dce349154ae87f8b93d77">getRx64IoSampleResponse</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;response);</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#a5177bb036ccaa6ea30d73541a3e7d414">getAtCommandResponse</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;responses);</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#af359dab94c57006a0fb4b58986744c04">getRemoteAtCommandResponse</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;response);</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_response.html#ad93317521b52825c32b43d34a0f189d1">getModemStatusResponse</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;response);</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="class_x_bee_response.html#ab60b2cc9e32fa88dee132f410cc8331d">isAvailable</a>();</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;      <span class="keywordtype">void</span> setAvailable(<span class="keywordtype">bool</span> complete);</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="class_x_bee_response.html#a68cbc45004ff4314161b0fb1cc579b9b">isError</a>();</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;      uint8_t <a class="code" href="class_x_bee_response.html#a2895438378d2738e3efe74b1c838170b">getErrorCode</a>();</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;      <span class="keywordtype">void</span> setErrorCode(uint8_t errorCode);</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;      <span class="comment">// pointer to frameData</span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;      uint8_t* _frameDataPtr;</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;      <span class="keywordtype">void</span> setCommon(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;target);</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;      uint8_t _apiId;</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;      uint8_t _msbLength;</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;      uint8_t _lsbLength;</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;      uint8_t _checksum;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;      uint8_t _frameLength;</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;      <span class="keywordtype">bool</span> _complete;</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;      uint8_t _errorCode;</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;};</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;</div>
<div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="class_x_bee_address.html">  288</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_x_bee_address.html">XBeeAddress</a> {</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;      <a class="code" href="class_x_bee_address.html">XBeeAddress</a>();</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;};</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;</div>
<div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="class_x_bee_address64.html">  296</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> : <span class="keyword">public</span> <a class="code" href="class_x_bee_address.html">XBeeAddress</a> {</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a>(uint32_t msb, uint32_t lsb);</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a>();</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;      uint32_t getMsb();</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;      uint32_t getLsb();</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;      <span class="keywordtype">void</span> setMsb(uint32_t msb);</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;      <span class="keywordtype">void</span> setLsb(uint32_t lsb);</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;      <span class="comment">//bool operator==(XBeeAddress64 addr);</span></div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;      <span class="comment">//bool operator!=(XBeeAddress64 addr);</span></div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;      uint32_t _msb;</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;      uint32_t _lsb;</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;};</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;<span class="comment">//class XBeeAddress16 : public XBeeAddress {</span></div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="comment">//public:</span></div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;<span class="comment">//    XBeeAddress16(uint16_t addr);</span></div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;<span class="comment">//    XBeeAddress16();</span></div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;<span class="comment">//    uint16_t getAddress();</span></div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<span class="comment">//    void setAddress(uint16_t addr);</span></div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="comment">//private:</span></div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;<span class="comment">//    uint16_t _addr;</span></div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="comment">//};</span></div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;</div>
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="class_frame_id_response.html">  324</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_frame_id_response.html">FrameIdResponse</a> : <span class="keyword">public</span> <a class="code" href="class_x_bee_response.html">XBeeResponse</a> {</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;      <a class="code" href="class_frame_id_response.html">FrameIdResponse</a>();</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;      uint8_t getFrameId();</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;      uint8_t _frameId;</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;};</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div>
<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="class_rx_data_response.html">  335</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_rx_data_response.html">RxDataResponse</a> : <span class="keyword">public</span> <a class="code" href="class_x_bee_response.html">XBeeResponse</a> {</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;      <a class="code" href="class_rx_data_response.html">RxDataResponse</a>();</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;      uint8_t <a class="code" href="class_rx_data_response.html#ae0f858fe479a07c7122a8d414c60517e">getData</a>(<span class="keywordtype">int</span> index);</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;      uint8_t* <a class="code" href="class_rx_data_response.html#ae0f858fe479a07c7122a8d414c60517e">getData</a>();</div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;      <span class="keyword">virtual</span> uint8_t <a class="code" href="class_rx_data_response.html#a5845e6a0719fd0bf52675e47053a704e">getDataLength</a>() = 0;</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;      <span class="keyword">virtual</span> uint8_t <a class="code" href="class_rx_data_response.html#a9e4b6bf4f1bfd9ccec45d190a204f61a">getDataOffset</a>() = 0;</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;};</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;<span class="comment">// getResponse to return the proper subclass:</span></div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;<span class="comment">// we maintain a pointer to each type of response, when a response is parsed, it is allocated only if NULL</span></div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;<span class="comment">// can we allocate an object in a function?</span></div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;<span class="preprocessor">#ifdef SERIES_2</span></div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;</div>
<div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="class_z_b_tx_status_response.html">  365</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_z_b_tx_status_response.html">ZBTxStatusResponse</a> : <span class="keyword">public</span> <a class="code" href="class_frame_id_response.html">FrameIdResponse</a> {</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;      <span class="keyword">public</span>:</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;            <a class="code" href="class_z_b_tx_status_response.html">ZBTxStatusResponse</a>();</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;            uint16_t getRemoteAddress();</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;            uint8_t getTxRetryCount();</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;            uint8_t getDeliveryStatus();</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;            uint8_t getDiscoveryStatus();</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;            <span class="keywordtype">bool</span> isSuccess();</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;};</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;</div>
<div class="line"><a name="l00378"></a><span class="lineno"><a class="line" href="class_z_b_rx_response.html">  378</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_z_b_rx_response.html">ZBRxResponse</a> : <span class="keyword">public</span> <a class="code" href="class_rx_data_response.html">RxDataResponse</a> {</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;      <a class="code" href="class_z_b_rx_response.html">ZBRxResponse</a>();</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a>&amp; getRemoteAddress64();</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;      uint16_t getRemoteAddress16();</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;      uint8_t getOption();</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;      uint8_t <a class="code" href="class_z_b_rx_response.html#a9d2b73060d611bbdd581e0ceb195fd31">getDataLength</a>();</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;      <span class="comment">// frame position where data starts</span></div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;      uint8_t <a class="code" href="class_z_b_rx_response.html#ad54e6ff3008f79d0ed32a78cc3d69151">getDataOffset</a>();</div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> _remoteAddress64;</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;};</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;</div>
<div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="class_z_b_rx_io_sample_response.html">  394</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_z_b_rx_io_sample_response.html">ZBRxIoSampleResponse</a> : <span class="keyword">public</span> <a class="code" href="class_z_b_rx_response.html">ZBRxResponse</a> {</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;      <a class="code" href="class_z_b_rx_io_sample_response.html">ZBRxIoSampleResponse</a>();</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;      <span class="keywordtype">bool</span> containsAnalog();</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;      <span class="keywordtype">bool</span> containsDigital();</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="class_z_b_rx_io_sample_response.html#ad0e444cc8854c996517c1ecde033a9c8">isAnalogEnabled</a>(uint8_t pin);</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="class_z_b_rx_io_sample_response.html#a946c653da11f62b319c3ca6606f8edff">isDigitalEnabled</a>(uint8_t pin);</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;      uint16_t <a class="code" href="class_z_b_rx_io_sample_response.html#aa74edf46988bd3e50ce4037350cbb91e">getAnalog</a>(uint8_t pin);</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="class_z_b_rx_io_sample_response.html#ac94f045360d7dbb009ac16bc437cbbd5">isDigitalOn</a>(uint8_t pin);</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;      uint8_t getDigitalMaskMsb();</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;      uint8_t getDigitalMaskLsb();</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;      uint8_t getAnalogMask();</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;};</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;<span class="preprocessor">#ifdef SERIES_1</span></div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;</div>
<div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="class_tx_status_response.html">  428</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_tx_status_response.html">TxStatusResponse</a> : <span class="keyword">public</span> <a class="code" href="class_frame_id_response.html">FrameIdResponse</a> {</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;      <span class="keyword">public</span>:</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;            <a class="code" href="class_tx_status_response.html">TxStatusResponse</a>();</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;            uint8_t getStatus();</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;            <span class="keywordtype">bool</span> isSuccess();</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;};</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;</div>
<div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="class_rx_response.html">  438</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_rx_response.html">RxResponse</a> : <span class="keyword">public</span> <a class="code" href="class_rx_data_response.html">RxDataResponse</a> {</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;      <a class="code" href="class_rx_response.html">RxResponse</a>();</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;      <span class="comment">// remember rssi is negative but this is unsigned byte so it&#39;s up to you to convert</span></div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;      uint8_t getRssi();</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;      uint8_t getOption();</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;      <span class="keywordtype">bool</span> isAddressBroadcast();</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;      <span class="keywordtype">bool</span> isPanBroadcast();</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;      uint8_t <a class="code" href="class_rx_response.html#add3478a1ce5667aad315f6a6c218011a">getDataLength</a>();</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;      uint8_t <a class="code" href="class_rx_response.html#a37fd3ee455f2157fa3894e710e668409">getDataOffset</a>();</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;      <span class="keyword">virtual</span> uint8_t getRssiOffset() = 0;</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;};</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;</div>
<div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="class_rx16_response.html">  454</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_rx16_response.html">Rx16Response</a> : <span class="keyword">public</span> <a class="code" href="class_rx_response.html">RxResponse</a> {</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;      <a class="code" href="class_rx16_response.html">Rx16Response</a>();</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;      uint8_t getRssiOffset();</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;      uint16_t getRemoteAddress16();</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;      uint16_t _remoteAddress;</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;};</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;</div>
<div class="line"><a name="l00466"></a><span class="lineno"><a class="line" href="class_rx64_response.html">  466</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_rx64_response.html">Rx64Response</a> : <span class="keyword">public</span> <a class="code" href="class_rx_response.html">RxResponse</a> {</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;      <a class="code" href="class_rx64_response.html">Rx64Response</a>();</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;      uint8_t getRssiOffset();</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a>&amp; getRemoteAddress64();</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> _remoteAddress;</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;};</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;</div>
<div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="class_rx_io_sample_base_response.html">  478</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_rx_io_sample_base_response.html">RxIoSampleBaseResponse</a> : <span class="keyword">public</span> <a class="code" href="class_rx_response.html">RxResponse</a> {</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;      <span class="keyword">public</span>:</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;            <a class="code" href="class_rx_io_sample_base_response.html">RxIoSampleBaseResponse</a>();</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;            uint8_t <a class="code" href="class_rx_io_sample_base_response.html#a44ce66a6751e7e39c8908fe179a21d24">getSampleSize</a>();</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;            <span class="keywordtype">bool</span> containsAnalog();</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;            <span class="keywordtype">bool</span> containsDigital();</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="class_rx_io_sample_base_response.html#ad8fc07932c2e011b83814082b1d82400">isAnalogEnabled</a>(uint8_t pin);</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="class_rx_io_sample_base_response.html#aa897267985b5b8c02abd68b50f954de7">isDigitalEnabled</a>(uint8_t pin);</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;            uint16_t <a class="code" href="class_rx_io_sample_base_response.html#a81e98b2eab33f62e6af6b3b4014e841a">getAnalog</a>(uint8_t pin, uint8_t sample);</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="class_rx_io_sample_base_response.html#ad4ffc0eb84c685fe45618d6b73a20ce2">isDigitalOn</a>(uint8_t pin, uint8_t sample);</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;            uint8_t getSampleOffset();</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;      <span class="keyword">private</span>:</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;};</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;</div>
<div class="line"><a name="l00509"></a><span class="lineno"><a class="line" href="class_rx16_io_sample_response.html">  509</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_rx16_io_sample_response.html">Rx16IoSampleResponse</a> : <span class="keyword">public</span> <a class="code" href="class_rx_io_sample_base_response.html">RxIoSampleBaseResponse</a> {</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;      <a class="code" href="class_rx16_io_sample_response.html">Rx16IoSampleResponse</a>();</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;      uint16_t getRemoteAddress16();</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;      uint8_t getRssiOffset();</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;};</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;</div>
<div class="line"><a name="l00517"></a><span class="lineno"><a class="line" href="class_rx64_io_sample_response.html">  517</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_rx64_io_sample_response.html">Rx64IoSampleResponse</a> : <span class="keyword">public</span> <a class="code" href="class_rx_io_sample_base_response.html">RxIoSampleBaseResponse</a> {</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;      <a class="code" href="class_rx64_io_sample_response.html">Rx64IoSampleResponse</a>();</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a>&amp; getRemoteAddress64();</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;      uint8_t getRssiOffset();</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> _remoteAddress;</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;};</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;</div>
<div class="line"><a name="l00531"></a><span class="lineno"><a class="line" href="class_modem_status_response.html">  531</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_modem_status_response.html">ModemStatusResponse</a> : <span class="keyword">public</span> <a class="code" href="class_x_bee_response.html">XBeeResponse</a> {</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;      <a class="code" href="class_modem_status_response.html">ModemStatusResponse</a>();</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;      uint8_t getStatus();</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;};</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;</div>
<div class="line"><a name="l00540"></a><span class="lineno"><a class="line" href="class_at_command_response.html">  540</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_at_command_response.html">AtCommandResponse</a> : <span class="keyword">public</span> <a class="code" href="class_frame_id_response.html">FrameIdResponse</a> {</div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;      <span class="keyword">public</span>:</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;            <a class="code" href="class_at_command_response.html">AtCommandResponse</a>();</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;            uint8_t* <a class="code" href="class_at_command_response.html#a20f1bf08ba77f2bc74f009318a6fd133">getCommand</a>();</div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;            uint8_t <a class="code" href="class_at_command_response.html#a340822cacf6eed3ef29955dc9610c09f">getStatus</a>();</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;            uint8_t* <a class="code" href="class_at_command_response.html#ad1e2a0b6f8988536c570b116f103e7f9">getValue</a>();</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;            uint8_t <a class="code" href="class_at_command_response.html#ad7d6159fa1777144e94a9ccfeaf83662">getValueLength</a>();</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="class_at_command_response.html#ab606b3dc93f809b828b54e98a79711d8">isOk</a>();</div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;};</div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;</div>
<div class="line"><a name="l00570"></a><span class="lineno"><a class="line" href="class_remote_at_command_response.html">  570</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_remote_at_command_response.html">RemoteAtCommandResponse</a> : <span class="keyword">public</span> <a class="code" href="class_at_command_response.html">AtCommandResponse</a> {</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;      <span class="keyword">public</span>:</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;            <a class="code" href="class_remote_at_command_response.html">RemoteAtCommandResponse</a>();</div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;            uint8_t* <a class="code" href="class_remote_at_command_response.html#a6d26d626de8b8d0eaf8241b92ff39f28">getCommand</a>();</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;            uint8_t <a class="code" href="class_remote_at_command_response.html#afc1b15612ea780c10dc1f33754868548">getStatus</a>();</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;            uint8_t* <a class="code" href="class_remote_at_command_response.html#a3d72d768131c63271a62f75530efda29">getValue</a>();</div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;            uint8_t <a class="code" href="class_remote_at_command_response.html#a55cf17381e461b8de4a2d5459bfc964a">getValueLength</a>();</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;            uint16_t <a class="code" href="class_remote_at_command_response.html#a2bea13bca12330a2eb1da3e3f0224bde">getRemoteAddress16</a>();</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;            <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a>&amp; <a class="code" href="class_remote_at_command_response.html#ab87802214e04a7058ed0dc9668e70e73">getRemoteAddress64</a>();</div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="class_remote_at_command_response.html#a0cef7b3846d9c208ebd7ce4473aa90d3">isOk</a>();</div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;      <span class="keyword">private</span>:</div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;            <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> _remoteAddress64;</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;};</div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;</div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;</div>
<div class="line"><a name="l00615"></a><span class="lineno"><a class="line" href="class_x_bee_request.html">  615</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_x_bee_request.html">XBeeRequest</a> {</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;      <a class="code" href="class_x_bee_request.html#af80fd559cab746ab8573087cddda71a2">XBeeRequest</a>(uint8_t apiId, uint8_t frameId);</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee_request.html#aed1724c11e710217807c971e40105c86">setFrameId</a>(uint8_t frameId);</div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;      uint8_t <a class="code" href="class_x_bee_request.html#a20394c7ea4666224c50bef25cc0cd836">getFrameId</a>();</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;      uint8_t <a class="code" href="class_x_bee_request.html#a746d0373c9fb6ed0ff8b7e04f5fb12c9">getApiId</a>();</div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;      <span class="comment">// setting = 0 makes this a pure virtual function, meaning the subclass must implement, like abstract in java</span></div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;<span class="comment"></span>      <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_bee_request.html#ad5b998cd95a570bdaa4d74c6c8790d94">getFrameData</a>(uint8_t pos) = 0;</div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;      <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_bee_request.html#a03b6c558db5836fa7167c0fba7405642">getFrameDataLength</a>() = 0;</div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;      <span class="comment">//void reset();</span></div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;      <span class="keywordtype">void</span> setApiId(uint8_t apiId);</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;      uint8_t _apiId;</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;      uint8_t _frameId;</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;};</div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;</div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;<span class="comment">// TODO add reset/clear method since responses are often reused</span></div>
<div class="line"><a name="l00676"></a><span class="lineno"><a class="line" href="class_x_bee.html">  676</a></span>&#160;<span class="comment"></span><span class="keyword">class </span><a class="code" href="class_x_bee.html">XBee</a> {</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;      <a class="code" href="class_x_bee.html">XBee</a>();</div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee.html#a7d788232f44e8b3c10dc686a0299fcc6">readPacket</a>();</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="class_x_bee.html#a7d788232f44e8b3c10dc686a0299fcc6">readPacket</a>(<span class="keywordtype">int</span> timeout);</div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee.html#a594e2bb2ccb7b3fe7a2278b9324b4083">readPacketUntilAvailable</a>();</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee.html#a2d170fc3f2412712adee0af794dc6263">begin</a>(Stream &amp;serial);</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee.html#a18250def80e8b643aa1ccc15a98937f3">getResponse</a>(<a class="code" href="class_x_bee_response.html">XBeeResponse</a> &amp;response);</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;      <a class="code" href="class_x_bee_response.html">XBeeResponse</a>&amp; <a class="code" href="class_x_bee.html#a18250def80e8b643aa1ccc15a98937f3">getResponse</a>();</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee.html#a802387f468be8622941d16739ac848f2">send</a>(<a class="code" href="class_x_bee_request.html">XBeeRequest</a> &amp;request);</div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;      <span class="comment">//uint8_t sendAndWaitForResponse(XBeeRequest &amp;request, int timeout);</span></div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;<span class="comment"></span>      uint8_t <a class="code" href="class_x_bee.html#a25bd226e41517e8a66a13e531d31438d">getNextFrameId</a>();</div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_x_bee.html#a58ff19e5342060ca91aea247db99b927">setSerial</a>(Stream &amp;serial);</div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;      <span class="keywordtype">bool</span> available();</div>
<div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;      uint8_t read();</div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;      <span class="keywordtype">void</span> flush();</div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;      <span class="keywordtype">void</span> write(uint8_t val);</div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;      <span class="keywordtype">void</span> sendByte(uint8_t b, <span class="keywordtype">bool</span> escape);</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;      <span class="keywordtype">void</span> resetResponse();</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;      <a class="code" href="class_x_bee_response.html">XBeeResponse</a> _response;</div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;      <span class="keywordtype">bool</span> _escape;</div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;      <span class="comment">// current packet position for response.  just a state variable for packet parsing and has no relevance for the response otherwise</span></div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;      uint8_t _pos;</div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;      <span class="comment">// last byte read</span></div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;      uint8_t b;</div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;      uint8_t _checksumTotal;</div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;      uint8_t _nextFrameId;</div>
<div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;      <span class="comment">// buffer for incoming RX packets.  holds only the api specific frame data, starting after the api id byte and prior to checksum</span></div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;      uint8_t _responseFrameData[MAX_FRAME_DATA_SIZE];</div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;      Stream* _serial;</div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;};</div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;</div>
<div class="line"><a name="l00749"></a><span class="lineno"><a class="line" href="class_payload_request.html">  749</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_payload_request.html">PayloadRequest</a> : <span class="keyword">public</span> <a class="code" href="class_x_bee_request.html">XBeeRequest</a> {</div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;      <a class="code" href="class_payload_request.html">PayloadRequest</a>(uint8_t apiId, uint8_t frameId, uint8_t *payload, uint8_t payloadLength);</div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;      uint8_t* <a class="code" href="class_payload_request.html#a1e2d5757fefda70dfd0c567b3dd0ba39">getPayload</a>();</div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_payload_request.html#aa9abc1f496a1c457f796207aa8a7567d">setPayload</a>(uint8_t* payloadPtr);</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;      uint8_t <a class="code" href="class_payload_request.html#afb718d069f05611623833437c99893a4">getPayloadLength</a>();</div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_payload_request.html#a6e86a663ab6299afaa1cf21ad7c2c5c1">setPayloadLength</a>(uint8_t payloadLength);</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;      uint8_t* _payloadPtr;</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;      uint8_t _payloadLength;</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;};</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;<span class="preprocessor">#ifdef SERIES_1</span></div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;</div>
<div class="line"><a name="l00785"></a><span class="lineno"><a class="line" href="class_tx16_request.html">  785</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_tx16_request.html">Tx16Request</a> : <span class="keyword">public</span> <a class="code" href="class_payload_request.html">PayloadRequest</a> {</div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;      <a class="code" href="class_tx16_request.html#adcdbb644e08788267fb86cbefde76b1b">Tx16Request</a>(uint16_t addr16, uint8_t option, uint8_t *payload, uint8_t payloadLength, uint8_t frameId);</div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;      <a class="code" href="class_tx16_request.html#adcdbb644e08788267fb86cbefde76b1b">Tx16Request</a>(uint16_t addr16, uint8_t *payload, uint8_t payloadLength);</div>
<div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;      <a class="code" href="class_tx16_request.html#adcdbb644e08788267fb86cbefde76b1b">Tx16Request</a>();</div>
<div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;      uint16_t getAddress16();</div>
<div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;      <span class="keywordtype">void</span> setAddress16(uint16_t addr16);</div>
<div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;      uint8_t getOption();</div>
<div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;      <span class="keywordtype">void</span> setOption(uint8_t option);</div>
<div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;      uint8_t <a class="code" href="class_tx16_request.html#af5ffbc2164e766d96f54c723996fd389">getFrameData</a>(uint8_t pos);</div>
<div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;      uint8_t <a class="code" href="class_tx16_request.html#a9a1ddfb380e72ecc09a024c6de6cdf8e">getFrameDataLength</a>();</div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;      uint16_t _addr16;</div>
<div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;      uint8_t _option;</div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;};</div>
<div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;</div>
<div class="line"><a name="l00817"></a><span class="lineno"><a class="line" href="class_tx64_request.html">  817</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_tx64_request.html">Tx64Request</a> : <span class="keyword">public</span> <a class="code" href="class_payload_request.html">PayloadRequest</a> {</div>
<div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;      <a class="code" href="class_tx64_request.html#a49bd84b4aa5478c27e6da5581b2e1d3c">Tx64Request</a>(<a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> &amp;addr64, uint8_t option, uint8_t *payload, uint8_t payloadLength, uint8_t frameId);</div>
<div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;      <a class="code" href="class_tx64_request.html#a49bd84b4aa5478c27e6da5581b2e1d3c">Tx64Request</a>(<a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> &amp;addr64, uint8_t *payload, uint8_t payloadLength);</div>
<div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;      <a class="code" href="class_tx64_request.html#a49bd84b4aa5478c27e6da5581b2e1d3c">Tx64Request</a>();</div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a>&amp; getAddress64();</div>
<div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;      <span class="keywordtype">void</span> setAddress64(<a class="code" href="class_x_bee_address64.html">XBeeAddress64</a>&amp; addr64);</div>
<div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160;      <span class="comment">// TODO move option to superclass</span></div>
<div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160;      uint8_t getOption();</div>
<div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;      <span class="keywordtype">void</span> setOption(uint8_t option);</div>
<div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;      uint8_t <a class="code" href="class_tx64_request.html#afe3662433da85acd21f8a3d90844a084">getFrameData</a>(uint8_t pos);</div>
<div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;      uint8_t <a class="code" href="class_tx64_request.html#afadc1e07718a62d6c5a75a4bb07dfaae">getFrameDataLength</a>();</div>
<div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> _addr64;</div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;      uint8_t _option;</div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;};</div>
<div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;</div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;</div>
<div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;</div>
<div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;<span class="preprocessor">#ifdef SERIES_2</span></div>
<div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;</div>
<div class="line"><a name="l00858"></a><span class="lineno"><a class="line" href="class_z_b_tx_request.html">  858</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_z_b_tx_request.html">ZBTxRequest</a> : <span class="keyword">public</span> <a class="code" href="class_payload_request.html">PayloadRequest</a> {</div>
<div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;      <a class="code" href="class_z_b_tx_request.html#a410499f31a049f0bd4bbc8299ec74e24">ZBTxRequest</a>(<a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> &amp;addr64, uint8_t *payload, uint8_t payloadLength);</div>
<div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;      <a class="code" href="class_z_b_tx_request.html#a410499f31a049f0bd4bbc8299ec74e24">ZBTxRequest</a>(<a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> &amp;addr64, uint16_t addr16, uint8_t broadcastRadius, uint8_t option, uint8_t *payload, uint8_t payloadLength, uint8_t frameId);</div>
<div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160;      <a class="code" href="class_z_b_tx_request.html#a410499f31a049f0bd4bbc8299ec74e24">ZBTxRequest</a>();</div>
<div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a>&amp; getAddress64();</div>
<div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;      uint16_t getAddress16();</div>
<div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;      uint8_t getBroadcastRadius();</div>
<div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;      uint8_t getOption();</div>
<div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;      <span class="keywordtype">void</span> setAddress64(<a class="code" href="class_x_bee_address64.html">XBeeAddress64</a>&amp; addr64);</div>
<div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;      <span class="keywordtype">void</span> setAddress16(uint16_t addr16);</div>
<div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;      <span class="keywordtype">void</span> setBroadcastRadius(uint8_t broadcastRadius);</div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;      <span class="keywordtype">void</span> setOption(uint8_t option);</div>
<div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;      <span class="comment">// declare virtual functions</span></div>
<div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;      uint8_t <a class="code" href="class_z_b_tx_request.html#ac81e09dfbf7aefbdf7f8b4838b643c5c">getFrameData</a>(uint8_t pos);</div>
<div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;      uint8_t <a class="code" href="class_z_b_tx_request.html#a8e6914c1f556981a0f863c57c57d053b">getFrameDataLength</a>();</div>
<div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> _addr64;</div>
<div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;      uint16_t _addr16;</div>
<div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;      uint8_t _broadcastRadius;</div>
<div class="line"><a name="l00886"></a><span class="lineno">  886</span>&#160;      uint8_t _option;</div>
<div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;};</div>
<div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;</div>
<div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;</div>
<div class="line"><a name="l00895"></a><span class="lineno"><a class="line" href="class_at_command_request.html">  895</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_at_command_request.html">AtCommandRequest</a> : <span class="keyword">public</span> <a class="code" href="class_x_bee_request.html">XBeeRequest</a> {</div>
<div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;      <a class="code" href="class_at_command_request.html">AtCommandRequest</a>();</div>
<div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;      <a class="code" href="class_at_command_request.html">AtCommandRequest</a>(uint8_t *command);</div>
<div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;      <a class="code" href="class_at_command_request.html">AtCommandRequest</a>(uint8_t *command, uint8_t *commandValue, uint8_t commandValueLength);</div>
<div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;      uint8_t <a class="code" href="class_at_command_request.html#aa4fc8f0c8404172cd5532f3d8e5564f2">getFrameData</a>(uint8_t pos);</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;      uint8_t <a class="code" href="class_at_command_request.html#aad12b8357e63fca9e95b6731a4bfda0d">getFrameDataLength</a>();</div>
<div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;      uint8_t* getCommand();</div>
<div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;      <span class="keywordtype">void</span> setCommand(uint8_t* command);</div>
<div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;      uint8_t* getCommandValue();</div>
<div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;      <span class="keywordtype">void</span> setCommandValue(uint8_t* command);</div>
<div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;      uint8_t getCommandValueLength();</div>
<div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;      <span class="keywordtype">void</span> setCommandValueLength(uint8_t length);</div>
<div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="class_at_command_request.html#a6842d0e270162c389d804eafd37a4f45">clearCommandValue</a>();</div>
<div class="line"><a name="l00912"></a><span class="lineno">  912</span>&#160;      <span class="comment">//void reset();</span></div>
<div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;      uint8_t *_command;</div>
<div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;      uint8_t *_commandValue;</div>
<div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;      uint8_t _commandValueLength;</div>
<div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;};</div>
<div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;</div>
<div class="line"><a name="l00923"></a><span class="lineno"><a class="line" href="class_remote_at_command_request.html">  923</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_remote_at_command_request.html">RemoteAtCommandRequest</a> : <span class="keyword">public</span> <a class="code" href="class_at_command_request.html">AtCommandRequest</a> {</div>
<div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160;      <a class="code" href="class_remote_at_command_request.html">RemoteAtCommandRequest</a>();</div>
<div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;      <a class="code" href="class_remote_at_command_request.html">RemoteAtCommandRequest</a>(uint16_t remoteAddress16, uint8_t *command, uint8_t *commandValue, uint8_t commandValueLength);</div>
<div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;      <a class="code" href="class_remote_at_command_request.html">RemoteAtCommandRequest</a>(uint16_t remoteAddress16, uint8_t *command);</div>
<div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;      <a class="code" href="class_remote_at_command_request.html">RemoteAtCommandRequest</a>(<a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> &amp;remoteAddress64, uint8_t *command, uint8_t *commandValue, uint8_t commandValueLength);</div>
<div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;      <a class="code" href="class_remote_at_command_request.html">RemoteAtCommandRequest</a>(<a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> &amp;remoteAddress64, uint8_t *command);</div>
<div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;      uint16_t getRemoteAddress16();</div>
<div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;      <span class="keywordtype">void</span> setRemoteAddress16(uint16_t remoteAddress16);</div>
<div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a>&amp; getRemoteAddress64();</div>
<div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;      <span class="keywordtype">void</span> setRemoteAddress64(<a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> &amp;remoteAddress64);</div>
<div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;      <span class="keywordtype">bool</span> getApplyChanges();</div>
<div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;      <span class="keywordtype">void</span> setApplyChanges(<span class="keywordtype">bool</span> applyChanges);</div>
<div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;      uint8_t <a class="code" href="class_remote_at_command_request.html#a0e576cf564ebd5a82cb2ed05239a856a">getFrameData</a>(uint8_t pos);</div>
<div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;      uint8_t <a class="code" href="class_remote_at_command_request.html#a1d78334a8924b0a0e06de6ef3a09c24f">getFrameDataLength</a>();</div>
<div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;      <span class="keyword">static</span> <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> broadcastAddress64;</div>
<div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;<span class="comment">//    static uint16_t broadcast16Address;</span></div>
<div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;      <a class="code" href="class_x_bee_address64.html">XBeeAddress64</a> _remoteAddress64;</div>
<div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;      uint16_t _remoteAddress16;</div>
<div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;      <span class="keywordtype">bool</span> _applyChanges;</div>
<div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;};</div>
<div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;</div>
<div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;</div>
<div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;</div>
<div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;<span class="preprocessor">#endif //XBee_h</span></div>
<div class="ttc" id="class_x_bee_response_html_a4a9677e3b39054119fa278d1ad52130a"><div class="ttname"><a href="class_x_bee_response.html#a4a9677e3b39054119fa278d1ad52130a">XBeeResponse::getApiId</a></div><div class="ttdeci">uint8_t getApiId()</div><div class="ttdoc">Returns Api Id of the response. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:34</div></div>
<div class="ttc" id="class_x_bee_request_html"><div class="ttname"><a href="class_x_bee_request.html">XBeeRequest</a></div><div class="ttdoc">Super class of all XBee requests (TX packets) Users should never create an instance of this class; in...</div><div class="ttdef"><b>Definition:</b> XBee.h:615</div></div>
<div class="ttc" id="class_remote_at_command_request_html_a1d78334a8924b0a0e06de6ef3a09c24f"><div class="ttname"><a href="class_remote_at_command_request.html#a1d78334a8924b0a0e06de6ef3a09c24f">RemoteAtCommandRequest::getFrameDataLength</a></div><div class="ttdeci">uint8_t getFrameDataLength()</div><div class="ttdoc">Returns the size of the api frame (not including frame id or api id or checksum). ...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:1413</div></div>
<div class="ttc" id="class_tx64_request_html_a49bd84b4aa5478c27e6da5581b2e1d3c"><div class="ttname"><a href="class_tx64_request.html#a49bd84b4aa5478c27e6da5581b2e1d3c">Tx64Request::Tx64Request</a></div><div class="ttdeci">Tx64Request()</div><div class="ttdoc">Creates a default instance of this class. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:1193</div></div>
<div class="ttc" id="class_frame_id_response_html"><div class="ttname"><a href="class_frame_id_response.html">FrameIdResponse</a></div><div class="ttdoc">This class is extended by all Responses that include a frame id. </div><div class="ttdef"><b>Definition:</b> XBee.h:324</div></div>
<div class="ttc" id="class_x_bee_html_a25bd226e41517e8a66a13e531d31438d"><div class="ttname"><a href="class_x_bee.html#a25bd226e41517e8a66a13e531d31438d">XBee::getNextFrameId</a></div><div class="ttdeci">uint8_t getNextFrameId()</div><div class="ttdoc">Returns a sequential frame id between 1 and 255. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:773</div></div>
<div class="ttc" id="class_tx_status_response_html"><div class="ttname"><a href="class_tx_status_response.html">TxStatusResponse</a></div><div class="ttdoc">Represents a Series 1 TX Status packet. </div><div class="ttdef"><b>Definition:</b> XBee.h:428</div></div>
<div class="ttc" id="class_remote_at_command_response_html_a0cef7b3846d9c208ebd7ce4473aa90d3"><div class="ttname"><a href="class_remote_at_command_response.html#a0cef7b3846d9c208ebd7ce4473aa90d3">RemoteAtCommandResponse::isOk</a></div><div class="ttdeci">bool isOk()</div><div class="ttdoc">Returns true if command was successful. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:604</div></div>
<div class="ttc" id="class_rx_response_html"><div class="ttname"><a href="class_rx_response.html">RxResponse</a></div><div class="ttdoc">Represents a Series 1 RX packet. </div><div class="ttdef"><b>Definition:</b> XBee.h:438</div></div>
<div class="ttc" id="class_rx_io_sample_base_response_html_ad8fc07932c2e011b83814082b1d82400"><div class="ttname"><a href="class_rx_io_sample_base_response.html#ad8fc07932c2e011b83814082b1d82400">RxIoSampleBaseResponse::isAnalogEnabled</a></div><div class="ttdeci">bool isAnalogEnabled(uint8_t pin)</div><div class="ttdoc">Returns true if the specified analog pin is enabled. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:317</div></div>
<div class="ttc" id="class_payload_request_html_afb718d069f05611623833437c99893a4"><div class="ttname"><a href="class_payload_request.html#afb718d069f05611623833437c99893a4">PayloadRequest::getPayloadLength</a></div><div class="ttdeci">uint8_t getPayloadLength()</div><div class="ttdoc">Returns the length of the payload array, as specified by the user. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:1009</div></div>
<div class="ttc" id="class_payload_request_html_a1e2d5757fefda70dfd0c567b3dd0ba39"><div class="ttname"><a href="class_payload_request.html#a1e2d5757fefda70dfd0c567b3dd0ba39">PayloadRequest::getPayload</a></div><div class="ttdeci">uint8_t * getPayload()</div><div class="ttdoc">Returns the payload of the packet, if not null. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:1001</div></div>
<div class="ttc" id="class_remote_at_command_response_html_a55cf17381e461b8de4a2d5459bfc964a"><div class="ttname"><a href="class_remote_at_command_response.html#a55cf17381e461b8de4a2d5459bfc964a">RemoteAtCommandResponse::getValueLength</a></div><div class="ttdeci">uint8_t getValueLength()</div><div class="ttdoc">Returns the length of the command value array. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:609</div></div>
<div class="ttc" id="class_x_bee_response_html_aa8f34253bb77196366ea8ac9bc318734"><div class="ttname"><a href="class_x_bee_response.html#aa8f34253bb77196366ea8ac9bc318734">XBeeResponse::getChecksum</a></div><div class="ttdeci">uint8_t getChecksum()</div><div class="ttdoc">Returns the packet checksum. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:58</div></div>
<div class="ttc" id="class_x_bee_response_html_a0c1f8d66b1b276fd6d482c589d5cda3d"><div class="ttname"><a href="class_x_bee_response.html#a0c1f8d66b1b276fd6d482c589d5cda3d">XBeeResponse::getZBRxIoSampleResponse</a></div><div class="ttdeci">void getZBRxIoSampleResponse(XBeeResponse &amp;response)</div><div class="ttdoc">Call with instance of ZBRxIoSampleResponse class only if getApiId() == ZB_IO_SAMPLE_RESPONSE to popul...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:255</div></div>
<div class="ttc" id="class_z_b_rx_io_sample_response_html_ad0e444cc8854c996517c1ecde033a9c8"><div class="ttname"><a href="class_z_b_rx_io_sample_response.html#ad0e444cc8854c996517c1ecde033a9c8">ZBRxIoSampleResponse::isAnalogEnabled</a></div><div class="ttdeci">bool isAnalogEnabled(uint8_t pin)</div><div class="ttdoc">Returns true if the pin is enabled. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:205</div></div>
<div class="ttc" id="class_x_bee_response_html_af084604e35462783ecd293ffc090d6dc"><div class="ttname"><a href="class_x_bee_response.html#af084604e35462783ecd293ffc090d6dc">XBeeResponse::init</a></div><div class="ttdeci">void init()</div><div class="ttdoc">Initializes the response. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:733</div></div>
<div class="ttc" id="class_x_bee_response_html_acb1b40edafa22461776b75bd5d7caadf"><div class="ttname"><a href="class_x_bee_response.html#acb1b40edafa22461776b75bd5d7caadf">XBeeResponse::getLsbLength</a></div><div class="ttdeci">uint8_t getLsbLength()</div><div class="ttdoc">Returns the LSB length of the packet. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:50</div></div>
<div class="ttc" id="class_rx_data_response_html_a5845e6a0719fd0bf52675e47053a704e"><div class="ttname"><a href="class_rx_data_response.html#a5845e6a0719fd0bf52675e47053a704e">RxDataResponse::getDataLength</a></div><div class="ttdeci">virtual uint8_t getDataLength()=0</div><div class="ttdoc">Returns the length of the payload. </div></div>
<div class="ttc" id="class_x_bee_address64_html"><div class="ttname"><a href="class_x_bee_address64.html">XBeeAddress64</a></div><div class="ttdoc">Represents a 64-bit XBee Address. </div><div class="ttdef"><b>Definition:</b> XBee.h:296</div></div>
<div class="ttc" id="class_x_bee_html_a2d170fc3f2412712adee0af794dc6263"><div class="ttname"><a href="class_x_bee.html#a2d170fc3f2412712adee0af794dc6263">XBee::begin</a></div><div class="ttdeci">void begin(Stream &amp;serial)</div><div class="ttdoc">Starts the serial connection on the specified serial port. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:786</div></div>
<div class="ttc" id="class_x_bee_request_html_a746d0373c9fb6ed0ff8b7e04f5fb12c9"><div class="ttname"><a href="class_x_bee_request.html#a746d0373c9fb6ed0ff8b7e04f5fb12c9">XBeeRequest::getApiId</a></div><div class="ttdeci">uint8_t getApiId()</div><div class="ttdoc">Returns the API id. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:975</div></div>
<div class="ttc" id="class_x_bee_response_html_ae84d38e3759ebf8b23d256b207e5761d"><div class="ttname"><a href="class_x_bee_response.html#ae84d38e3759ebf8b23d256b207e5761d">XBeeResponse::getRx16IoSampleResponse</a></div><div class="ttdeci">void getRx16IoSampleResponse(XBeeResponse &amp;response)</div><div class="ttdoc">Call with instance of Rx16IoSampleResponse only if getApiId() == RX_16_IO_RESPONSE. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:484</div></div>
<div class="ttc" id="class_remote_at_command_response_html"><div class="ttname"><a href="class_remote_at_command_response.html">RemoteAtCommandResponse</a></div><div class="ttdoc">Represents a Remote AT Command RX packet. </div><div class="ttdef"><b>Definition:</b> XBee.h:570</div></div>
<div class="ttc" id="class_x_bee_response_html_a72e5b863c14a9ec0a4f1cdeba5f24e58"><div class="ttname"><a href="class_x_bee_response.html#a72e5b863c14a9ec0a4f1cdeba5f24e58">XBeeResponse::getRx64Response</a></div><div class="ttdeci">void getRx64Response(XBeeResponse &amp;response)</div><div class="ttdoc">Call with instance of Rx64Response only if getApiId() == RX_64_RESPONSE. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:578</div></div>
<div class="ttc" id="class_at_command_response_html_ad1e2a0b6f8988536c570b116f103e7f9"><div class="ttname"><a href="class_at_command_response.html#ad1e2a0b6f8988536c570b116f103e7f9">AtCommandResponse::getValue</a></div><div class="ttdeci">uint8_t * getValue()</div><div class="ttdoc">Returns an array containing the command value. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:699</div></div>
<div class="ttc" id="class_z_b_tx_request_html_a8e6914c1f556981a0f863c57c57d053b"><div class="ttname"><a href="class_z_b_tx_request.html#a8e6914c1f556981a0f863c57c57d053b">ZBTxRequest::getFrameDataLength</a></div><div class="ttdeci">uint8_t getFrameDataLength()</div><div class="ttdoc">Returns the size of the api frame (not including frame id or api id or checksum). ...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:1106</div></div>
<div class="ttc" id="class_rx16_response_html"><div class="ttname"><a href="class_rx16_response.html">Rx16Response</a></div><div class="ttdoc">Represents a Series 1 16-bit address RX packet. </div><div class="ttdef"><b>Definition:</b> XBee.h:454</div></div>
<div class="ttc" id="class_remote_at_command_response_html_a6d26d626de8b8d0eaf8241b92ff39f28"><div class="ttname"><a href="class_remote_at_command_response.html#a6d26d626de8b8d0eaf8241b92ff39f28">RemoteAtCommandResponse::getCommand</a></div><div class="ttdeci">uint8_t * getCommand()</div><div class="ttdoc">Returns an array containing the two character command. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:596</div></div>
<div class="ttc" id="class_x_bee_response_html_a2895438378d2738e3efe74b1c838170b"><div class="ttname"><a href="class_x_bee_response.html#a2895438378d2738e3efe74b1c838170b">XBeeResponse::getErrorCode</a></div><div class="ttdeci">uint8_t getErrorCode()</div><div class="ttdoc">Returns an error code, or zero, if successful. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:86</div></div>
<div class="ttc" id="class_x_bee_response_html_ad93317521b52825c32b43d34a0f189d1"><div class="ttname"><a href="class_x_bee_response.html#ad93317521b52825c32b43d34a0f189d1">XBeeResponse::getModemStatusResponse</a></div><div class="ttdeci">void getModemStatusResponse(XBeeResponse &amp;response)</div><div class="ttdoc">Call with instance of ModemStatusResponse only if getApiId() == MODEM_STATUS_RESPONSE. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:673</div></div>
<div class="ttc" id="class_x_bee_response_html_a26a7c8baad9cc0322a38db997685d889"><div class="ttname"><a href="class_x_bee_response.html#a26a7c8baad9cc0322a38db997685d889">XBeeResponse::getPacketLength</a></div><div class="ttdeci">uint16_t getPacketLength()</div><div class="ttdoc">Returns the length of the packet. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:721</div></div>
<div class="ttc" id="class_x_bee_html_a58ff19e5342060ca91aea247db99b927"><div class="ttname"><a href="class_x_bee.html#a58ff19e5342060ca91aea247db99b927">XBee::setSerial</a></div><div class="ttdeci">void setSerial(Stream &amp;serial)</div><div class="ttdoc">Specify the serial port. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:790</div></div>
<div class="ttc" id="class_z_b_rx_io_sample_response_html"><div class="ttname"><a href="class_z_b_rx_io_sample_response.html">ZBRxIoSampleResponse</a></div><div class="ttdoc">Represents a Series 2 RX I/O Sample packet. </div><div class="ttdef"><b>Definition:</b> XBee.h:394</div></div>
<div class="ttc" id="class_remote_at_command_request_html"><div class="ttname"><a href="class_remote_at_command_request.html">RemoteAtCommandRequest</a></div><div class="ttdoc">Represents an Remote AT Command TX packet The command is used to configure a remote XBee radio...</div><div class="ttdef"><b>Definition:</b> XBee.h:923</div></div>
<div class="ttc" id="class_at_command_request_html_aad12b8357e63fca9e95b6731a4bfda0d"><div class="ttname"><a href="class_at_command_request.html#aad12b8357e63fca9e95b6731a4bfda0d">AtCommandRequest::getFrameDataLength</a></div><div class="ttdeci">uint8_t getFrameDataLength()</div><div class="ttdoc">Returns the size of the api frame (not including frame id or api id or checksum). ...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:1314</div></div>
<div class="ttc" id="class_at_command_response_html_a340822cacf6eed3ef29955dc9610c09f"><div class="ttname"><a href="class_at_command_response.html#a340822cacf6eed3ef29955dc9610c09f">AtCommandResponse::getStatus</a></div><div class="ttdeci">uint8_t getStatus()</div><div class="ttdoc">Returns the command status code. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:691</div></div>
<div class="ttc" id="class_rx_io_sample_base_response_html_ad4ffc0eb84c685fe45618d6b73a20ce2"><div class="ttname"><a href="class_rx_io_sample_base_response.html#ad4ffc0eb84c685fe45618d6b73a20ce2">RxIoSampleBaseResponse::isDigitalOn</a></div><div class="ttdeci">bool isDigitalOn(uint8_t pin, uint8_t sample)</div><div class="ttdoc">Returns true if the specified pin is high/on. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:459</div></div>
<div class="ttc" id="class_rx_io_sample_base_response_html_a44ce66a6751e7e39c8908fe179a21d24"><div class="ttname"><a href="class_rx_io_sample_base_response.html#a44ce66a6751e7e39c8908fe179a21d24">RxIoSampleBaseResponse::getSampleSize</a></div><div class="ttdeci">uint8_t getSampleSize()</div><div class="ttdoc">Returns the number of samples in this packet. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:301</div></div>
<div class="ttc" id="class_payload_request_html_aa9abc1f496a1c457f796207aa8a7567d"><div class="ttname"><a href="class_payload_request.html#aa9abc1f496a1c457f796207aa8a7567d">PayloadRequest::setPayload</a></div><div class="ttdeci">void setPayload(uint8_t *payloadPtr)</div><div class="ttdoc">Sets the payload array. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:1005</div></div>
<div class="ttc" id="class_rx_io_sample_base_response_html"><div class="ttname"><a href="class_rx_io_sample_base_response.html">RxIoSampleBaseResponse</a></div><div class="ttdoc">Represents a Series 1 RX I/O Sample packet. </div><div class="ttdef"><b>Definition:</b> XBee.h:478</div></div>
<div class="ttc" id="class_z_b_rx_io_sample_response_html_aa74edf46988bd3e50ce4037350cbb91e"><div class="ttname"><a href="class_z_b_rx_io_sample_response.html#aa74edf46988bd3e50ce4037350cbb91e">ZBRxIoSampleResponse::getAnalog</a></div><div class="ttdeci">uint16_t getAnalog(uint8_t pin)</div><div class="ttdoc">Returns the 10-bit analog reading of the specified pin. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:218</div></div>
<div class="ttc" id="class_rx_data_response_html_a9e4b6bf4f1bfd9ccec45d190a204f61a"><div class="ttname"><a href="class_rx_data_response.html#a9e4b6bf4f1bfd9ccec45d190a204f61a">RxDataResponse::getDataOffset</a></div><div class="ttdeci">virtual uint8_t getDataOffset()=0</div><div class="ttdoc">Returns the position in the frame data where the data begins. </div></div>
<div class="ttc" id="class_x_bee_response_html_ab60b2cc9e32fa88dee132f410cc8331d"><div class="ttname"><a href="class_x_bee_response.html#ab60b2cc9e32fa88dee132f410cc8331d">XBeeResponse::isAvailable</a></div><div class="ttdeci">bool isAvailable()</div><div class="ttdoc">Returns true if the response has been successfully parsed and is complete and ready for use...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:74</div></div>
<div class="ttc" id="class_x_bee_response_html_a68cbc45004ff4314161b0fb1cc579b9b"><div class="ttname"><a href="class_x_bee_response.html#a68cbc45004ff4314161b0fb1cc579b9b">XBeeResponse::isError</a></div><div class="ttdeci">bool isError()</div><div class="ttdoc">Returns true if the response contains errors. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:82</div></div>
<div class="ttc" id="class_z_b_tx_request_html_a410499f31a049f0bd4bbc8299ec74e24"><div class="ttname"><a href="class_z_b_tx_request.html#a410499f31a049f0bd4bbc8299ec74e24">ZBTxRequest::ZBTxRequest</a></div><div class="ttdeci">ZBTxRequest()</div><div class="ttdoc">Creates a default instance of this class. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:1058</div></div>
<div class="ttc" id="class_x_bee_response_html_a03a6ea7651a40062c22ca0a37fbf512f"><div class="ttname"><a href="class_x_bee_response.html#a03a6ea7651a40062c22ca0a37fbf512f">XBeeResponse::XBeeResponse</a></div><div class="ttdeci">XBeeResponse()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:30</div></div>
<div class="ttc" id="class_z_b_rx_io_sample_response_html_ac94f045360d7dbb009ac16bc437cbbd5"><div class="ttname"><a href="class_z_b_rx_io_sample_response.html#ac94f045360d7dbb009ac16bc437cbbd5">ZBRxIoSampleResponse::isDigitalOn</a></div><div class="ttdeci">bool isDigitalOn(uint8_t pin)</div><div class="ttdoc">Returns true if the specified pin is high/on. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:243</div></div>
<div class="ttc" id="class_tx64_request_html_afe3662433da85acd21f8a3d90844a084"><div class="ttname"><a href="class_tx64_request.html#afe3662433da85acd21f8a3d90844a084">Tx64Request::getFrameData</a></div><div class="ttdeci">uint8_t getFrameData(uint8_t pos)</div><div class="ttdoc">Starting after the frame id (pos = 0) and up to but not including the checksum Note: Unlike Digi&#39;s de...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:1207</div></div>
<div class="ttc" id="class_x_bee_response_html_ab85f25eac3e57d665e2189d84cb5d2e3"><div class="ttname"><a href="class_x_bee_response.html#ab85f25eac3e57d665e2189d84cb5d2e3">XBeeResponse::getRx16Response</a></div><div class="ttdeci">void getRx16Response(XBeeResponse &amp;response)</div><div class="ttdoc">Call with instance of Rx16Response only if getApiId() == RX_16_RESPONSE. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:563</div></div>
<div class="ttc" id="class_x_bee_response_html_a1353f14b87b9cbdc1f8001fb8c5e9d35"><div class="ttname"><a href="class_x_bee_response.html#a1353f14b87b9cbdc1f8001fb8c5e9d35">XBeeResponse::getZBTxStatusResponse</a></div><div class="ttdeci">void getZBTxStatusResponse(XBeeResponse &amp;response)</div><div class="ttdoc">Call with instance of ZBTxStatusResponse class only if getApiId() == ZB_TX_STATUS_RESPONSE to populat...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:131</div></div>
<div class="ttc" id="class_at_command_request_html"><div class="ttname"><a href="class_at_command_request.html">AtCommandRequest</a></div><div class="ttdoc">Represents an AT Command TX packet The command is used to configure the serially connected XBee radio...</div><div class="ttdef"><b>Definition:</b> XBee.h:895</div></div>
<div class="ttc" id="class_z_b_tx_request_html_ac81e09dfbf7aefbdf7f8b4838b643c5c"><div class="ttname"><a href="class_z_b_tx_request.html#ac81e09dfbf7aefbdf7f8b4838b643c5c">ZBTxRequest::getFrameData</a></div><div class="ttdeci">uint8_t getFrameData(uint8_t pos)</div><div class="ttdoc">Starting after the frame id (pos = 0) and up to but not including the checksum Note: Unlike Digi&#39;s de...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:1076</div></div>
<div class="ttc" id="class_tx64_request_html"><div class="ttname"><a href="class_tx64_request.html">Tx64Request</a></div><div class="ttdoc">Represents a Series 1 TX packet that corresponds to Api Id: TX_64_REQUEST. </div><div class="ttdef"><b>Definition:</b> XBee.h:817</div></div>
<div class="ttc" id="class_z_b_rx_response_html_ad54e6ff3008f79d0ed32a78cc3d69151"><div class="ttname"><a href="class_z_b_rx_response.html#ad54e6ff3008f79d0ed32a78cc3d69151">ZBRxResponse::getDataOffset</a></div><div class="ttdeci">uint8_t getDataOffset()</div><div class="ttdoc">Returns the position in the frame data where the data begins. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:153</div></div>
<div class="ttc" id="class_modem_status_response_html"><div class="ttname"><a href="class_modem_status_response.html">ModemStatusResponse</a></div><div class="ttdoc">Represents a Modem Status RX packet. </div><div class="ttdef"><b>Definition:</b> XBee.h:531</div></div>
<div class="ttc" id="class_remote_at_command_response_html_ab87802214e04a7058ed0dc9668e70e73"><div class="ttname"><a href="class_remote_at_command_response.html#ab87802214e04a7058ed0dc9668e70e73">RemoteAtCommandResponse::getRemoteAddress64</a></div><div class="ttdeci">XBeeAddress64 &amp; getRemoteAddress64()</div><div class="ttdoc">Returns the 64-bit address of the remote radio. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:626</div></div>
<div class="ttc" id="class_x_bee_response_html_a6205be340c4f0397a68dadbdca36a091"><div class="ttname"><a href="class_x_bee_response.html#a6205be340c4f0397a68dadbdca36a091">XBeeResponse::getFrameDataLength</a></div><div class="ttdeci">uint8_t getFrameDataLength()</div><div class="ttdoc">Returns the length of the frame data: all bytes after the api id, and prior to the checksum Note up t...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:66</div></div>
<div class="ttc" id="class_rx_io_sample_base_response_html_aa897267985b5b8c02abd68b50f954de7"><div class="ttname"><a href="class_rx_io_sample_base_response.html#aa897267985b5b8c02abd68b50f954de7">RxIoSampleBaseResponse::isDigitalEnabled</a></div><div class="ttdeci">bool isDigitalEnabled(uint8_t pin)</div><div class="ttdoc">Returns true if the specified digital pin is enabled. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:321</div></div>
<div class="ttc" id="class_z_b_rx_response_html"><div class="ttname"><a href="class_z_b_rx_response.html">ZBRxResponse</a></div><div class="ttdoc">Represents a Series 2 RX packet. </div><div class="ttdef"><b>Definition:</b> XBee.h:378</div></div>
<div class="ttc" id="class_x_bee_html_a7d788232f44e8b3c10dc686a0299fcc6"><div class="ttname"><a href="class_x_bee.html#a7d788232f44e8b3c10dc686a0299fcc6">XBee::readPacket</a></div><div class="ttdeci">void readPacket()</div><div class="ttdoc">Reads all available serial bytes until a packet is parsed, an error occurs, or the buffer is empty...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:855</div></div>
<div class="ttc" id="class_x_bee_response_html_aae9f85f70cbcb92cfcc278295a947952"><div class="ttname"><a href="class_x_bee_response.html#aae9f85f70cbcb92cfcc278295a947952">XBeeResponse::getMsbLength</a></div><div class="ttdeci">uint8_t getMsbLength()</div><div class="ttdoc">Returns the MSB length of the packet. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:42</div></div>
<div class="ttc" id="class_x_bee_html_a594e2bb2ccb7b3fe7a2278b9324b4083"><div class="ttname"><a href="class_x_bee.html#a594e2bb2ccb7b3fe7a2278b9324b4083">XBee::readPacketUntilAvailable</a></div><div class="ttdeci">void readPacketUntilAvailable()</div><div class="ttdoc">Reads until a packet is received or an error occurs. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:825</div></div>
<div class="ttc" id="class_rx_response_html_add3478a1ce5667aad315f6a6c218011a"><div class="ttname"><a href="class_rx_response.html#add3478a1ce5667aad315f6a6c218011a">RxResponse::getDataLength</a></div><div class="ttdeci">uint8_t getDataLength()</div><div class="ttdoc">Returns the length of the payload. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:551</div></div>
<div class="ttc" id="class_x_bee_response_html_af359dab94c57006a0fb4b58986744c04"><div class="ttname"><a href="class_x_bee_response.html#af359dab94c57006a0fb4b58986744c04">XBeeResponse::getRemoteAtCommandResponse</a></div><div class="ttdeci">void getRemoteAtCommandResponse(XBeeResponse &amp;response)</div><div class="ttdoc">Call with instance of RemoteAtCommandResponse only if getApiId() == REMOTE_AT_COMMAND_RESPONSE. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:630</div></div>
<div class="ttc" id="class_remote_at_command_response_html_a2bea13bca12330a2eb1da3e3f0224bde"><div class="ttname"><a href="class_remote_at_command_response.html#a2bea13bca12330a2eb1da3e3f0224bde">RemoteAtCommandResponse::getRemoteAddress16</a></div><div class="ttdeci">uint16_t getRemoteAddress16()</div><div class="ttdoc">Returns the 16-bit address of the remote radio. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:622</div></div>
<div class="ttc" id="class_tx16_request_html_adcdbb644e08788267fb86cbefde76b1b"><div class="ttname"><a href="class_tx16_request.html#adcdbb644e08788267fb86cbefde76b1b">Tx16Request::Tx16Request</a></div><div class="ttdeci">Tx16Request()</div><div class="ttdoc">Creates a default instance of this class. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:1146</div></div>
<div class="ttc" id="class_tx16_request_html_af5ffbc2164e766d96f54c723996fd389"><div class="ttname"><a href="class_tx16_request.html#af5ffbc2164e766d96f54c723996fd389">Tx16Request::getFrameData</a></div><div class="ttdeci">uint8_t getFrameData(uint8_t pos)</div><div class="ttdoc">Starting after the frame id (pos = 0) and up to but not including the checksum Note: Unlike Digi&#39;s de...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:1160</div></div>
<div class="ttc" id="class_z_b_rx_io_sample_response_html_a946c653da11f62b319c3ca6606f8edff"><div class="ttname"><a href="class_z_b_rx_io_sample_response.html#a946c653da11f62b319c3ca6606f8edff">ZBRxIoSampleResponse::isDigitalEnabled</a></div><div class="ttdeci">bool isDigitalEnabled(uint8_t pin)</div><div class="ttdoc">Returns true if the pin is enabled. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:209</div></div>
<div class="ttc" id="class_x_bee_response_html_ad958f0b5200138545bdd762111299a94"><div class="ttname"><a href="class_x_bee_response.html#ad958f0b5200138545bdd762111299a94">XBeeResponse::getFrameData</a></div><div class="ttdeci">uint8_t * getFrameData()</div><div class="ttdoc">Returns the buffer that contains the response. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:725</div></div>
<div class="ttc" id="class_x_bee_html_a802387f468be8622941d16739ac848f2"><div class="ttname"><a href="class_x_bee.html#a802387f468be8622941d16739ac848f2">XBee::send</a></div><div class="ttdeci">void send(XBeeRequest &amp;request)</div><div class="ttdoc">Sends a XBeeRequest (TX packet) out the serial port. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:1423</div></div>
<div class="ttc" id="class_rx_response_html_a37fd3ee455f2157fa3894e710e668409"><div class="ttname"><a href="class_rx_response.html#a37fd3ee455f2157fa3894e710e668409">RxResponse::getDataOffset</a></div><div class="ttdeci">uint8_t getDataOffset()</div><div class="ttdoc">Returns the position in the frame data where the data begins. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:555</div></div>
<div class="ttc" id="class_x_bee_html_a18250def80e8b643aa1ccc15a98937f3"><div class="ttname"><a href="class_x_bee.html#a18250def80e8b643aa1ccc15a98937f3">XBee::getResponse</a></div><div class="ttdeci">XBeeResponse &amp; getResponse()</div><div class="ttdoc">Returns a reference to the current response Note: once readPacket is called again this response will ...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:810</div></div>
<div class="ttc" id="class_x_bee_address_html"><div class="ttname"><a href="class_x_bee_address.html">XBeeAddress</a></div><div class="ttdef"><b>Definition:</b> XBee.h:288</div></div>
<div class="ttc" id="class_rx_data_response_html_ae0f858fe479a07c7122a8d414c60517e"><div class="ttname"><a href="class_rx_data_response.html#ae0f858fe479a07c7122a8d414c60517e">RxDataResponse::getData</a></div><div class="ttdeci">uint8_t * getData()</div><div class="ttdoc">Returns the payload array. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:652</div></div>
<div class="ttc" id="class_rx64_response_html"><div class="ttname"><a href="class_rx64_response.html">Rx64Response</a></div><div class="ttdoc">Represents a Series 1 64-bit address RX packet. </div><div class="ttdef"><b>Definition:</b> XBee.h:466</div></div>
<div class="ttc" id="class_x_bee_html"><div class="ttname"><a href="class_x_bee.html">XBee</a></div><div class="ttdoc">Primary interface for communicating with an XBee Radio. </div><div class="ttdef"><b>Definition:</b> XBee.h:676</div></div>
<div class="ttc" id="class_x_bee_request_html_a20394c7ea4666224c50bef25cc0cd836"><div class="ttname"><a href="class_x_bee_request.html#a20394c7ea4666224c50bef25cc0cd836">XBeeRequest::getFrameId</a></div><div class="ttdeci">uint8_t getFrameId()</div><div class="ttdoc">Returns the frame id. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:971</div></div>
<div class="ttc" id="class_at_command_response_html"><div class="ttname"><a href="class_at_command_response.html">AtCommandResponse</a></div><div class="ttdoc">Represents an AT Command RX packet. </div><div class="ttdef"><b>Definition:</b> XBee.h:540</div></div>
<div class="ttc" id="class_x_bee_response_html_a2fd9882d767d48e679a7595b780c2a2d"><div class="ttname"><a href="class_x_bee_response.html#a2fd9882d767d48e679a7595b780c2a2d">XBeeResponse::getTxStatusResponse</a></div><div class="ttdeci">void getTxStatusResponse(XBeeResponse &amp;response)</div><div class="ttdoc">Call with instance of TxStatusResponse only if getApiId() == TX_STATUS_RESPONSE. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:526</div></div>
<div class="ttc" id="class_payload_request_html_a6e86a663ab6299afaa1cf21ad7c2c5c1"><div class="ttname"><a href="class_payload_request.html#a6e86a663ab6299afaa1cf21ad7c2c5c1">PayloadRequest::setPayloadLength</a></div><div class="ttdeci">void setPayloadLength(uint8_t payloadLength)</div><div class="ttdoc">Sets the length of the payload to include in the request. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:1013</div></div>
<div class="ttc" id="class_x_bee_response_html_a5177bb036ccaa6ea30d73541a3e7d414"><div class="ttname"><a href="class_x_bee_response.html#a5177bb036ccaa6ea30d73541a3e7d414">XBeeResponse::getAtCommandResponse</a></div><div class="ttdeci">void getAtCommandResponse(XBeeResponse &amp;responses)</div><div class="ttdoc">Call with instance of AtCommandResponse only if getApiId() == AT_COMMAND_RESPONSE. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:712</div></div>
<div class="ttc" id="class_remote_at_command_response_html_afc1b15612ea780c10dc1f33754868548"><div class="ttname"><a href="class_remote_at_command_response.html#afc1b15612ea780c10dc1f33754868548">RemoteAtCommandResponse::getStatus</a></div><div class="ttdeci">uint8_t getStatus()</div><div class="ttdoc">Returns the command status code. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:600</div></div>
<div class="ttc" id="class_x_bee_request_html_ad5b998cd95a570bdaa4d74c6c8790d94"><div class="ttname"><a href="class_x_bee_request.html#ad5b998cd95a570bdaa4d74c6c8790d94">XBeeRequest::getFrameData</a></div><div class="ttdeci">virtual uint8_t getFrameData(uint8_t pos)=0</div><div class="ttdoc">Starting after the frame id (pos = 0) and up to but not including the checksum Note: Unlike Digi&#39;s de...</div></div>
<div class="ttc" id="class_rx_io_sample_base_response_html_a81e98b2eab33f62e6af6b3b4014e841a"><div class="ttname"><a href="class_rx_io_sample_base_response.html#a81e98b2eab33f62e6af6b3b4014e841a">RxIoSampleBaseResponse::getAnalog</a></div><div class="ttdeci">uint16_t getAnalog(uint8_t pin, uint8_t sample)</div><div class="ttdoc">Returns the 10-bit analog reading of the specified pin. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:421</div></div>
<div class="ttc" id="class_remote_at_command_request_html_a0e576cf564ebd5a82cb2ed05239a856a"><div class="ttname"><a href="class_remote_at_command_request.html#a0e576cf564ebd5a82cb2ed05239a856a">RemoteAtCommandRequest::getFrameData</a></div><div class="ttdeci">uint8_t getFrameData(uint8_t pos)</div><div class="ttdoc">Starting after the frame id (pos = 0) and up to but not including the checksum Note: Unlike Digi&#39;s de...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:1381</div></div>
<div class="ttc" id="class_at_command_response_html_ad7d6159fa1777144e94a9ccfeaf83662"><div class="ttname"><a href="class_at_command_response.html#ad7d6159fa1777144e94a9ccfeaf83662">AtCommandResponse::getValueLength</a></div><div class="ttdeci">uint8_t getValueLength()</div><div class="ttdoc">Returns the length of the command value array. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:695</div></div>
<div class="ttc" id="class_tx16_request_html"><div class="ttname"><a href="class_tx16_request.html">Tx16Request</a></div><div class="ttdoc">Represents a Series 1 TX packet that corresponds to Api Id: TX_16_REQUEST Be careful not to send a da...</div><div class="ttdef"><b>Definition:</b> XBee.h:785</div></div>
<div class="ttc" id="class_x_bee_request_html_aed1724c11e710217807c971e40105c86"><div class="ttname"><a href="class_x_bee_request.html#aed1724c11e710217807c971e40105c86">XBeeRequest::setFrameId</a></div><div class="ttdeci">void setFrameId(uint8_t frameId)</div><div class="ttdoc">Sets the frame id. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:967</div></div>
<div class="ttc" id="class_payload_request_html"><div class="ttname"><a href="class_payload_request.html">PayloadRequest</a></div><div class="ttdoc">All TX packets that support payloads extend this class. </div><div class="ttdef"><b>Definition:</b> XBee.h:749</div></div>
<div class="ttc" id="class_x_bee_response_html"><div class="ttname"><a href="class_x_bee_response.html">XBeeResponse</a></div><div class="ttdoc">The super class of all XBee responses (RX packets) Users should never attempt to create an instance o...</div><div class="ttdef"><b>Definition:</b> XBee.h:151</div></div>
<div class="ttc" id="class_x_bee_request_html_a03b6c558db5836fa7167c0fba7405642"><div class="ttname"><a href="class_x_bee_request.html#a03b6c558db5836fa7167c0fba7405642">XBeeRequest::getFrameDataLength</a></div><div class="ttdeci">virtual uint8_t getFrameDataLength()=0</div><div class="ttdoc">Returns the size of the api frame (not including frame id or api id or checksum). ...</div></div>
<div class="ttc" id="class_tx16_request_html_a9a1ddfb380e72ecc09a024c6de6cdf8e"><div class="ttname"><a href="class_tx16_request.html#a9a1ddfb380e72ecc09a024c6de6cdf8e">Tx16Request::getFrameDataLength</a></div><div class="ttdeci">uint8_t getFrameDataLength()</div><div class="ttdoc">Returns the size of the api frame (not including frame id or api id or checksum). ...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:1173</div></div>
<div class="ttc" id="class_z_b_tx_request_html"><div class="ttname"><a href="class_z_b_tx_request.html">ZBTxRequest</a></div><div class="ttdoc">Represents a Series 2 TX packet that corresponds to Api Id: ZB_TX_REQUEST. </div><div class="ttdef"><b>Definition:</b> XBee.h:858</div></div>
<div class="ttc" id="class_z_b_rx_response_html_a9d2b73060d611bbdd581e0ceb195fd31"><div class="ttname"><a href="class_z_b_rx_response.html#a9d2b73060d611bbdd581e0ceb195fd31">ZBRxResponse::getDataLength</a></div><div class="ttdeci">uint8_t getDataLength()</div><div class="ttdoc">Returns the length of the payload. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:157</div></div>
<div class="ttc" id="class_remote_at_command_response_html_a3d72d768131c63271a62f75530efda29"><div class="ttname"><a href="class_remote_at_command_response.html#a3d72d768131c63271a62f75530efda29">RemoteAtCommandResponse::getValue</a></div><div class="ttdeci">uint8_t * getValue()</div><div class="ttdoc">Returns an array containing the command value. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:613</div></div>
<div class="ttc" id="class_rx64_io_sample_response_html"><div class="ttname"><a href="class_rx64_io_sample_response.html">Rx64IoSampleResponse</a></div><div class="ttdef"><b>Definition:</b> XBee.h:517</div></div>
<div class="ttc" id="class_x_bee_response_html_a4c0edfc6be81349237956531a006d3ab"><div class="ttname"><a href="class_x_bee_response.html#a4c0edfc6be81349237956531a006d3ab">XBeeResponse::getZBRxResponse</a></div><div class="ttdeci">void getZBRxResponse(XBeeResponse &amp;response)</div><div class="ttdoc">Call with instance of ZBRxResponse class only if getApiId() == ZB_RX_RESPONSE to populate response...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:165</div></div>
<div class="ttc" id="class_at_command_response_html_ab606b3dc93f809b828b54e98a79711d8"><div class="ttname"><a href="class_at_command_response.html#ab606b3dc93f809b828b54e98a79711d8">AtCommandResponse::isOk</a></div><div class="ttdeci">bool isOk()</div><div class="ttdoc">Returns true if status equals AT_OK. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:708</div></div>
<div class="ttc" id="class_x_bee_request_html_af80fd559cab746ab8573087cddda71a2"><div class="ttname"><a href="class_x_bee_request.html#af80fd559cab746ab8573087cddda71a2">XBeeRequest::XBeeRequest</a></div><div class="ttdeci">XBeeRequest(uint8_t apiId, uint8_t frameId)</div><div class="ttdoc">Constructor TODO make protected. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:962</div></div>
<div class="ttc" id="class_rx_data_response_html"><div class="ttname"><a href="class_rx_data_response.html">RxDataResponse</a></div><div class="ttdoc">Common functionality for both Series 1 and 2 data RX data packets. </div><div class="ttdef"><b>Definition:</b> XBee.h:335</div></div>
<div class="ttc" id="class_at_command_request_html_a6842d0e270162c389d804eafd37a4f45"><div class="ttname"><a href="class_at_command_request.html#a6842d0e270162c389d804eafd37a4f45">AtCommandRequest::clearCommandValue</a></div><div class="ttdeci">void clearCommandValue()</div><div class="ttdoc">Clears the optional commandValue and commandValueLength so that a query may be sent. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:1305</div></div>
<div class="ttc" id="class_x_bee_response_html_ae298de16ed0dce349154ae87f8b93d77"><div class="ttname"><a href="class_x_bee_response.html#ae298de16ed0dce349154ae87f8b93d77">XBeeResponse::getRx64IoSampleResponse</a></div><div class="ttdeci">void getRx64IoSampleResponse(XBeeResponse &amp;response)</div><div class="ttdoc">Call with instance of Rx64IoSampleResponse only if getApiId() == RX_64_IO_RESPONSE. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:504</div></div>
<div class="ttc" id="class_at_command_response_html_a20f1bf08ba77f2bc74f009318a6fd133"><div class="ttname"><a href="class_at_command_response.html#a20f1bf08ba77f2bc74f009318a6fd133">AtCommandResponse::getCommand</a></div><div class="ttdeci">uint8_t * getCommand()</div><div class="ttdoc">Returns an array containing the two character command. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:687</div></div>
<div class="ttc" id="class_at_command_request_html_aa4fc8f0c8404172cd5532f3d8e5564f2"><div class="ttname"><a href="class_at_command_request.html#aa4fc8f0c8404172cd5532f3d8e5564f2">AtCommandRequest::getFrameData</a></div><div class="ttdeci">uint8_t getFrameData(uint8_t pos)</div><div class="ttdoc">Starting after the frame id (pos = 0) and up to but not including the checksum Note: Unlike Digi&#39;s de...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:1294</div></div>
<div class="ttc" id="class_z_b_tx_status_response_html"><div class="ttname"><a href="class_z_b_tx_status_response.html">ZBTxStatusResponse</a></div><div class="ttdoc">Represents a Series 2 TX status packet. </div><div class="ttdef"><b>Definition:</b> XBee.h:365</div></div>
<div class="ttc" id="class_x_bee_response_html_aa08a73f576fc7ce2f7fa154342c01fba"><div class="ttname"><a href="class_x_bee_response.html#aa08a73f576fc7ce2f7fa154342c01fba">XBeeResponse::reset</a></div><div class="ttdeci">void reset()</div><div class="ttdoc">Resets the response to default values. </div><div class="ttdef"><b>Definition:</b> XBee.cpp:739</div></div>
<div class="ttc" id="class_rx16_io_sample_response_html"><div class="ttname"><a href="class_rx16_io_sample_response.html">Rx16IoSampleResponse</a></div><div class="ttdef"><b>Definition:</b> XBee.h:509</div></div>
<div class="ttc" id="class_tx64_request_html_afadc1e07718a62d6c5a75a4bb07dfaae"><div class="ttname"><a href="class_tx64_request.html#afadc1e07718a62d6c5a75a4bb07dfaae">Tx64Request::getFrameDataLength</a></div><div class="ttdeci">uint8_t getFrameDataLength()</div><div class="ttdoc">Returns the size of the api frame (not including frame id or api id or checksum). ...</div><div class="ttdef"><b>Definition:</b> XBee.cpp:1232</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Feb 1 2014 18:47:30 for XBee-Arduino by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
