ardupilot/libraries/doc/html/protocol_8h_source.html

1325 lines
137 KiB
HTML

<!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"/>
<title>ArduPilot Libraries: /home/jgoppert/Projects/ap/libraries/APM_BinComm/protocol/protocol.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</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 class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<h1>/home/jgoppert/Projects/ap/libraries/APM_BinComm/protocol/protocol.h</h1> </div>
</div>
<div class="contents">
<a href="protocol_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span>
<a name="l00002"></a>00002 <span class="comment">// THIS FILE WAS AUTOMATICALLY GENERATED - DO NOT EDIT</span>
<a name="l00003"></a>00003 <span class="comment">//</span>
<a name="l00005"></a>00005 <span class="comment"></span><span class="preprocessor">#pragma pack(push)</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(1)</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00010"></a>00010
<a name="l00011"></a>00011
<a name="l00013"></a><a class="code" href="structmsg__acknowledge.html">00013</a> <span class="keyword">struct </span><a class="code" href="structmsg__acknowledge.html" title="Structure describing the payload section of the MSG_ACKNOWLEDGE message.">msg_acknowledge</a> {
<a name="l00014"></a><a class="code" href="structmsg__acknowledge.html#a2ca75c29ef0267db41973db5c23dd154">00014</a> uint8_t <a class="code" href="structmsg__acknowledge.html#a2ca75c29ef0267db41973db5c23dd154">msgID</a>;
<a name="l00015"></a><a class="code" href="structmsg__acknowledge.html#a8087764cfa3f5986b6b8911c38db2c3e">00015</a> uint8_t <a class="code" href="structmsg__acknowledge.html#a8087764cfa3f5986b6b8911c38db2c3e">sum1</a>;
<a name="l00016"></a><a class="code" href="structmsg__acknowledge.html#a778b671111f3d8686821de8720ee143e">00016</a> uint8_t <a class="code" href="structmsg__acknowledge.html#a778b671111f3d8686821de8720ee143e">sum2</a>;
<a name="l00017"></a>00017 };
<a name="l00018"></a>00018
<a name="l00020"></a>00020 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00021"></a><a class="code" href="protocol_8h.html#a9c8d3ccb19b8a1e96d8229de513e7667">00021</a> <a class="code" href="protocol_8h.html#a9c8d3ccb19b8a1e96d8229de513e7667" title="Send a MSG_ACKNOWLEDGE message.">send_msg_acknowledge</a>(
<a name="l00022"></a>00022 <span class="keyword">const</span> uint8_t msgID,
<a name="l00023"></a>00023 <span class="keyword">const</span> uint8_t sum1,
<a name="l00024"></a>00024 <span class="keyword">const</span> uint8_t sum2)
<a name="l00025"></a>00025 {
<a name="l00026"></a>00026 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a4126a8e88ce7db75d871107b272b6a49">MSG_ACKNOWLEDGE</a>,
<a name="l00027"></a>00027 <span class="keyword">sizeof</span>(msgID) +
<a name="l00028"></a>00028 <span class="keyword">sizeof</span>(sum1) +
<a name="l00029"></a>00029 <span class="keyword">sizeof</span>(sum2) + 0);
<a name="l00030"></a>00030 _emit(msgID);
<a name="l00031"></a>00031 _emit(sum1);
<a name="l00032"></a>00032 _emit(sum2);
<a name="l00033"></a>00033 _endMessage();
<a name="l00034"></a>00034 };
<a name="l00035"></a>00035
<a name="l00037"></a>00037 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00038"></a><a class="code" href="protocol_8h.html#ac5072260e88f2096b6e17fd7659bb54c">00038</a> <a class="code" href="protocol_8h.html#ac5072260e88f2096b6e17fd7659bb54c" title="Unpack a MSG_ACKNOWLEDGE message.">unpack_msg_acknowledge</a>(
<a name="l00039"></a>00039 uint8_t &amp;msgID,
<a name="l00040"></a>00040 uint8_t &amp;sum1,
<a name="l00041"></a>00041 uint8_t &amp;sum2)
<a name="l00042"></a>00042 {
<a name="l00043"></a>00043 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00044"></a>00044 _unpack(__p, msgID);
<a name="l00045"></a>00045 _unpack(__p, sum1);
<a name="l00046"></a>00046 _unpack(__p, sum2);
<a name="l00047"></a>00047 };
<a name="l00049"></a>00049
<a name="l00052"></a>00052
<a name="l00053"></a>00053
<a name="l00055"></a><a class="code" href="structmsg__status__text.html">00055</a> <span class="keyword">struct </span><a class="code" href="structmsg__status__text.html" title="Structure describing the payload section of the MSG_STATUS_TEXT message.">msg_status_text</a> {
<a name="l00056"></a><a class="code" href="structmsg__status__text.html#ac3cdfb4dbf02068c31495dc06981f984">00056</a> uint8_t <a class="code" href="structmsg__status__text.html#ac3cdfb4dbf02068c31495dc06981f984">severity</a>;
<a name="l00057"></a><a class="code" href="structmsg__status__text.html#a6e99302fd8080d55ac54e0ce2160430d">00057</a> <span class="keywordtype">char</span> <a class="code" href="structmsg__status__text.html#a6e99302fd8080d55ac54e0ce2160430d">text</a>[50];
<a name="l00058"></a>00058 };
<a name="l00059"></a>00059
<a name="l00061"></a>00061 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00062"></a><a class="code" href="protocol_8h.html#aaa1f95c0c32bc1496d64af3885349090">00062</a> <a class="code" href="protocol_8h.html#aaa1f95c0c32bc1496d64af3885349090" title="Send a MSG_STATUS_TEXT message.">send_msg_status_text</a>(
<a name="l00063"></a>00063 <span class="keyword">const</span> uint8_t severity,
<a name="l00064"></a>00064 <span class="keyword">const</span> <span class="keywordtype">char</span> (&amp;text)[50])
<a name="l00065"></a>00065 {
<a name="l00066"></a>00066 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0af002079c069511e623b00f92ec9b4a44">MSG_STATUS_TEXT</a>,
<a name="l00067"></a>00067 <span class="keyword">sizeof</span>(severity) +
<a name="l00068"></a>00068 (<span class="keyword">sizeof</span>(text[0]) * 50) + 0);
<a name="l00069"></a>00069 _emit(severity);
<a name="l00070"></a>00070 _emit(text, 50);
<a name="l00071"></a>00071 _endMessage();
<a name="l00072"></a>00072 };
<a name="l00073"></a>00073
<a name="l00075"></a>00075 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00076"></a><a class="code" href="protocol_8h.html#ae6bd7cef5c50674ea526ceacd9890647">00076</a> <a class="code" href="protocol_8h.html#ae6bd7cef5c50674ea526ceacd9890647" title="Unpack a MSG_STATUS_TEXT message.">unpack_msg_status_text</a>(
<a name="l00077"></a>00077 uint8_t &amp;severity,
<a name="l00078"></a>00078 <span class="keywordtype">char</span> (&amp;text)[50])
<a name="l00079"></a>00079 {
<a name="l00080"></a>00080 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00081"></a>00081 _unpack(__p, severity);
<a name="l00082"></a>00082 _unpack(__p, text, 50);
<a name="l00083"></a>00083 };
<a name="l00085"></a>00085
<a name="l00088"></a>00088
<a name="l00089"></a>00089
<a name="l00091"></a><a class="code" href="structmsg__heartbeat.html">00091</a> <span class="keyword">struct </span><a class="code" href="structmsg__heartbeat.html" title="Structure describing the payload section of the MSG_HEARTBEAT message.">msg_heartbeat</a> {
<a name="l00092"></a><a class="code" href="structmsg__heartbeat.html#a71c4fe76f5a7382ea0c4c7cd27170cb1">00092</a> uint8_t <a class="code" href="structmsg__heartbeat.html#a71c4fe76f5a7382ea0c4c7cd27170cb1">flightMode</a>;
<a name="l00093"></a><a class="code" href="structmsg__heartbeat.html#a201ccaf238d417a865263c5cb8fa23fc">00093</a> uint16_t <a class="code" href="structmsg__heartbeat.html#a201ccaf238d417a865263c5cb8fa23fc">timeStamp</a>;
<a name="l00094"></a><a class="code" href="structmsg__heartbeat.html#a9580873c3f47d73e53f5261874001102">00094</a> uint16_t <a class="code" href="structmsg__heartbeat.html#a9580873c3f47d73e53f5261874001102">batteryVoltage</a>;
<a name="l00095"></a><a class="code" href="structmsg__heartbeat.html#ad758117c62d739ba6522f538e1bfb775">00095</a> uint16_t <a class="code" href="structmsg__heartbeat.html#ad758117c62d739ba6522f538e1bfb775">commandIndex</a>;
<a name="l00096"></a>00096 };
<a name="l00097"></a>00097
<a name="l00099"></a>00099 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00100"></a><a class="code" href="protocol_8h.html#a7210f70668e8a4ce08dae0d3ff6825a0">00100</a> <a class="code" href="protocol_8h.html#a7210f70668e8a4ce08dae0d3ff6825a0" title="Send a MSG_HEARTBEAT message.">send_msg_heartbeat</a>(
<a name="l00101"></a>00101 <span class="keyword">const</span> uint8_t flightMode,
<a name="l00102"></a>00102 <span class="keyword">const</span> uint16_t timeStamp,
<a name="l00103"></a>00103 <span class="keyword">const</span> uint16_t batteryVoltage,
<a name="l00104"></a>00104 <span class="keyword">const</span> uint16_t commandIndex)
<a name="l00105"></a>00105 {
<a name="l00106"></a>00106 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aaf685040f895290768639de8386f0f75">MSG_HEARTBEAT</a>,
<a name="l00107"></a>00107 <span class="keyword">sizeof</span>(flightMode) +
<a name="l00108"></a>00108 <span class="keyword">sizeof</span>(timeStamp) +
<a name="l00109"></a>00109 <span class="keyword">sizeof</span>(batteryVoltage) +
<a name="l00110"></a>00110 <span class="keyword">sizeof</span>(commandIndex) + 0);
<a name="l00111"></a>00111 _emit(flightMode);
<a name="l00112"></a>00112 _emit(timeStamp);
<a name="l00113"></a>00113 _emit(batteryVoltage);
<a name="l00114"></a>00114 _emit(commandIndex);
<a name="l00115"></a>00115 _endMessage();
<a name="l00116"></a>00116 };
<a name="l00117"></a>00117
<a name="l00119"></a>00119 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00120"></a><a class="code" href="protocol_8h.html#aa37ba83153904a4b1e668ae998fc0285">00120</a> <a class="code" href="protocol_8h.html#aa37ba83153904a4b1e668ae998fc0285" title="Unpack a MSG_HEARTBEAT message.">unpack_msg_heartbeat</a>(
<a name="l00121"></a>00121 uint8_t &amp;flightMode,
<a name="l00122"></a>00122 uint16_t &amp;timeStamp,
<a name="l00123"></a>00123 uint16_t &amp;batteryVoltage,
<a name="l00124"></a>00124 uint16_t &amp;commandIndex)
<a name="l00125"></a>00125 {
<a name="l00126"></a>00126 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00127"></a>00127 _unpack(__p, flightMode);
<a name="l00128"></a>00128 _unpack(__p, timeStamp);
<a name="l00129"></a>00129 _unpack(__p, batteryVoltage);
<a name="l00130"></a>00130 _unpack(__p, commandIndex);
<a name="l00131"></a>00131 };
<a name="l00133"></a>00133
<a name="l00136"></a>00136
<a name="l00137"></a>00137
<a name="l00139"></a><a class="code" href="structmsg__attitude.html">00139</a> <span class="keyword">struct </span><a class="code" href="structmsg__attitude.html" title="Structure describing the payload section of the MSG_ATTITUDE message.">msg_attitude</a> {
<a name="l00140"></a><a class="code" href="structmsg__attitude.html#a6ddb8cd533c59f7ed19be3b712be879a">00140</a> int16_t <a class="code" href="structmsg__attitude.html#a6ddb8cd533c59f7ed19be3b712be879a">roll</a>;
<a name="l00141"></a><a class="code" href="structmsg__attitude.html#a7f045c16f777f451d21e9d474bdb3d81">00141</a> int16_t <a class="code" href="structmsg__attitude.html#a7f045c16f777f451d21e9d474bdb3d81">pitch</a>;
<a name="l00142"></a><a class="code" href="structmsg__attitude.html#abcd44e2aaf5dd0efb0ce1a89d60e3a76">00142</a> uint16_t <a class="code" href="structmsg__attitude.html#abcd44e2aaf5dd0efb0ce1a89d60e3a76">yaw</a>;
<a name="l00143"></a>00143 };
<a name="l00144"></a>00144
<a name="l00146"></a>00146 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00147"></a><a class="code" href="protocol_8h.html#aa567bb576f515a4a139d961585ca2270">00147</a> <a class="code" href="protocol_8h.html#aa567bb576f515a4a139d961585ca2270" title="Send a MSG_ATTITUDE message.">send_msg_attitude</a>(
<a name="l00148"></a>00148 <span class="keyword">const</span> int16_t roll,
<a name="l00149"></a>00149 <span class="keyword">const</span> int16_t pitch,
<a name="l00150"></a>00150 <span class="keyword">const</span> uint16_t yaw)
<a name="l00151"></a>00151 {
<a name="l00152"></a>00152 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0ad4eedc6e33f030259108cd91c0f33f0a">MSG_ATTITUDE</a>,
<a name="l00153"></a>00153 <span class="keyword">sizeof</span>(roll) +
<a name="l00154"></a>00154 <span class="keyword">sizeof</span>(pitch) +
<a name="l00155"></a>00155 <span class="keyword">sizeof</span>(yaw) + 0);
<a name="l00156"></a>00156 _emit(roll);
<a name="l00157"></a>00157 _emit(pitch);
<a name="l00158"></a>00158 _emit(yaw);
<a name="l00159"></a>00159 _endMessage();
<a name="l00160"></a>00160 };
<a name="l00161"></a>00161
<a name="l00163"></a>00163 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00164"></a><a class="code" href="protocol_8h.html#a313ccb95a230df852d9996b1d500ea74">00164</a> <a class="code" href="protocol_8h.html#a313ccb95a230df852d9996b1d500ea74" title="Unpack a MSG_ATTITUDE message.">unpack_msg_attitude</a>(
<a name="l00165"></a>00165 int16_t &amp;roll,
<a name="l00166"></a>00166 int16_t &amp;pitch,
<a name="l00167"></a>00167 uint16_t &amp;yaw)
<a name="l00168"></a>00168 {
<a name="l00169"></a>00169 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00170"></a>00170 _unpack(__p, roll);
<a name="l00171"></a>00171 _unpack(__p, pitch);
<a name="l00172"></a>00172 _unpack(__p, yaw);
<a name="l00173"></a>00173 };
<a name="l00175"></a>00175
<a name="l00178"></a>00178
<a name="l00179"></a>00179
<a name="l00181"></a><a class="code" href="structmsg__location.html">00181</a> <span class="keyword">struct </span><a class="code" href="structmsg__location.html" title="Structure describing the payload section of the MSG_LOCATION message.">msg_location</a> {
<a name="l00182"></a><a class="code" href="structmsg__location.html#aae6da4015529cfc3141db832409c4757">00182</a> int32_t <a class="code" href="structmsg__location.html#aae6da4015529cfc3141db832409c4757">latitude</a>;
<a name="l00183"></a><a class="code" href="structmsg__location.html#a50b99b31e555b783d4f0cab0942cb8fd">00183</a> int32_t <a class="code" href="structmsg__location.html#a50b99b31e555b783d4f0cab0942cb8fd">longitude</a>;
<a name="l00184"></a><a class="code" href="structmsg__location.html#a8dff40615787dd113a69ea10feab4f3f">00184</a> int32_t <a class="code" href="structmsg__location.html#a8dff40615787dd113a69ea10feab4f3f">altitude</a>;
<a name="l00185"></a><a class="code" href="structmsg__location.html#a565eba1a70ef5935d2d0b68877204d38">00185</a> uint16_t <a class="code" href="structmsg__location.html#a565eba1a70ef5935d2d0b68877204d38">groundSpeed</a>;
<a name="l00186"></a><a class="code" href="structmsg__location.html#a2e9f9e729c08d027e91d12d1de9af3e1">00186</a> uint16_t <a class="code" href="structmsg__location.html#a2e9f9e729c08d027e91d12d1de9af3e1">groundCourse</a>;
<a name="l00187"></a><a class="code" href="structmsg__location.html#a85443bc70c8d62aa41e7bee309a13472">00187</a> uint32_t <a class="code" href="structmsg__location.html#a85443bc70c8d62aa41e7bee309a13472">timeOfWeek</a>;
<a name="l00188"></a>00188 };
<a name="l00189"></a>00189
<a name="l00191"></a>00191 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00192"></a><a class="code" href="protocol_8h.html#aafbadacdd036a26f01ffb0f925df69d1">00192</a> <a class="code" href="protocol_8h.html#aafbadacdd036a26f01ffb0f925df69d1" title="Send a MSG_LOCATION message.">send_msg_location</a>(
<a name="l00193"></a>00193 <span class="keyword">const</span> int32_t latitude,
<a name="l00194"></a>00194 <span class="keyword">const</span> int32_t longitude,
<a name="l00195"></a>00195 <span class="keyword">const</span> int32_t altitude,
<a name="l00196"></a>00196 <span class="keyword">const</span> uint16_t groundSpeed,
<a name="l00197"></a>00197 <span class="keyword">const</span> uint16_t groundCourse,
<a name="l00198"></a>00198 <span class="keyword">const</span> uint32_t timeOfWeek)
<a name="l00199"></a>00199 {
<a name="l00200"></a>00200 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a7a1eccc78139fabd82ca8496ae66f072">MSG_LOCATION</a>,
<a name="l00201"></a>00201 <span class="keyword">sizeof</span>(latitude) +
<a name="l00202"></a>00202 <span class="keyword">sizeof</span>(longitude) +
<a name="l00203"></a>00203 <span class="keyword">sizeof</span>(altitude) +
<a name="l00204"></a>00204 <span class="keyword">sizeof</span>(groundSpeed) +
<a name="l00205"></a>00205 <span class="keyword">sizeof</span>(groundCourse) +
<a name="l00206"></a>00206 <span class="keyword">sizeof</span>(timeOfWeek) + 0);
<a name="l00207"></a>00207 _emit(latitude);
<a name="l00208"></a>00208 _emit(longitude);
<a name="l00209"></a>00209 _emit(altitude);
<a name="l00210"></a>00210 _emit(groundSpeed);
<a name="l00211"></a>00211 _emit(groundCourse);
<a name="l00212"></a>00212 _emit(timeOfWeek);
<a name="l00213"></a>00213 _endMessage();
<a name="l00214"></a>00214 };
<a name="l00215"></a>00215
<a name="l00217"></a>00217 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00218"></a><a class="code" href="protocol_8h.html#a089fcf691949b056a289b0c9835f8c4b">00218</a> <a class="code" href="protocol_8h.html#a089fcf691949b056a289b0c9835f8c4b" title="Unpack a MSG_LOCATION message.">unpack_msg_location</a>(
<a name="l00219"></a>00219 int32_t &amp;latitude,
<a name="l00220"></a>00220 int32_t &amp;longitude,
<a name="l00221"></a>00221 int32_t &amp;altitude,
<a name="l00222"></a>00222 uint16_t &amp;groundSpeed,
<a name="l00223"></a>00223 uint16_t &amp;groundCourse,
<a name="l00224"></a>00224 uint32_t &amp;timeOfWeek)
<a name="l00225"></a>00225 {
<a name="l00226"></a>00226 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00227"></a>00227 _unpack(__p, latitude);
<a name="l00228"></a>00228 _unpack(__p, longitude);
<a name="l00229"></a>00229 _unpack(__p, altitude);
<a name="l00230"></a>00230 _unpack(__p, groundSpeed);
<a name="l00231"></a>00231 _unpack(__p, groundCourse);
<a name="l00232"></a>00232 _unpack(__p, timeOfWeek);
<a name="l00233"></a>00233 };
<a name="l00235"></a>00235
<a name="l00238"></a>00238
<a name="l00239"></a>00239
<a name="l00241"></a><a class="code" href="structmsg__pressure.html">00241</a> <span class="keyword">struct </span><a class="code" href="structmsg__pressure.html" title="Structure describing the payload section of the MSG_PRESSURE message.">msg_pressure</a> {
<a name="l00242"></a><a class="code" href="structmsg__pressure.html#a020d931657b0ef6ee3b5ad40683840f5">00242</a> int32_t <a class="code" href="structmsg__pressure.html#a020d931657b0ef6ee3b5ad40683840f5">pressureAltitude</a>;
<a name="l00243"></a><a class="code" href="structmsg__pressure.html#a57308026daea508962dbb5752f318f12">00243</a> int16_t <a class="code" href="structmsg__pressure.html#a57308026daea508962dbb5752f318f12">airSpeed</a>;
<a name="l00244"></a>00244 };
<a name="l00245"></a>00245
<a name="l00247"></a>00247 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00248"></a><a class="code" href="protocol_8h.html#a4c44a23eb69d9320f6355b5a86b40979">00248</a> <a class="code" href="protocol_8h.html#a4c44a23eb69d9320f6355b5a86b40979" title="Send a MSG_PRESSURE message.">send_msg_pressure</a>(
<a name="l00249"></a>00249 <span class="keyword">const</span> int32_t pressureAltitude,
<a name="l00250"></a>00250 <span class="keyword">const</span> int16_t airSpeed)
<a name="l00251"></a>00251 {
<a name="l00252"></a>00252 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aad3c9a48b48ed6e95c442f076edfdc71">MSG_PRESSURE</a>,
<a name="l00253"></a>00253 <span class="keyword">sizeof</span>(pressureAltitude) +
<a name="l00254"></a>00254 <span class="keyword">sizeof</span>(airSpeed) + 0);
<a name="l00255"></a>00255 _emit(pressureAltitude);
<a name="l00256"></a>00256 _emit(airSpeed);
<a name="l00257"></a>00257 _endMessage();
<a name="l00258"></a>00258 };
<a name="l00259"></a>00259
<a name="l00261"></a>00261 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00262"></a><a class="code" href="protocol_8h.html#a7848fa4eedb09ba94fcdca972c12fc7c">00262</a> <a class="code" href="protocol_8h.html#a7848fa4eedb09ba94fcdca972c12fc7c" title="Unpack a MSG_PRESSURE message.">unpack_msg_pressure</a>(
<a name="l00263"></a>00263 int32_t &amp;pressureAltitude,
<a name="l00264"></a>00264 int16_t &amp;airSpeed)
<a name="l00265"></a>00265 {
<a name="l00266"></a>00266 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00267"></a>00267 _unpack(__p, pressureAltitude);
<a name="l00268"></a>00268 _unpack(__p, airSpeed);
<a name="l00269"></a>00269 };
<a name="l00271"></a>00271
<a name="l00274"></a>00274
<a name="l00275"></a>00275
<a name="l00277"></a><a class="code" href="structmsg__perf__report.html">00277</a> <span class="keyword">struct </span><a class="code" href="structmsg__perf__report.html" title="Structure describing the payload section of the MSG_PERF_REPORT message.">msg_perf_report</a> {
<a name="l00278"></a><a class="code" href="structmsg__perf__report.html#af97da82053b38403523baf52e597bbae">00278</a> uint32_t <a class="code" href="structmsg__perf__report.html#af97da82053b38403523baf52e597bbae">interval</a>;
<a name="l00279"></a><a class="code" href="structmsg__perf__report.html#ac86be3146cfb46867e2fde7bb54af711">00279</a> uint16_t <a class="code" href="structmsg__perf__report.html#ac86be3146cfb46867e2fde7bb54af711">mainLoopCycles</a>;
<a name="l00280"></a><a class="code" href="structmsg__perf__report.html#a5d21862579980b215e70105e6c472f64">00280</a> uint8_t <a class="code" href="structmsg__perf__report.html#a5d21862579980b215e70105e6c472f64">mainLoopCycleTime</a>;
<a name="l00281"></a><a class="code" href="structmsg__perf__report.html#aefc308bfc25ac8f7f7087ab71455f5d8">00281</a> uint8_t <a class="code" href="structmsg__perf__report.html#aefc308bfc25ac8f7f7087ab71455f5d8">gyroSaturationCount</a>;
<a name="l00282"></a><a class="code" href="structmsg__perf__report.html#ae079d6c81c726dc0cfaf864336429c75">00282</a> uint8_t <a class="code" href="structmsg__perf__report.html#ae079d6c81c726dc0cfaf864336429c75">adcConstraintCount</a>;
<a name="l00283"></a><a class="code" href="structmsg__perf__report.html#a4c85d85bde3aff4fa6c5bf37297fa842">00283</a> uint8_t <a class="code" href="structmsg__perf__report.html#a4c85d85bde3aff4fa6c5bf37297fa842">renormSqrtCount</a>;
<a name="l00284"></a><a class="code" href="structmsg__perf__report.html#a9efde5cf3607f5ca1286d7267b245376">00284</a> uint8_t <a class="code" href="structmsg__perf__report.html#a9efde5cf3607f5ca1286d7267b245376">renormBlowupCount</a>;
<a name="l00285"></a><a class="code" href="structmsg__perf__report.html#aab99e6fbb690d293b91914e43cc719b0">00285</a> uint8_t <a class="code" href="structmsg__perf__report.html#aab99e6fbb690d293b91914e43cc719b0">gpsFixCount</a>;
<a name="l00286"></a><a class="code" href="structmsg__perf__report.html#a2997cca79baba2b2fc2605d06d75230e">00286</a> uint16_t <a class="code" href="structmsg__perf__report.html#a2997cca79baba2b2fc2605d06d75230e">imuHealth</a>;
<a name="l00287"></a><a class="code" href="structmsg__perf__report.html#a548e7604b917aeffb6f0818016332306">00287</a> uint16_t <a class="code" href="structmsg__perf__report.html#a548e7604b917aeffb6f0818016332306">gcsMessageCount</a>;
<a name="l00288"></a>00288 };
<a name="l00289"></a>00289
<a name="l00291"></a>00291 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00292"></a><a class="code" href="protocol_8h.html#ac2ff59d3242bc93c895ab8d9223c94b4">00292</a> <a class="code" href="protocol_8h.html#ac2ff59d3242bc93c895ab8d9223c94b4" title="Send a MSG_PERF_REPORT message.">send_msg_perf_report</a>(
<a name="l00293"></a>00293 <span class="keyword">const</span> uint32_t interval,
<a name="l00294"></a>00294 <span class="keyword">const</span> uint16_t mainLoopCycles,
<a name="l00295"></a>00295 <span class="keyword">const</span> uint8_t mainLoopCycleTime,
<a name="l00296"></a>00296 <span class="keyword">const</span> uint8_t gyroSaturationCount,
<a name="l00297"></a>00297 <span class="keyword">const</span> uint8_t adcConstraintCount,
<a name="l00298"></a>00298 <span class="keyword">const</span> uint8_t renormSqrtCount,
<a name="l00299"></a>00299 <span class="keyword">const</span> uint8_t renormBlowupCount,
<a name="l00300"></a>00300 <span class="keyword">const</span> uint8_t gpsFixCount,
<a name="l00301"></a>00301 <span class="keyword">const</span> uint16_t imuHealth,
<a name="l00302"></a>00302 <span class="keyword">const</span> uint16_t gcsMessageCount)
<a name="l00303"></a>00303 {
<a name="l00304"></a>00304 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a13303bc5337f051d20c416e9b4281465">MSG_PERF_REPORT</a>,
<a name="l00305"></a>00305 <span class="keyword">sizeof</span>(interval) +
<a name="l00306"></a>00306 <span class="keyword">sizeof</span>(mainLoopCycles) +
<a name="l00307"></a>00307 <span class="keyword">sizeof</span>(mainLoopCycleTime) +
<a name="l00308"></a>00308 <span class="keyword">sizeof</span>(gyroSaturationCount) +
<a name="l00309"></a>00309 <span class="keyword">sizeof</span>(adcConstraintCount) +
<a name="l00310"></a>00310 <span class="keyword">sizeof</span>(renormSqrtCount) +
<a name="l00311"></a>00311 <span class="keyword">sizeof</span>(renormBlowupCount) +
<a name="l00312"></a>00312 <span class="keyword">sizeof</span>(gpsFixCount) +
<a name="l00313"></a>00313 <span class="keyword">sizeof</span>(imuHealth) +
<a name="l00314"></a>00314 <span class="keyword">sizeof</span>(gcsMessageCount) + 0);
<a name="l00315"></a>00315 _emit(interval);
<a name="l00316"></a>00316 _emit(mainLoopCycles);
<a name="l00317"></a>00317 _emit(mainLoopCycleTime);
<a name="l00318"></a>00318 _emit(gyroSaturationCount);
<a name="l00319"></a>00319 _emit(adcConstraintCount);
<a name="l00320"></a>00320 _emit(renormSqrtCount);
<a name="l00321"></a>00321 _emit(renormBlowupCount);
<a name="l00322"></a>00322 _emit(gpsFixCount);
<a name="l00323"></a>00323 _emit(imuHealth);
<a name="l00324"></a>00324 _emit(gcsMessageCount);
<a name="l00325"></a>00325 _endMessage();
<a name="l00326"></a>00326 };
<a name="l00327"></a>00327
<a name="l00329"></a>00329 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00330"></a><a class="code" href="protocol_8h.html#a1eb49dbccb83396b9da8967a414dddfc">00330</a> <a class="code" href="protocol_8h.html#a1eb49dbccb83396b9da8967a414dddfc" title="Unpack a MSG_PERF_REPORT message.">unpack_msg_perf_report</a>(
<a name="l00331"></a>00331 uint32_t &amp;interval,
<a name="l00332"></a>00332 uint16_t &amp;mainLoopCycles,
<a name="l00333"></a>00333 uint8_t &amp;mainLoopCycleTime,
<a name="l00334"></a>00334 uint8_t &amp;gyroSaturationCount,
<a name="l00335"></a>00335 uint8_t &amp;adcConstraintCount,
<a name="l00336"></a>00336 uint8_t &amp;renormSqrtCount,
<a name="l00337"></a>00337 uint8_t &amp;renormBlowupCount,
<a name="l00338"></a>00338 uint8_t &amp;gpsFixCount,
<a name="l00339"></a>00339 uint16_t &amp;imuHealth,
<a name="l00340"></a>00340 uint16_t &amp;gcsMessageCount)
<a name="l00341"></a>00341 {
<a name="l00342"></a>00342 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00343"></a>00343 _unpack(__p, interval);
<a name="l00344"></a>00344 _unpack(__p, mainLoopCycles);
<a name="l00345"></a>00345 _unpack(__p, mainLoopCycleTime);
<a name="l00346"></a>00346 _unpack(__p, gyroSaturationCount);
<a name="l00347"></a>00347 _unpack(__p, adcConstraintCount);
<a name="l00348"></a>00348 _unpack(__p, renormSqrtCount);
<a name="l00349"></a>00349 _unpack(__p, renormBlowupCount);
<a name="l00350"></a>00350 _unpack(__p, gpsFixCount);
<a name="l00351"></a>00351 _unpack(__p, imuHealth);
<a name="l00352"></a>00352 _unpack(__p, gcsMessageCount);
<a name="l00353"></a>00353 };
<a name="l00355"></a>00355
<a name="l00358"></a>00358
<a name="l00359"></a>00359
<a name="l00361"></a><a class="code" href="structmsg__version__request.html">00361</a> <span class="keyword">struct </span><a class="code" href="structmsg__version__request.html" title="Structure describing the payload section of the MSG_VERSION_REQUEST message.">msg_version_request</a> {
<a name="l00362"></a><a class="code" href="structmsg__version__request.html#a19e0dad8e1951461915a7753e57343da">00362</a> uint8_t <a class="code" href="structmsg__version__request.html#a19e0dad8e1951461915a7753e57343da">systemType</a>;
<a name="l00363"></a><a class="code" href="structmsg__version__request.html#a49b26cddcd27367cf2925ddaca9ec301">00363</a> uint8_t <a class="code" href="structmsg__version__request.html#a49b26cddcd27367cf2925ddaca9ec301">systemID</a>;
<a name="l00364"></a>00364 };
<a name="l00365"></a>00365
<a name="l00367"></a>00367 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00368"></a><a class="code" href="protocol_8h.html#a3fefc7610b588aed154d491e6ec9d76a">00368</a> <a class="code" href="protocol_8h.html#a3fefc7610b588aed154d491e6ec9d76a" title="Send a MSG_VERSION_REQUEST message.">send_msg_version_request</a>(
<a name="l00369"></a>00369 <span class="keyword">const</span> uint8_t systemType,
<a name="l00370"></a>00370 <span class="keyword">const</span> uint8_t systemID)
<a name="l00371"></a>00371 {
<a name="l00372"></a>00372 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0ad03e70597e689f3761dd78d92a08cc18">MSG_VERSION_REQUEST</a>,
<a name="l00373"></a>00373 <span class="keyword">sizeof</span>(systemType) +
<a name="l00374"></a>00374 <span class="keyword">sizeof</span>(systemID) + 0);
<a name="l00375"></a>00375 _emit(systemType);
<a name="l00376"></a>00376 _emit(systemID);
<a name="l00377"></a>00377 _endMessage();
<a name="l00378"></a>00378 };
<a name="l00379"></a>00379
<a name="l00381"></a>00381 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00382"></a><a class="code" href="protocol_8h.html#a32969e7963f589ed106d74acca7b9768">00382</a> <a class="code" href="protocol_8h.html#a32969e7963f589ed106d74acca7b9768" title="Unpack a MSG_VERSION_REQUEST message.">unpack_msg_version_request</a>(
<a name="l00383"></a>00383 uint8_t &amp;systemType,
<a name="l00384"></a>00384 uint8_t &amp;systemID)
<a name="l00385"></a>00385 {
<a name="l00386"></a>00386 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00387"></a>00387 _unpack(__p, systemType);
<a name="l00388"></a>00388 _unpack(__p, systemID);
<a name="l00389"></a>00389 };
<a name="l00391"></a>00391
<a name="l00394"></a>00394
<a name="l00395"></a>00395
<a name="l00397"></a><a class="code" href="structmsg__version.html">00397</a> <span class="keyword">struct </span><a class="code" href="structmsg__version.html" title="Structure describing the payload section of the MSG_VERSION message.">msg_version</a> {
<a name="l00398"></a><a class="code" href="structmsg__version.html#ae60c339939948f5f18008045f624b841">00398</a> uint8_t <a class="code" href="structmsg__version.html#ae60c339939948f5f18008045f624b841">systemType</a>;
<a name="l00399"></a><a class="code" href="structmsg__version.html#ae0203b4863aebb03d9570a791ca44d22">00399</a> uint8_t <a class="code" href="structmsg__version.html#ae0203b4863aebb03d9570a791ca44d22">systemID</a>;
<a name="l00400"></a><a class="code" href="structmsg__version.html#af5c5ffdab03c044307cf4e476778ba5f">00400</a> uint8_t <a class="code" href="structmsg__version.html#af5c5ffdab03c044307cf4e476778ba5f">firmwareVersion</a>[3];
<a name="l00401"></a>00401 };
<a name="l00402"></a>00402
<a name="l00404"></a>00404 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00405"></a><a class="code" href="protocol_8h.html#a7fee4b9b79cbcb9501a0ff121fe68040">00405</a> <a class="code" href="protocol_8h.html#a7fee4b9b79cbcb9501a0ff121fe68040" title="Send a MSG_VERSION message.">send_msg_version</a>(
<a name="l00406"></a>00406 <span class="keyword">const</span> uint8_t systemType,
<a name="l00407"></a>00407 <span class="keyword">const</span> uint8_t systemID,
<a name="l00408"></a>00408 <span class="keyword">const</span> uint8_t (&amp;firmwareVersion)[3])
<a name="l00409"></a>00409 {
<a name="l00410"></a>00410 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a0e7b3ff6697119e8ea953189082a5cce">MSG_VERSION</a>,
<a name="l00411"></a>00411 <span class="keyword">sizeof</span>(systemType) +
<a name="l00412"></a>00412 <span class="keyword">sizeof</span>(systemID) +
<a name="l00413"></a>00413 (<span class="keyword">sizeof</span>(firmwareVersion[0]) * 3) + 0);
<a name="l00414"></a>00414 _emit(systemType);
<a name="l00415"></a>00415 _emit(systemID);
<a name="l00416"></a>00416 _emit(firmwareVersion, 3);
<a name="l00417"></a>00417 _endMessage();
<a name="l00418"></a>00418 };
<a name="l00419"></a>00419
<a name="l00421"></a>00421 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00422"></a><a class="code" href="protocol_8h.html#a0de489f23defe86757db7f968b173484">00422</a> <a class="code" href="protocol_8h.html#a0de489f23defe86757db7f968b173484" title="Unpack a MSG_VERSION message.">unpack_msg_version</a>(
<a name="l00423"></a>00423 uint8_t &amp;systemType,
<a name="l00424"></a>00424 uint8_t &amp;systemID,
<a name="l00425"></a>00425 uint8_t (&amp;firmwareVersion)[3])
<a name="l00426"></a>00426 {
<a name="l00427"></a>00427 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00428"></a>00428 _unpack(__p, systemType);
<a name="l00429"></a>00429 _unpack(__p, systemID);
<a name="l00430"></a>00430 _unpack(__p, firmwareVersion, 3);
<a name="l00431"></a>00431 };
<a name="l00433"></a>00433
<a name="l00436"></a>00436
<a name="l00437"></a>00437
<a name="l00439"></a><a class="code" href="structmsg__command__request.html">00439</a> <span class="keyword">struct </span><a class="code" href="structmsg__command__request.html" title="Structure describing the payload section of the MSG_COMMAND_REQUEST message.">msg_command_request</a> {
<a name="l00440"></a><a class="code" href="structmsg__command__request.html#a5728a14b6518d393e3ecbcfb6e58ac64">00440</a> uint16_t <a class="code" href="structmsg__command__request.html#a5728a14b6518d393e3ecbcfb6e58ac64">UNSPECIFIED</a>;
<a name="l00441"></a>00441 };
<a name="l00442"></a>00442
<a name="l00444"></a>00444 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00445"></a><a class="code" href="protocol_8h.html#a5bd5da5ccb3f51c3127c5ac110fbd8c7">00445</a> <a class="code" href="protocol_8h.html#a5bd5da5ccb3f51c3127c5ac110fbd8c7" title="Send a MSG_COMMAND_REQUEST message.">send_msg_command_request</a>(
<a name="l00446"></a>00446 <span class="keyword">const</span> uint16_t UNSPECIFIED)
<a name="l00447"></a>00447 {
<a name="l00448"></a>00448 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a9b2bfce423e9a174a8bd831ac8771194">MSG_COMMAND_REQUEST</a>,
<a name="l00449"></a>00449 <span class="keyword">sizeof</span>(UNSPECIFIED) + 0);
<a name="l00450"></a>00450 _emit(UNSPECIFIED);
<a name="l00451"></a>00451 _endMessage();
<a name="l00452"></a>00452 };
<a name="l00453"></a>00453
<a name="l00455"></a>00455 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00456"></a><a class="code" href="protocol_8h.html#a70ef5ddbd97574aeb47279461ad4af28">00456</a> <a class="code" href="protocol_8h.html#a70ef5ddbd97574aeb47279461ad4af28" title="Unpack a MSG_COMMAND_REQUEST message.">unpack_msg_command_request</a>(
<a name="l00457"></a>00457 uint16_t &amp;UNSPECIFIED)
<a name="l00458"></a>00458 {
<a name="l00459"></a>00459 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00460"></a>00460 _unpack(__p, UNSPECIFIED);
<a name="l00461"></a>00461 };
<a name="l00463"></a>00463
<a name="l00466"></a>00466
<a name="l00467"></a>00467
<a name="l00469"></a><a class="code" href="structmsg__command__upload.html">00469</a> <span class="keyword">struct </span><a class="code" href="structmsg__command__upload.html" title="Structure describing the payload section of the MSG_COMMAND_UPLOAD message.">msg_command_upload</a> {
<a name="l00470"></a><a class="code" href="structmsg__command__upload.html#a94ed65b0b573728b5b0e1c7ac9942646">00470</a> uint8_t <a class="code" href="structmsg__command__upload.html#a94ed65b0b573728b5b0e1c7ac9942646">action</a>;
<a name="l00471"></a><a class="code" href="structmsg__command__upload.html#ac37b37f49ce3f69d62ead425cbd6695e">00471</a> uint16_t <a class="code" href="structmsg__command__upload.html#ac37b37f49ce3f69d62ead425cbd6695e">itemNumber</a>;
<a name="l00472"></a><a class="code" href="structmsg__command__upload.html#a784cc4d9f629bcf1bde871140f2adb48">00472</a> uint16_t <a class="code" href="structmsg__command__upload.html#a784cc4d9f629bcf1bde871140f2adb48">listLength</a>;
<a name="l00473"></a><a class="code" href="structmsg__command__upload.html#a63d9cb5eac6dc8f39d3469eeb053a606">00473</a> uint8_t <a class="code" href="structmsg__command__upload.html#a63d9cb5eac6dc8f39d3469eeb053a606">commandID</a>;
<a name="l00474"></a><a class="code" href="structmsg__command__upload.html#ac0d80031a19578d3d8c0e47194d0b8df">00474</a> uint8_t <a class="code" href="structmsg__command__upload.html#ac0d80031a19578d3d8c0e47194d0b8df">p1</a>;
<a name="l00475"></a><a class="code" href="structmsg__command__upload.html#a7b75acb0cdc328853bb320d1cb256087">00475</a> int32_t <a class="code" href="structmsg__command__upload.html#a7b75acb0cdc328853bb320d1cb256087">p2</a>;
<a name="l00476"></a><a class="code" href="structmsg__command__upload.html#a7053141675242e056bd071e47fec20d1">00476</a> int32_t <a class="code" href="structmsg__command__upload.html#a7053141675242e056bd071e47fec20d1">p3</a>;
<a name="l00477"></a><a class="code" href="structmsg__command__upload.html#a92ff5490e216c2ff16c72834142a4e2c">00477</a> int32_t <a class="code" href="structmsg__command__upload.html#a92ff5490e216c2ff16c72834142a4e2c">p4</a>;
<a name="l00478"></a>00478 };
<a name="l00479"></a>00479
<a name="l00481"></a>00481 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00482"></a><a class="code" href="protocol_8h.html#a1dbbc7e12238e6f1de9975c64276343c">00482</a> <a class="code" href="protocol_8h.html#a1dbbc7e12238e6f1de9975c64276343c" title="Send a MSG_COMMAND_UPLOAD message.">send_msg_command_upload</a>(
<a name="l00483"></a>00483 <span class="keyword">const</span> uint8_t action,
<a name="l00484"></a>00484 <span class="keyword">const</span> uint16_t itemNumber,
<a name="l00485"></a>00485 <span class="keyword">const</span> uint16_t listLength,
<a name="l00486"></a>00486 <span class="keyword">const</span> uint8_t commandID,
<a name="l00487"></a>00487 <span class="keyword">const</span> uint8_t p1,
<a name="l00488"></a>00488 <span class="keyword">const</span> int32_t p2,
<a name="l00489"></a>00489 <span class="keyword">const</span> int32_t p3,
<a name="l00490"></a>00490 <span class="keyword">const</span> int32_t p4)
<a name="l00491"></a>00491 {
<a name="l00492"></a>00492 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aab84017a43692226a18dbdf16f65ca03">MSG_COMMAND_UPLOAD</a>,
<a name="l00493"></a>00493 <span class="keyword">sizeof</span>(action) +
<a name="l00494"></a>00494 <span class="keyword">sizeof</span>(itemNumber) +
<a name="l00495"></a>00495 <span class="keyword">sizeof</span>(listLength) +
<a name="l00496"></a>00496 <span class="keyword">sizeof</span>(commandID) +
<a name="l00497"></a>00497 <span class="keyword">sizeof</span>(p1) +
<a name="l00498"></a>00498 <span class="keyword">sizeof</span>(p2) +
<a name="l00499"></a>00499 <span class="keyword">sizeof</span>(p3) +
<a name="l00500"></a>00500 <span class="keyword">sizeof</span>(p4) + 0);
<a name="l00501"></a>00501 _emit(action);
<a name="l00502"></a>00502 _emit(itemNumber);
<a name="l00503"></a>00503 _emit(listLength);
<a name="l00504"></a>00504 _emit(commandID);
<a name="l00505"></a>00505 _emit(p1);
<a name="l00506"></a>00506 _emit(p2);
<a name="l00507"></a>00507 _emit(p3);
<a name="l00508"></a>00508 _emit(p4);
<a name="l00509"></a>00509 _endMessage();
<a name="l00510"></a>00510 };
<a name="l00511"></a>00511
<a name="l00513"></a>00513 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00514"></a><a class="code" href="protocol_8h.html#acc7f87df09b4ea7f2a056414c791de38">00514</a> <a class="code" href="protocol_8h.html#acc7f87df09b4ea7f2a056414c791de38" title="Unpack a MSG_COMMAND_UPLOAD message.">unpack_msg_command_upload</a>(
<a name="l00515"></a>00515 uint8_t &amp;action,
<a name="l00516"></a>00516 uint16_t &amp;itemNumber,
<a name="l00517"></a>00517 uint16_t &amp;listLength,
<a name="l00518"></a>00518 uint8_t &amp;commandID,
<a name="l00519"></a>00519 uint8_t &amp;p1,
<a name="l00520"></a>00520 int32_t &amp;p2,
<a name="l00521"></a>00521 int32_t &amp;p3,
<a name="l00522"></a>00522 int32_t &amp;p4)
<a name="l00523"></a>00523 {
<a name="l00524"></a>00524 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00525"></a>00525 _unpack(__p, action);
<a name="l00526"></a>00526 _unpack(__p, itemNumber);
<a name="l00527"></a>00527 _unpack(__p, listLength);
<a name="l00528"></a>00528 _unpack(__p, commandID);
<a name="l00529"></a>00529 _unpack(__p, p1);
<a name="l00530"></a>00530 _unpack(__p, p2);
<a name="l00531"></a>00531 _unpack(__p, p3);
<a name="l00532"></a>00532 _unpack(__p, p4);
<a name="l00533"></a>00533 };
<a name="l00535"></a>00535
<a name="l00538"></a>00538
<a name="l00539"></a>00539
<a name="l00541"></a><a class="code" href="structmsg__command__list.html">00541</a> <span class="keyword">struct </span><a class="code" href="structmsg__command__list.html" title="Structure describing the payload section of the MSG_COMMAND_LIST message.">msg_command_list</a> {
<a name="l00542"></a><a class="code" href="structmsg__command__list.html#a4a36735bb0ba30e23e78426006cbb896">00542</a> uint16_t <a class="code" href="structmsg__command__list.html#a4a36735bb0ba30e23e78426006cbb896">itemNumber</a>;
<a name="l00543"></a><a class="code" href="structmsg__command__list.html#a0d9d2197d2648daf46deb8df3663927a">00543</a> uint16_t <a class="code" href="structmsg__command__list.html#a0d9d2197d2648daf46deb8df3663927a">listLength</a>;
<a name="l00544"></a><a class="code" href="structmsg__command__list.html#a0ab4b8911d886725ac8b3cb6b8940747">00544</a> uint8_t <a class="code" href="structmsg__command__list.html#a0ab4b8911d886725ac8b3cb6b8940747">commandID</a>;
<a name="l00545"></a><a class="code" href="structmsg__command__list.html#a8099e6a94c5385c34d8f8e40c428d6de">00545</a> uint8_t <a class="code" href="structmsg__command__list.html#a8099e6a94c5385c34d8f8e40c428d6de">p1</a>;
<a name="l00546"></a><a class="code" href="structmsg__command__list.html#ac557b068acbb47b79b76368b2559e3e7">00546</a> int32_t <a class="code" href="structmsg__command__list.html#ac557b068acbb47b79b76368b2559e3e7">p2</a>;
<a name="l00547"></a><a class="code" href="structmsg__command__list.html#a870564b1822461dffc92098574545731">00547</a> int32_t <a class="code" href="structmsg__command__list.html#a870564b1822461dffc92098574545731">p3</a>;
<a name="l00548"></a><a class="code" href="structmsg__command__list.html#abc199d9ddbd72d4220fae80ede62e6e5">00548</a> int32_t <a class="code" href="structmsg__command__list.html#abc199d9ddbd72d4220fae80ede62e6e5">p4</a>;
<a name="l00549"></a>00549 };
<a name="l00550"></a>00550
<a name="l00552"></a>00552 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00553"></a><a class="code" href="protocol_8h.html#a2e55da885bd2d64e3f41d01cc1836f50">00553</a> <a class="code" href="protocol_8h.html#a2e55da885bd2d64e3f41d01cc1836f50" title="Send a MSG_COMMAND_LIST message.">send_msg_command_list</a>(
<a name="l00554"></a>00554 <span class="keyword">const</span> uint16_t itemNumber,
<a name="l00555"></a>00555 <span class="keyword">const</span> uint16_t listLength,
<a name="l00556"></a>00556 <span class="keyword">const</span> uint8_t commandID,
<a name="l00557"></a>00557 <span class="keyword">const</span> uint8_t p1,
<a name="l00558"></a>00558 <span class="keyword">const</span> int32_t p2,
<a name="l00559"></a>00559 <span class="keyword">const</span> int32_t p3,
<a name="l00560"></a>00560 <span class="keyword">const</span> int32_t p4)
<a name="l00561"></a>00561 {
<a name="l00562"></a>00562 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a62697b7512ef0e88667538b3145a6e70">MSG_COMMAND_LIST</a>,
<a name="l00563"></a>00563 <span class="keyword">sizeof</span>(itemNumber) +
<a name="l00564"></a>00564 <span class="keyword">sizeof</span>(listLength) +
<a name="l00565"></a>00565 <span class="keyword">sizeof</span>(commandID) +
<a name="l00566"></a>00566 <span class="keyword">sizeof</span>(p1) +
<a name="l00567"></a>00567 <span class="keyword">sizeof</span>(p2) +
<a name="l00568"></a>00568 <span class="keyword">sizeof</span>(p3) +
<a name="l00569"></a>00569 <span class="keyword">sizeof</span>(p4) + 0);
<a name="l00570"></a>00570 _emit(itemNumber);
<a name="l00571"></a>00571 _emit(listLength);
<a name="l00572"></a>00572 _emit(commandID);
<a name="l00573"></a>00573 _emit(p1);
<a name="l00574"></a>00574 _emit(p2);
<a name="l00575"></a>00575 _emit(p3);
<a name="l00576"></a>00576 _emit(p4);
<a name="l00577"></a>00577 _endMessage();
<a name="l00578"></a>00578 };
<a name="l00579"></a>00579
<a name="l00581"></a>00581 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00582"></a><a class="code" href="protocol_8h.html#ae7d09567b16702ef75819790df2f30f0">00582</a> <a class="code" href="protocol_8h.html#ae7d09567b16702ef75819790df2f30f0" title="Unpack a MSG_COMMAND_LIST message.">unpack_msg_command_list</a>(
<a name="l00583"></a>00583 uint16_t &amp;itemNumber,
<a name="l00584"></a>00584 uint16_t &amp;listLength,
<a name="l00585"></a>00585 uint8_t &amp;commandID,
<a name="l00586"></a>00586 uint8_t &amp;p1,
<a name="l00587"></a>00587 int32_t &amp;p2,
<a name="l00588"></a>00588 int32_t &amp;p3,
<a name="l00589"></a>00589 int32_t &amp;p4)
<a name="l00590"></a>00590 {
<a name="l00591"></a>00591 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00592"></a>00592 _unpack(__p, itemNumber);
<a name="l00593"></a>00593 _unpack(__p, listLength);
<a name="l00594"></a>00594 _unpack(__p, commandID);
<a name="l00595"></a>00595 _unpack(__p, p1);
<a name="l00596"></a>00596 _unpack(__p, p2);
<a name="l00597"></a>00597 _unpack(__p, p3);
<a name="l00598"></a>00598 _unpack(__p, p4);
<a name="l00599"></a>00599 };
<a name="l00601"></a>00601
<a name="l00604"></a>00604
<a name="l00605"></a>00605
<a name="l00607"></a><a class="code" href="structmsg__command__mode__change.html">00607</a> <span class="keyword">struct </span><a class="code" href="structmsg__command__mode__change.html" title="Structure describing the payload section of the MSG_COMMAND_MODE_CHANGE message.">msg_command_mode_change</a> {
<a name="l00608"></a><a class="code" href="structmsg__command__mode__change.html#a9e708a72e40e2ec36d338526c5b5e745">00608</a> uint16_t <a class="code" href="structmsg__command__mode__change.html#a9e708a72e40e2ec36d338526c5b5e745">UNSPECIFIED</a>;
<a name="l00609"></a>00609 };
<a name="l00610"></a>00610
<a name="l00612"></a>00612 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00613"></a><a class="code" href="protocol_8h.html#ab19f72d296af80dae6b5d2994c57cfeb">00613</a> <a class="code" href="protocol_8h.html#ab19f72d296af80dae6b5d2994c57cfeb" title="Send a MSG_COMMAND_MODE_CHANGE message.">send_msg_command_mode_change</a>(
<a name="l00614"></a>00614 <span class="keyword">const</span> uint16_t UNSPECIFIED)
<a name="l00615"></a>00615 {
<a name="l00616"></a>00616 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0abeea27d500eacca51b94cf6e92341dc0">MSG_COMMAND_MODE_CHANGE</a>,
<a name="l00617"></a>00617 <span class="keyword">sizeof</span>(UNSPECIFIED) + 0);
<a name="l00618"></a>00618 _emit(UNSPECIFIED);
<a name="l00619"></a>00619 _endMessage();
<a name="l00620"></a>00620 };
<a name="l00621"></a>00621
<a name="l00623"></a>00623 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00624"></a><a class="code" href="protocol_8h.html#a6c77ba9cb02e115af40d766c58f29f13">00624</a> <a class="code" href="protocol_8h.html#a6c77ba9cb02e115af40d766c58f29f13" title="Unpack a MSG_COMMAND_MODE_CHANGE message.">unpack_msg_command_mode_change</a>(
<a name="l00625"></a>00625 uint16_t &amp;UNSPECIFIED)
<a name="l00626"></a>00626 {
<a name="l00627"></a>00627 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00628"></a>00628 _unpack(__p, UNSPECIFIED);
<a name="l00629"></a>00629 };
<a name="l00631"></a>00631
<a name="l00634"></a>00634
<a name="l00635"></a>00635
<a name="l00637"></a><a class="code" href="structmsg__value__request.html">00637</a> <span class="keyword">struct </span><a class="code" href="structmsg__value__request.html" title="Structure describing the payload section of the MSG_VALUE_REQUEST message.">msg_value_request</a> {
<a name="l00638"></a><a class="code" href="structmsg__value__request.html#ace3cbedb1c79ddb38485843ac784cda7">00638</a> uint8_t <a class="code" href="structmsg__value__request.html#ace3cbedb1c79ddb38485843ac784cda7">valueID</a>;
<a name="l00639"></a><a class="code" href="structmsg__value__request.html#a6776821a7caf947bb394abff6db6f775">00639</a> uint8_t <a class="code" href="structmsg__value__request.html#a6776821a7caf947bb394abff6db6f775">broadcast</a>;
<a name="l00640"></a>00640 };
<a name="l00641"></a>00641
<a name="l00643"></a>00643 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00644"></a><a class="code" href="protocol_8h.html#aecc89cc5e71b03ec7d2d86e3f0a63633">00644</a> <a class="code" href="protocol_8h.html#aecc89cc5e71b03ec7d2d86e3f0a63633" title="Send a MSG_VALUE_REQUEST message.">send_msg_value_request</a>(
<a name="l00645"></a>00645 <span class="keyword">const</span> uint8_t valueID,
<a name="l00646"></a>00646 <span class="keyword">const</span> uint8_t broadcast)
<a name="l00647"></a>00647 {
<a name="l00648"></a>00648 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a0e50d375f03090c70617b3bb7ee0e4cb">MSG_VALUE_REQUEST</a>,
<a name="l00649"></a>00649 <span class="keyword">sizeof</span>(valueID) +
<a name="l00650"></a>00650 <span class="keyword">sizeof</span>(broadcast) + 0);
<a name="l00651"></a>00651 _emit(valueID);
<a name="l00652"></a>00652 _emit(broadcast);
<a name="l00653"></a>00653 _endMessage();
<a name="l00654"></a>00654 };
<a name="l00655"></a>00655
<a name="l00657"></a>00657 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00658"></a><a class="code" href="protocol_8h.html#a14538c971563a14742b26407de94e138">00658</a> <a class="code" href="protocol_8h.html#a14538c971563a14742b26407de94e138" title="Unpack a MSG_VALUE_REQUEST message.">unpack_msg_value_request</a>(
<a name="l00659"></a>00659 uint8_t &amp;valueID,
<a name="l00660"></a>00660 uint8_t &amp;broadcast)
<a name="l00661"></a>00661 {
<a name="l00662"></a>00662 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00663"></a>00663 _unpack(__p, valueID);
<a name="l00664"></a>00664 _unpack(__p, broadcast);
<a name="l00665"></a>00665 };
<a name="l00667"></a>00667
<a name="l00670"></a>00670
<a name="l00671"></a>00671
<a name="l00673"></a><a class="code" href="structmsg__value__set.html">00673</a> <span class="keyword">struct </span><a class="code" href="structmsg__value__set.html" title="Structure describing the payload section of the MSG_VALUE_SET message.">msg_value_set</a> {
<a name="l00674"></a><a class="code" href="structmsg__value__set.html#a271a19812af7579846999be0127a3578">00674</a> uint8_t <a class="code" href="structmsg__value__set.html#a271a19812af7579846999be0127a3578">valueID</a>;
<a name="l00675"></a><a class="code" href="structmsg__value__set.html#a31bf7f9481025c69c241e1acbde58215">00675</a> uint32_t <a class="code" href="structmsg__value__set.html#a31bf7f9481025c69c241e1acbde58215">value</a>;
<a name="l00676"></a>00676 };
<a name="l00677"></a>00677
<a name="l00679"></a>00679 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00680"></a><a class="code" href="protocol_8h.html#a3b4b689afdc7b891cc57f843c60cbe5c">00680</a> <a class="code" href="protocol_8h.html#a3b4b689afdc7b891cc57f843c60cbe5c" title="Send a MSG_VALUE_SET message.">send_msg_value_set</a>(
<a name="l00681"></a>00681 <span class="keyword">const</span> uint8_t valueID,
<a name="l00682"></a>00682 <span class="keyword">const</span> uint32_t value)
<a name="l00683"></a>00683 {
<a name="l00684"></a>00684 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a536c56c53ae4da8c8417c9d5e1751937">MSG_VALUE_SET</a>,
<a name="l00685"></a>00685 <span class="keyword">sizeof</span>(valueID) +
<a name="l00686"></a>00686 <span class="keyword">sizeof</span>(value) + 0);
<a name="l00687"></a>00687 _emit(valueID);
<a name="l00688"></a>00688 _emit(value);
<a name="l00689"></a>00689 _endMessage();
<a name="l00690"></a>00690 };
<a name="l00691"></a>00691
<a name="l00693"></a>00693 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00694"></a><a class="code" href="protocol_8h.html#a313e384f85f2928ebb6125edde0d688b">00694</a> <a class="code" href="protocol_8h.html#a313e384f85f2928ebb6125edde0d688b" title="Unpack a MSG_VALUE_SET message.">unpack_msg_value_set</a>(
<a name="l00695"></a>00695 uint8_t &amp;valueID,
<a name="l00696"></a>00696 uint32_t &amp;value)
<a name="l00697"></a>00697 {
<a name="l00698"></a>00698 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00699"></a>00699 _unpack(__p, valueID);
<a name="l00700"></a>00700 _unpack(__p, value);
<a name="l00701"></a>00701 };
<a name="l00703"></a>00703
<a name="l00706"></a>00706
<a name="l00707"></a>00707
<a name="l00709"></a><a class="code" href="structmsg__value.html">00709</a> <span class="keyword">struct </span><a class="code" href="structmsg__value.html" title="Structure describing the payload section of the MSG_VALUE message.">msg_value</a> {
<a name="l00710"></a><a class="code" href="structmsg__value.html#a190655f74490161c830d5993bcce604f">00710</a> uint8_t <a class="code" href="structmsg__value.html#a190655f74490161c830d5993bcce604f">valueID</a>;
<a name="l00711"></a><a class="code" href="structmsg__value.html#a826524fdeb6f3321d273f7df17bc4abe">00711</a> uint32_t <a class="code" href="structmsg__value.html#a826524fdeb6f3321d273f7df17bc4abe">value</a>;
<a name="l00712"></a>00712 };
<a name="l00713"></a>00713
<a name="l00715"></a>00715 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00716"></a><a class="code" href="protocol_8h.html#ac8c5cc237b5cb11f86aa7d5e65c5fe4d">00716</a> <a class="code" href="protocol_8h.html#ac8c5cc237b5cb11f86aa7d5e65c5fe4d" title="Send a MSG_VALUE message.">send_msg_value</a>(
<a name="l00717"></a>00717 <span class="keyword">const</span> uint8_t valueID,
<a name="l00718"></a>00718 <span class="keyword">const</span> uint32_t value)
<a name="l00719"></a>00719 {
<a name="l00720"></a>00720 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0af4545cf7ee9fb49c62e84a6e31f25c44">MSG_VALUE</a>,
<a name="l00721"></a>00721 <span class="keyword">sizeof</span>(valueID) +
<a name="l00722"></a>00722 <span class="keyword">sizeof</span>(value) + 0);
<a name="l00723"></a>00723 _emit(valueID);
<a name="l00724"></a>00724 _emit(value);
<a name="l00725"></a>00725 _endMessage();
<a name="l00726"></a>00726 };
<a name="l00727"></a>00727
<a name="l00729"></a>00729 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00730"></a><a class="code" href="protocol_8h.html#a0c600e220e3691755feeab10b7b6e782">00730</a> <a class="code" href="protocol_8h.html#a0c600e220e3691755feeab10b7b6e782" title="Unpack a MSG_VALUE message.">unpack_msg_value</a>(
<a name="l00731"></a>00731 uint8_t &amp;valueID,
<a name="l00732"></a>00732 uint32_t &amp;value)
<a name="l00733"></a>00733 {
<a name="l00734"></a>00734 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00735"></a>00735 _unpack(__p, valueID);
<a name="l00736"></a>00736 _unpack(__p, value);
<a name="l00737"></a>00737 };
<a name="l00739"></a>00739
<a name="l00742"></a>00742
<a name="l00743"></a>00743
<a name="l00745"></a><a class="code" href="structmsg__pid__request.html">00745</a> <span class="keyword">struct </span><a class="code" href="structmsg__pid__request.html" title="Structure describing the payload section of the MSG_PID_REQUEST message.">msg_pid_request</a> {
<a name="l00746"></a><a class="code" href="structmsg__pid__request.html#abecb83866407aa1165f580cfb409569a">00746</a> uint8_t <a class="code" href="structmsg__pid__request.html#abecb83866407aa1165f580cfb409569a">pidSet</a>;
<a name="l00747"></a>00747 };
<a name="l00748"></a>00748
<a name="l00750"></a>00750 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00751"></a><a class="code" href="protocol_8h.html#ab034ef7c480b138a72a4056c515510fc">00751</a> <a class="code" href="protocol_8h.html#ab034ef7c480b138a72a4056c515510fc" title="Send a MSG_PID_REQUEST message.">send_msg_pid_request</a>(
<a name="l00752"></a>00752 <span class="keyword">const</span> uint8_t pidSet)
<a name="l00753"></a>00753 {
<a name="l00754"></a>00754 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a516ea6263e6979b281011ed923a58505">MSG_PID_REQUEST</a>,
<a name="l00755"></a>00755 <span class="keyword">sizeof</span>(pidSet) + 0);
<a name="l00756"></a>00756 _emit(pidSet);
<a name="l00757"></a>00757 _endMessage();
<a name="l00758"></a>00758 };
<a name="l00759"></a>00759
<a name="l00761"></a>00761 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00762"></a><a class="code" href="protocol_8h.html#a0f27652581780377d4b4cf0ccd6074cc">00762</a> <a class="code" href="protocol_8h.html#a0f27652581780377d4b4cf0ccd6074cc" title="Unpack a MSG_PID_REQUEST message.">unpack_msg_pid_request</a>(
<a name="l00763"></a>00763 uint8_t &amp;pidSet)
<a name="l00764"></a>00764 {
<a name="l00765"></a>00765 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00766"></a>00766 _unpack(__p, pidSet);
<a name="l00767"></a>00767 };
<a name="l00769"></a>00769
<a name="l00772"></a>00772
<a name="l00773"></a>00773
<a name="l00775"></a><a class="code" href="structmsg__pid__set.html">00775</a> <span class="keyword">struct </span><a class="code" href="structmsg__pid__set.html" title="Structure describing the payload section of the MSG_PID_SET message.">msg_pid_set</a> {
<a name="l00776"></a><a class="code" href="structmsg__pid__set.html#a3352c33c170d84e0503746725b37b92b">00776</a> uint8_t <a class="code" href="structmsg__pid__set.html#a3352c33c170d84e0503746725b37b92b">pidSet</a>;
<a name="l00777"></a><a class="code" href="structmsg__pid__set.html#a36142f6e5be721684436e3e2f1eb3c99">00777</a> int32_t <a class="code" href="structmsg__pid__set.html#a36142f6e5be721684436e3e2f1eb3c99">p</a>;
<a name="l00778"></a><a class="code" href="structmsg__pid__set.html#a6be15970c2a2dfef41b64ea0ce598be9">00778</a> int32_t <a class="code" href="structmsg__pid__set.html#a6be15970c2a2dfef41b64ea0ce598be9">i</a>;
<a name="l00779"></a><a class="code" href="structmsg__pid__set.html#a82ac356a28bf2b9e165b5bd11ceee61d">00779</a> int32_t <a class="code" href="structmsg__pid__set.html#a82ac356a28bf2b9e165b5bd11ceee61d">d</a>;
<a name="l00780"></a><a class="code" href="structmsg__pid__set.html#a32d7bbc5cac698db79885327d7f11f38">00780</a> int16_t <a class="code" href="structmsg__pid__set.html#a32d7bbc5cac698db79885327d7f11f38">integratorMax</a>;
<a name="l00781"></a>00781 };
<a name="l00782"></a>00782
<a name="l00784"></a>00784 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00785"></a><a class="code" href="protocol_8h.html#acc5fa483caad282e92796993a69cbe7f">00785</a> <a class="code" href="protocol_8h.html#acc5fa483caad282e92796993a69cbe7f" title="Send a MSG_PID_SET message.">send_msg_pid_set</a>(
<a name="l00786"></a>00786 <span class="keyword">const</span> uint8_t pidSet,
<a name="l00787"></a>00787 <span class="keyword">const</span> int32_t p,
<a name="l00788"></a>00788 <span class="keyword">const</span> int32_t i,
<a name="l00789"></a>00789 <span class="keyword">const</span> int32_t d,
<a name="l00790"></a>00790 <span class="keyword">const</span> int16_t integratorMax)
<a name="l00791"></a>00791 {
<a name="l00792"></a>00792 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aeadd5e1920c2e34ea844df1c6896a109">MSG_PID_SET</a>,
<a name="l00793"></a>00793 <span class="keyword">sizeof</span>(pidSet) +
<a name="l00794"></a>00794 <span class="keyword">sizeof</span>(p) +
<a name="l00795"></a>00795 <span class="keyword">sizeof</span>(i) +
<a name="l00796"></a>00796 <span class="keyword">sizeof</span>(d) +
<a name="l00797"></a>00797 <span class="keyword">sizeof</span>(integratorMax) + 0);
<a name="l00798"></a>00798 _emit(pidSet);
<a name="l00799"></a>00799 _emit(p);
<a name="l00800"></a>00800 _emit(i);
<a name="l00801"></a>00801 _emit(d);
<a name="l00802"></a>00802 _emit(integratorMax);
<a name="l00803"></a>00803 _endMessage();
<a name="l00804"></a>00804 };
<a name="l00805"></a>00805
<a name="l00807"></a>00807 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00808"></a><a class="code" href="protocol_8h.html#a69b55f15d9964515d7fcb0aef472b7ea">00808</a> <a class="code" href="protocol_8h.html#a69b55f15d9964515d7fcb0aef472b7ea" title="Unpack a MSG_PID_SET message.">unpack_msg_pid_set</a>(
<a name="l00809"></a>00809 uint8_t &amp;pidSet,
<a name="l00810"></a>00810 int32_t &amp;p,
<a name="l00811"></a>00811 int32_t &amp;i,
<a name="l00812"></a>00812 int32_t &amp;d,
<a name="l00813"></a>00813 int16_t &amp;integratorMax)
<a name="l00814"></a>00814 {
<a name="l00815"></a>00815 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00816"></a>00816 _unpack(__p, pidSet);
<a name="l00817"></a>00817 _unpack(__p, p);
<a name="l00818"></a>00818 _unpack(__p, i);
<a name="l00819"></a>00819 _unpack(__p, d);
<a name="l00820"></a>00820 _unpack(__p, integratorMax);
<a name="l00821"></a>00821 };
<a name="l00823"></a>00823
<a name="l00826"></a>00826
<a name="l00827"></a>00827
<a name="l00829"></a><a class="code" href="structmsg__pid.html">00829</a> <span class="keyword">struct </span><a class="code" href="structmsg__pid.html" title="Structure describing the payload section of the MSG_PID message.">msg_pid</a> {
<a name="l00830"></a><a class="code" href="structmsg__pid.html#a4688c75c1123bc35c99432cb57861ed2">00830</a> uint8_t <a class="code" href="structmsg__pid.html#a4688c75c1123bc35c99432cb57861ed2">pidSet</a>;
<a name="l00831"></a><a class="code" href="structmsg__pid.html#a59da34acc4849e29d15c39704dbef151">00831</a> int32_t <a class="code" href="structmsg__pid.html#a59da34acc4849e29d15c39704dbef151">p</a>;
<a name="l00832"></a><a class="code" href="structmsg__pid.html#a011802c6fa97da799d4a0eb7ef927720">00832</a> int32_t <a class="code" href="structmsg__pid.html#a011802c6fa97da799d4a0eb7ef927720">i</a>;
<a name="l00833"></a><a class="code" href="structmsg__pid.html#ab709247786b0b955e755b818bbca2397">00833</a> int32_t <a class="code" href="structmsg__pid.html#ab709247786b0b955e755b818bbca2397">d</a>;
<a name="l00834"></a><a class="code" href="structmsg__pid.html#a48e6b336f3ae56d461ec1edd46239dbd">00834</a> int16_t <a class="code" href="structmsg__pid.html#a48e6b336f3ae56d461ec1edd46239dbd">integratorMax</a>;
<a name="l00835"></a>00835 };
<a name="l00836"></a>00836
<a name="l00838"></a>00838 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00839"></a><a class="code" href="protocol_8h.html#a2990bb3a2f86f47f6a535bb2a000ab47">00839</a> <a class="code" href="protocol_8h.html#a2990bb3a2f86f47f6a535bb2a000ab47" title="Send a MSG_PID message.">send_msg_pid</a>(
<a name="l00840"></a>00840 <span class="keyword">const</span> uint8_t pidSet,
<a name="l00841"></a>00841 <span class="keyword">const</span> int32_t p,
<a name="l00842"></a>00842 <span class="keyword">const</span> int32_t i,
<a name="l00843"></a>00843 <span class="keyword">const</span> int32_t d,
<a name="l00844"></a>00844 <span class="keyword">const</span> int16_t integratorMax)
<a name="l00845"></a>00845 {
<a name="l00846"></a>00846 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a20ba3c6bea07ce059f2be63b2409360e">MSG_PID</a>,
<a name="l00847"></a>00847 <span class="keyword">sizeof</span>(pidSet) +
<a name="l00848"></a>00848 <span class="keyword">sizeof</span>(p) +
<a name="l00849"></a>00849 <span class="keyword">sizeof</span>(i) +
<a name="l00850"></a>00850 <span class="keyword">sizeof</span>(d) +
<a name="l00851"></a>00851 <span class="keyword">sizeof</span>(integratorMax) + 0);
<a name="l00852"></a>00852 _emit(pidSet);
<a name="l00853"></a>00853 _emit(p);
<a name="l00854"></a>00854 _emit(i);
<a name="l00855"></a>00855 _emit(d);
<a name="l00856"></a>00856 _emit(integratorMax);
<a name="l00857"></a>00857 _endMessage();
<a name="l00858"></a>00858 };
<a name="l00859"></a>00859
<a name="l00861"></a>00861 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00862"></a><a class="code" href="protocol_8h.html#a00741f9c9ac5c23ce27172f78e7ae01a">00862</a> <a class="code" href="protocol_8h.html#a00741f9c9ac5c23ce27172f78e7ae01a" title="Unpack a MSG_PID message.">unpack_msg_pid</a>(
<a name="l00863"></a>00863 uint8_t &amp;pidSet,
<a name="l00864"></a>00864 int32_t &amp;p,
<a name="l00865"></a>00865 int32_t &amp;i,
<a name="l00866"></a>00866 int32_t &amp;d,
<a name="l00867"></a>00867 int16_t &amp;integratorMax)
<a name="l00868"></a>00868 {
<a name="l00869"></a>00869 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00870"></a>00870 _unpack(__p, pidSet);
<a name="l00871"></a>00871 _unpack(__p, p);
<a name="l00872"></a>00872 _unpack(__p, i);
<a name="l00873"></a>00873 _unpack(__p, d);
<a name="l00874"></a>00874 _unpack(__p, integratorMax);
<a name="l00875"></a>00875 };
<a name="l00877"></a>00877
<a name="l00880"></a>00880
<a name="l00881"></a>00881
<a name="l00883"></a><a class="code" href="structmsg__trim__startup.html">00883</a> <span class="keyword">struct </span><a class="code" href="structmsg__trim__startup.html" title="Structure describing the payload section of the MSG_TRIM_STARTUP message.">msg_trim_startup</a> {
<a name="l00884"></a><a class="code" href="structmsg__trim__startup.html#a1dd5ffdf0c75f50bae33650843c5e99b">00884</a> uint16_t <a class="code" href="structmsg__trim__startup.html#a1dd5ffdf0c75f50bae33650843c5e99b">value</a>[8];
<a name="l00885"></a>00885 };
<a name="l00886"></a>00886
<a name="l00888"></a>00888 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00889"></a><a class="code" href="protocol_8h.html#a4688425690e473d7dbd44eddb9d38fbf">00889</a> <a class="code" href="protocol_8h.html#a4688425690e473d7dbd44eddb9d38fbf" title="Send a MSG_TRIM_STARTUP message.">send_msg_trim_startup</a>(
<a name="l00890"></a>00890 <span class="keyword">const</span> uint16_t (&amp;value)[8])
<a name="l00891"></a>00891 {
<a name="l00892"></a>00892 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aa6c8006c0a99e0e751ae5fe6676a679d">MSG_TRIM_STARTUP</a>,
<a name="l00893"></a>00893 (<span class="keyword">sizeof</span>(value[0]) * 8) + 0);
<a name="l00894"></a>00894 _emit(value, 8);
<a name="l00895"></a>00895 _endMessage();
<a name="l00896"></a>00896 };
<a name="l00897"></a>00897
<a name="l00899"></a>00899 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00900"></a><a class="code" href="protocol_8h.html#aece099be2f9647c0cc0a6904ccbc3456">00900</a> <a class="code" href="protocol_8h.html#aece099be2f9647c0cc0a6904ccbc3456" title="Unpack a MSG_TRIM_STARTUP message.">unpack_msg_trim_startup</a>(
<a name="l00901"></a>00901 uint16_t (&amp;value)[8])
<a name="l00902"></a>00902 {
<a name="l00903"></a>00903 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00904"></a>00904 _unpack(__p, value, 8);
<a name="l00905"></a>00905 };
<a name="l00907"></a>00907
<a name="l00910"></a>00910
<a name="l00911"></a>00911
<a name="l00913"></a><a class="code" href="structmsg__trim__min.html">00913</a> <span class="keyword">struct </span><a class="code" href="structmsg__trim__min.html" title="Structure describing the payload section of the MSG_TRIM_MIN message.">msg_trim_min</a> {
<a name="l00914"></a><a class="code" href="structmsg__trim__min.html#af099ebbd33a9608279e1319180c5a87e">00914</a> uint16_t <a class="code" href="structmsg__trim__min.html#af099ebbd33a9608279e1319180c5a87e">value</a>[8];
<a name="l00915"></a>00915 };
<a name="l00916"></a>00916
<a name="l00918"></a>00918 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00919"></a><a class="code" href="protocol_8h.html#a52c1182b4442a02c13364bb89c5e93ec">00919</a> <a class="code" href="protocol_8h.html#a52c1182b4442a02c13364bb89c5e93ec" title="Send a MSG_TRIM_MIN message.">send_msg_trim_min</a>(
<a name="l00920"></a>00920 <span class="keyword">const</span> uint16_t (&amp;value)[8])
<a name="l00921"></a>00921 {
<a name="l00922"></a>00922 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aaa5b689f5d08893f3db1d2daca2e9b2a">MSG_TRIM_MIN</a>,
<a name="l00923"></a>00923 (<span class="keyword">sizeof</span>(value[0]) * 8) + 0);
<a name="l00924"></a>00924 _emit(value, 8);
<a name="l00925"></a>00925 _endMessage();
<a name="l00926"></a>00926 };
<a name="l00927"></a>00927
<a name="l00929"></a>00929 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00930"></a><a class="code" href="protocol_8h.html#a046de1889399723874f90e58dd20ac7c">00930</a> <a class="code" href="protocol_8h.html#a046de1889399723874f90e58dd20ac7c" title="Unpack a MSG_TRIM_MIN message.">unpack_msg_trim_min</a>(
<a name="l00931"></a>00931 uint16_t (&amp;value)[8])
<a name="l00932"></a>00932 {
<a name="l00933"></a>00933 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00934"></a>00934 _unpack(__p, value, 8);
<a name="l00935"></a>00935 };
<a name="l00937"></a>00937
<a name="l00940"></a>00940
<a name="l00941"></a>00941
<a name="l00943"></a><a class="code" href="structmsg__trim__max.html">00943</a> <span class="keyword">struct </span><a class="code" href="structmsg__trim__max.html" title="Structure describing the payload section of the MSG_TRIM_MAX message.">msg_trim_max</a> {
<a name="l00944"></a><a class="code" href="structmsg__trim__max.html#aae9a1961ecf0495d9bdbcbd67fcea645">00944</a> uint16_t <a class="code" href="structmsg__trim__max.html#aae9a1961ecf0495d9bdbcbd67fcea645">value</a>[8];
<a name="l00945"></a>00945 };
<a name="l00946"></a>00946
<a name="l00948"></a>00948 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00949"></a><a class="code" href="protocol_8h.html#a3f51f894b8e2294512dab1dc00109d10">00949</a> <a class="code" href="protocol_8h.html#a3f51f894b8e2294512dab1dc00109d10" title="Send a MSG_TRIM_MAX message.">send_msg_trim_max</a>(
<a name="l00950"></a>00950 <span class="keyword">const</span> uint16_t (&amp;value)[8])
<a name="l00951"></a>00951 {
<a name="l00952"></a>00952 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a4f1e44e4773b54af4438487a8796390c">MSG_TRIM_MAX</a>,
<a name="l00953"></a>00953 (<span class="keyword">sizeof</span>(value[0]) * 8) + 0);
<a name="l00954"></a>00954 _emit(value, 8);
<a name="l00955"></a>00955 _endMessage();
<a name="l00956"></a>00956 };
<a name="l00957"></a>00957
<a name="l00959"></a>00959 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00960"></a><a class="code" href="protocol_8h.html#ae9220e66df2cd95491d92085aececd04">00960</a> <a class="code" href="protocol_8h.html#ae9220e66df2cd95491d92085aececd04" title="Unpack a MSG_TRIM_MAX message.">unpack_msg_trim_max</a>(
<a name="l00961"></a>00961 uint16_t (&amp;value)[8])
<a name="l00962"></a>00962 {
<a name="l00963"></a>00963 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00964"></a>00964 _unpack(__p, value, 8);
<a name="l00965"></a>00965 };
<a name="l00967"></a>00967
<a name="l00970"></a>00970
<a name="l00971"></a>00971
<a name="l00973"></a><a class="code" href="structmsg__radio__out.html">00973</a> <span class="keyword">struct </span><a class="code" href="structmsg__radio__out.html" title="Structure describing the payload section of the MSG_RADIO_OUT message.">msg_radio_out</a> {
<a name="l00974"></a><a class="code" href="structmsg__radio__out.html#a66d0cdb54eaa79430f909a89186385ce">00974</a> uint16_t <a class="code" href="structmsg__radio__out.html#a66d0cdb54eaa79430f909a89186385ce">value</a>[8];
<a name="l00975"></a>00975 };
<a name="l00976"></a>00976
<a name="l00978"></a>00978 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00979"></a><a class="code" href="protocol_8h.html#adb477436d4843a0c3b2070fb2bf87725">00979</a> <a class="code" href="protocol_8h.html#adb477436d4843a0c3b2070fb2bf87725" title="Send a MSG_RADIO_OUT message.">send_msg_radio_out</a>(
<a name="l00980"></a>00980 <span class="keyword">const</span> uint16_t (&amp;value)[8])
<a name="l00981"></a>00981 {
<a name="l00982"></a>00982 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0ad74f0a7f5b84b6ffd69db41b8a5e73b7">MSG_RADIO_OUT</a>,
<a name="l00983"></a>00983 (<span class="keyword">sizeof</span>(value[0]) * 8) + 0);
<a name="l00984"></a>00984 _emit(value, 8);
<a name="l00985"></a>00985 _endMessage();
<a name="l00986"></a>00986 };
<a name="l00987"></a>00987
<a name="l00989"></a>00989 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00990"></a><a class="code" href="protocol_8h.html#a031cb9cadb83055a3baa72429841caef">00990</a> <a class="code" href="protocol_8h.html#a031cb9cadb83055a3baa72429841caef" title="Unpack a MSG_RADIO_OUT message.">unpack_msg_radio_out</a>(
<a name="l00991"></a>00991 uint16_t (&amp;value)[8])
<a name="l00992"></a>00992 {
<a name="l00993"></a>00993 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l00994"></a>00994 _unpack(__p, value, 8);
<a name="l00995"></a>00995 };
<a name="l00997"></a>00997
<a name="l01000"></a>01000
<a name="l01001"></a>01001
<a name="l01003"></a><a class="code" href="structmsg__sensor.html">01003</a> <span class="keyword">struct </span><a class="code" href="structmsg__sensor.html" title="Structure describing the payload section of the MSG_SENSOR message.">msg_sensor</a> {
<a name="l01004"></a><a class="code" href="structmsg__sensor.html#a8c526253c9d64c7e7e7dc52772e342ad">01004</a> uint16_t <a class="code" href="structmsg__sensor.html#a8c526253c9d64c7e7e7dc52772e342ad">UNSPECIFIED</a>;
<a name="l01005"></a>01005 };
<a name="l01006"></a>01006
<a name="l01008"></a>01008 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01009"></a><a class="code" href="protocol_8h.html#abd7f084fbc045832b0e63dd7a0545825">01009</a> <a class="code" href="protocol_8h.html#abd7f084fbc045832b0e63dd7a0545825" title="Send a MSG_SENSOR message.">send_msg_sensor</a>(
<a name="l01010"></a>01010 <span class="keyword">const</span> uint16_t UNSPECIFIED)
<a name="l01011"></a>01011 {
<a name="l01012"></a>01012 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aa4d2b1eabb4b879dc7ff5e1674ec4f35">MSG_SENSOR</a>,
<a name="l01013"></a>01013 <span class="keyword">sizeof</span>(UNSPECIFIED) + 0);
<a name="l01014"></a>01014 _emit(UNSPECIFIED);
<a name="l01015"></a>01015 _endMessage();
<a name="l01016"></a>01016 };
<a name="l01017"></a>01017
<a name="l01019"></a>01019 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01020"></a><a class="code" href="protocol_8h.html#aad3ca7c2c9d296a959e4f9c6495f1de5">01020</a> <a class="code" href="protocol_8h.html#aad3ca7c2c9d296a959e4f9c6495f1de5" title="Unpack a MSG_SENSOR message.">unpack_msg_sensor</a>(
<a name="l01021"></a>01021 uint16_t &amp;UNSPECIFIED)
<a name="l01022"></a>01022 {
<a name="l01023"></a>01023 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01024"></a>01024 _unpack(__p, UNSPECIFIED);
<a name="l01025"></a>01025 };
<a name="l01027"></a>01027
<a name="l01030"></a>01030
<a name="l01031"></a>01031
<a name="l01033"></a><a class="code" href="structmsg__servo__out.html">01033</a> <span class="keyword">struct </span><a class="code" href="structmsg__servo__out.html" title="Structure describing the payload section of the MSG_SERVO_OUT message.">msg_servo_out</a> {
<a name="l01034"></a><a class="code" href="structmsg__servo__out.html#accb1395e0cb0c1cc9bc1bab770dbba1f">01034</a> int16_t <a class="code" href="structmsg__servo__out.html#accb1395e0cb0c1cc9bc1bab770dbba1f">value</a>[8];
<a name="l01035"></a>01035 };
<a name="l01036"></a>01036
<a name="l01038"></a>01038 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01039"></a><a class="code" href="protocol_8h.html#a51bdcf0b4576bf3a765caa1006ada9e3">01039</a> <a class="code" href="protocol_8h.html#a51bdcf0b4576bf3a765caa1006ada9e3" title="Send a MSG_SERVO_OUT message.">send_msg_servo_out</a>(
<a name="l01040"></a>01040 <span class="keyword">const</span> int16_t (&amp;value)[8])
<a name="l01041"></a>01041 {
<a name="l01042"></a>01042 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0af1b76145d215ccb122a2df732e232d26">MSG_SERVO_OUT</a>,
<a name="l01043"></a>01043 (<span class="keyword">sizeof</span>(value[0]) * 8) + 0);
<a name="l01044"></a>01044 _emit(value, 8);
<a name="l01045"></a>01045 _endMessage();
<a name="l01046"></a>01046 };
<a name="l01047"></a>01047
<a name="l01049"></a>01049 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01050"></a><a class="code" href="protocol_8h.html#a794ad1c568abc24ba0c7037d252d3b73">01050</a> <a class="code" href="protocol_8h.html#a794ad1c568abc24ba0c7037d252d3b73" title="Unpack a MSG_SERVO_OUT message.">unpack_msg_servo_out</a>(
<a name="l01051"></a>01051 int16_t (&amp;value)[8])
<a name="l01052"></a>01052 {
<a name="l01053"></a>01053 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01054"></a>01054 _unpack(__p, value, 8);
<a name="l01055"></a>01055 };
<a name="l01057"></a>01057
<a name="l01060"></a>01060
<a name="l01061"></a>01061
<a name="l01063"></a><a class="code" href="structmsg__pin__request.html">01063</a> <span class="keyword">struct </span><a class="code" href="structmsg__pin__request.html" title="Structure describing the payload section of the MSG_PIN_REQUEST message.">msg_pin_request</a> {
<a name="l01064"></a><a class="code" href="structmsg__pin__request.html#a92383c6efdeb4f3a85bca8ba7c9ba64b">01064</a> uint16_t <a class="code" href="structmsg__pin__request.html#a92383c6efdeb4f3a85bca8ba7c9ba64b">UNSPECIFIED</a>;
<a name="l01065"></a>01065 };
<a name="l01066"></a>01066
<a name="l01068"></a>01068 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01069"></a><a class="code" href="protocol_8h.html#a18663830618b2c7ab4d0b58e63adcba5">01069</a> <a class="code" href="protocol_8h.html#a18663830618b2c7ab4d0b58e63adcba5" title="Send a MSG_PIN_REQUEST message.">send_msg_pin_request</a>(
<a name="l01070"></a>01070 <span class="keyword">const</span> uint16_t UNSPECIFIED)
<a name="l01071"></a>01071 {
<a name="l01072"></a>01072 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a10309790ebe9da48e6713e4350026e8b">MSG_PIN_REQUEST</a>,
<a name="l01073"></a>01073 <span class="keyword">sizeof</span>(UNSPECIFIED) + 0);
<a name="l01074"></a>01074 _emit(UNSPECIFIED);
<a name="l01075"></a>01075 _endMessage();
<a name="l01076"></a>01076 };
<a name="l01077"></a>01077
<a name="l01079"></a>01079 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01080"></a><a class="code" href="protocol_8h.html#a4547caaeb23f418962f72d56843b0085">01080</a> <a class="code" href="protocol_8h.html#a4547caaeb23f418962f72d56843b0085" title="Unpack a MSG_PIN_REQUEST message.">unpack_msg_pin_request</a>(
<a name="l01081"></a>01081 uint16_t &amp;UNSPECIFIED)
<a name="l01082"></a>01082 {
<a name="l01083"></a>01083 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01084"></a>01084 _unpack(__p, UNSPECIFIED);
<a name="l01085"></a>01085 };
<a name="l01087"></a>01087
<a name="l01090"></a>01090
<a name="l01091"></a>01091
<a name="l01093"></a><a class="code" href="structmsg__pin__set.html">01093</a> <span class="keyword">struct </span><a class="code" href="structmsg__pin__set.html" title="Structure describing the payload section of the MSG_PIN_SET message.">msg_pin_set</a> {
<a name="l01094"></a><a class="code" href="structmsg__pin__set.html#afd6901a3b8a0ddc0018614c1ddac6485">01094</a> uint16_t <a class="code" href="structmsg__pin__set.html#afd6901a3b8a0ddc0018614c1ddac6485">UNSPECIFIED</a>;
<a name="l01095"></a>01095 };
<a name="l01096"></a>01096
<a name="l01098"></a>01098 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01099"></a><a class="code" href="protocol_8h.html#a36497b493f072820a1f9db9abb214fc8">01099</a> <a class="code" href="protocol_8h.html#a36497b493f072820a1f9db9abb214fc8" title="Send a MSG_PIN_SET message.">send_msg_pin_set</a>(
<a name="l01100"></a>01100 <span class="keyword">const</span> uint16_t UNSPECIFIED)
<a name="l01101"></a>01101 {
<a name="l01102"></a>01102 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a461f52e5b566a24e27b13fab8f7abb74">MSG_PIN_SET</a>,
<a name="l01103"></a>01103 <span class="keyword">sizeof</span>(UNSPECIFIED) + 0);
<a name="l01104"></a>01104 _emit(UNSPECIFIED);
<a name="l01105"></a>01105 _endMessage();
<a name="l01106"></a>01106 };
<a name="l01107"></a>01107
<a name="l01109"></a>01109 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01110"></a><a class="code" href="protocol_8h.html#a331b657ff8e75fb87db1779c6463596e">01110</a> <a class="code" href="protocol_8h.html#a331b657ff8e75fb87db1779c6463596e" title="Unpack a MSG_PIN_SET message.">unpack_msg_pin_set</a>(
<a name="l01111"></a>01111 uint16_t &amp;UNSPECIFIED)
<a name="l01112"></a>01112 {
<a name="l01113"></a>01113 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01114"></a>01114 _unpack(__p, UNSPECIFIED);
<a name="l01115"></a>01115 };
<a name="l01117"></a>01117
<a name="l01120"></a>01120
<a name="l01121"></a>01121
<a name="l01123"></a><a class="code" href="structmsg__dataflash__request.html">01123</a> <span class="keyword">struct </span><a class="code" href="structmsg__dataflash__request.html" title="Structure describing the payload section of the MSG_DATAFLASH_REQUEST message.">msg_dataflash_request</a> {
<a name="l01124"></a><a class="code" href="structmsg__dataflash__request.html#a33e6f192f8c3c3b17a08c6dcb28ee32f">01124</a> uint16_t <a class="code" href="structmsg__dataflash__request.html#a33e6f192f8c3c3b17a08c6dcb28ee32f">UNSPECIFIED</a>;
<a name="l01125"></a>01125 };
<a name="l01126"></a>01126
<a name="l01128"></a>01128 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01129"></a><a class="code" href="protocol_8h.html#a45a5e3d85c6e5dedfdf1b7c05e3abaa3">01129</a> <a class="code" href="protocol_8h.html#a45a5e3d85c6e5dedfdf1b7c05e3abaa3" title="Send a MSG_DATAFLASH_REQUEST message.">send_msg_dataflash_request</a>(
<a name="l01130"></a>01130 <span class="keyword">const</span> uint16_t UNSPECIFIED)
<a name="l01131"></a>01131 {
<a name="l01132"></a>01132 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a853fa1988f54eb58d2847dae33a829ff">MSG_DATAFLASH_REQUEST</a>,
<a name="l01133"></a>01133 <span class="keyword">sizeof</span>(UNSPECIFIED) + 0);
<a name="l01134"></a>01134 _emit(UNSPECIFIED);
<a name="l01135"></a>01135 _endMessage();
<a name="l01136"></a>01136 };
<a name="l01137"></a>01137
<a name="l01139"></a>01139 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01140"></a><a class="code" href="protocol_8h.html#abd5a4c2779c2f3cd75f98b50a0c36ccb">01140</a> <a class="code" href="protocol_8h.html#abd5a4c2779c2f3cd75f98b50a0c36ccb" title="Unpack a MSG_DATAFLASH_REQUEST message.">unpack_msg_dataflash_request</a>(
<a name="l01141"></a>01141 uint16_t &amp;UNSPECIFIED)
<a name="l01142"></a>01142 {
<a name="l01143"></a>01143 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01144"></a>01144 _unpack(__p, UNSPECIFIED);
<a name="l01145"></a>01145 };
<a name="l01147"></a>01147
<a name="l01150"></a>01150
<a name="l01151"></a>01151
<a name="l01153"></a><a class="code" href="structmsg__dataflash__set.html">01153</a> <span class="keyword">struct </span><a class="code" href="structmsg__dataflash__set.html" title="Structure describing the payload section of the MSG_DATAFLASH_SET message.">msg_dataflash_set</a> {
<a name="l01154"></a><a class="code" href="structmsg__dataflash__set.html#af0cb5f37120a3da777f8cfcc6d3ce3f9">01154</a> uint16_t <a class="code" href="structmsg__dataflash__set.html#af0cb5f37120a3da777f8cfcc6d3ce3f9">UNSPECIFIED</a>;
<a name="l01155"></a>01155 };
<a name="l01156"></a>01156
<a name="l01158"></a>01158 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01159"></a><a class="code" href="protocol_8h.html#a8453ad787f95ae4650f4feae745dc5fe">01159</a> <a class="code" href="protocol_8h.html#a8453ad787f95ae4650f4feae745dc5fe" title="Send a MSG_DATAFLASH_SET message.">send_msg_dataflash_set</a>(
<a name="l01160"></a>01160 <span class="keyword">const</span> uint16_t UNSPECIFIED)
<a name="l01161"></a>01161 {
<a name="l01162"></a>01162 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a36d444a7667061f4b3d18977cd7935aa">MSG_DATAFLASH_SET</a>,
<a name="l01163"></a>01163 <span class="keyword">sizeof</span>(UNSPECIFIED) + 0);
<a name="l01164"></a>01164 _emit(UNSPECIFIED);
<a name="l01165"></a>01165 _endMessage();
<a name="l01166"></a>01166 };
<a name="l01167"></a>01167
<a name="l01169"></a>01169 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01170"></a><a class="code" href="protocol_8h.html#a0d41e17cf1fa8acaa43a2e67b809e148">01170</a> <a class="code" href="protocol_8h.html#a0d41e17cf1fa8acaa43a2e67b809e148" title="Unpack a MSG_DATAFLASH_SET message.">unpack_msg_dataflash_set</a>(
<a name="l01171"></a>01171 uint16_t &amp;UNSPECIFIED)
<a name="l01172"></a>01172 {
<a name="l01173"></a>01173 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01174"></a>01174 _unpack(__p, UNSPECIFIED);
<a name="l01175"></a>01175 };
<a name="l01177"></a>01177
<a name="l01180"></a>01180
<a name="l01181"></a>01181
<a name="l01183"></a><a class="code" href="structmsg__eeprom__request.html">01183</a> <span class="keyword">struct </span><a class="code" href="structmsg__eeprom__request.html" title="Structure describing the payload section of the MSG_EEPROM_REQUEST message.">msg_eeprom_request</a> {
<a name="l01184"></a><a class="code" href="structmsg__eeprom__request.html#a90fb397366a4e20eada9b6cafd05a6fd">01184</a> uint16_t <a class="code" href="structmsg__eeprom__request.html#a90fb397366a4e20eada9b6cafd05a6fd">UNSPECIFIED</a>;
<a name="l01185"></a>01185 };
<a name="l01186"></a>01186
<a name="l01188"></a>01188 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01189"></a><a class="code" href="protocol_8h.html#a69f832c41b54e3b719879e74c06e34d2">01189</a> <a class="code" href="protocol_8h.html#a69f832c41b54e3b719879e74c06e34d2" title="Send a MSG_EEPROM_REQUEST message.">send_msg_eeprom_request</a>(
<a name="l01190"></a>01190 <span class="keyword">const</span> uint16_t UNSPECIFIED)
<a name="l01191"></a>01191 {
<a name="l01192"></a>01192 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aa8b8c82b08e5067d5c77fa52208c6944">MSG_EEPROM_REQUEST</a>,
<a name="l01193"></a>01193 <span class="keyword">sizeof</span>(UNSPECIFIED) + 0);
<a name="l01194"></a>01194 _emit(UNSPECIFIED);
<a name="l01195"></a>01195 _endMessage();
<a name="l01196"></a>01196 };
<a name="l01197"></a>01197
<a name="l01199"></a>01199 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01200"></a><a class="code" href="protocol_8h.html#ae3d43b6c74704436f2a0dd7db9453792">01200</a> <a class="code" href="protocol_8h.html#ae3d43b6c74704436f2a0dd7db9453792" title="Unpack a MSG_EEPROM_REQUEST message.">unpack_msg_eeprom_request</a>(
<a name="l01201"></a>01201 uint16_t &amp;UNSPECIFIED)
<a name="l01202"></a>01202 {
<a name="l01203"></a>01203 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01204"></a>01204 _unpack(__p, UNSPECIFIED);
<a name="l01205"></a>01205 };
<a name="l01207"></a>01207
<a name="l01210"></a>01210
<a name="l01211"></a>01211
<a name="l01213"></a><a class="code" href="structmsg__eeprom__set.html">01213</a> <span class="keyword">struct </span><a class="code" href="structmsg__eeprom__set.html" title="Structure describing the payload section of the MSG_EEPROM_SET message.">msg_eeprom_set</a> {
<a name="l01214"></a><a class="code" href="structmsg__eeprom__set.html#a3eca106d9ea48676061688c36c4d9244">01214</a> uint16_t <a class="code" href="structmsg__eeprom__set.html#a3eca106d9ea48676061688c36c4d9244">UNSPECIFIED</a>;
<a name="l01215"></a>01215 };
<a name="l01216"></a>01216
<a name="l01218"></a>01218 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01219"></a><a class="code" href="protocol_8h.html#a3956bcfd7df85c4221fabaf4d4d928d5">01219</a> <a class="code" href="protocol_8h.html#a3956bcfd7df85c4221fabaf4d4d928d5" title="Send a MSG_EEPROM_SET message.">send_msg_eeprom_set</a>(
<a name="l01220"></a>01220 <span class="keyword">const</span> uint16_t UNSPECIFIED)
<a name="l01221"></a>01221 {
<a name="l01222"></a>01222 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0acacb21cbf041a811be9a0569b56eae67">MSG_EEPROM_SET</a>,
<a name="l01223"></a>01223 <span class="keyword">sizeof</span>(UNSPECIFIED) + 0);
<a name="l01224"></a>01224 _emit(UNSPECIFIED);
<a name="l01225"></a>01225 _endMessage();
<a name="l01226"></a>01226 };
<a name="l01227"></a>01227
<a name="l01229"></a>01229 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01230"></a><a class="code" href="protocol_8h.html#ad07c3243dfe6c8226d8b5a0df5f0ed51">01230</a> <a class="code" href="protocol_8h.html#ad07c3243dfe6c8226d8b5a0df5f0ed51" title="Unpack a MSG_EEPROM_SET message.">unpack_msg_eeprom_set</a>(
<a name="l01231"></a>01231 uint16_t &amp;UNSPECIFIED)
<a name="l01232"></a>01232 {
<a name="l01233"></a>01233 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01234"></a>01234 _unpack(__p, UNSPECIFIED);
<a name="l01235"></a>01235 };
<a name="l01237"></a>01237
<a name="l01240"></a>01240
<a name="l01241"></a>01241
<a name="l01243"></a><a class="code" href="structmsg__position__correct.html">01243</a> <span class="keyword">struct </span><a class="code" href="structmsg__position__correct.html" title="Structure describing the payload section of the MSG_POSITION_CORRECT message.">msg_position_correct</a> {
<a name="l01244"></a><a class="code" href="structmsg__position__correct.html#ae64f63319f957d028db4332de36df0a5">01244</a> int16_t <a class="code" href="structmsg__position__correct.html#ae64f63319f957d028db4332de36df0a5">latError</a>;
<a name="l01245"></a><a class="code" href="structmsg__position__correct.html#a26301bfb45cfe1559d4a5b9f950e1c75">01245</a> int16_t <a class="code" href="structmsg__position__correct.html#a26301bfb45cfe1559d4a5b9f950e1c75">lonError</a>;
<a name="l01246"></a><a class="code" href="structmsg__position__correct.html#a3ab3337e61e71e558e069f7ae4140ef7">01246</a> int16_t <a class="code" href="structmsg__position__correct.html#a3ab3337e61e71e558e069f7ae4140ef7">altError</a>;
<a name="l01247"></a><a class="code" href="structmsg__position__correct.html#acab605108f14af88a3ca5e0bd4ffe54b">01247</a> int16_t <a class="code" href="structmsg__position__correct.html#acab605108f14af88a3ca5e0bd4ffe54b">groundSpeedError</a>;
<a name="l01248"></a>01248 };
<a name="l01249"></a>01249
<a name="l01251"></a>01251 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01252"></a><a class="code" href="protocol_8h.html#aa403cc3ef510b583e651b67c5af72763">01252</a> <a class="code" href="protocol_8h.html#aa403cc3ef510b583e651b67c5af72763" title="Send a MSG_POSITION_CORRECT message.">send_msg_position_correct</a>(
<a name="l01253"></a>01253 <span class="keyword">const</span> int16_t latError,
<a name="l01254"></a>01254 <span class="keyword">const</span> int16_t lonError,
<a name="l01255"></a>01255 <span class="keyword">const</span> int16_t altError,
<a name="l01256"></a>01256 <span class="keyword">const</span> int16_t groundSpeedError)
<a name="l01257"></a>01257 {
<a name="l01258"></a>01258 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a2f80bdc2aeb8842f0854403798d52a08">MSG_POSITION_CORRECT</a>,
<a name="l01259"></a>01259 <span class="keyword">sizeof</span>(latError) +
<a name="l01260"></a>01260 <span class="keyword">sizeof</span>(lonError) +
<a name="l01261"></a>01261 <span class="keyword">sizeof</span>(altError) +
<a name="l01262"></a>01262 <span class="keyword">sizeof</span>(groundSpeedError) + 0);
<a name="l01263"></a>01263 _emit(latError);
<a name="l01264"></a>01264 _emit(lonError);
<a name="l01265"></a>01265 _emit(altError);
<a name="l01266"></a>01266 _emit(groundSpeedError);
<a name="l01267"></a>01267 _endMessage();
<a name="l01268"></a>01268 };
<a name="l01269"></a>01269
<a name="l01271"></a>01271 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01272"></a><a class="code" href="protocol_8h.html#a74e48dd335eb729116a69309b90fe773">01272</a> <a class="code" href="protocol_8h.html#a74e48dd335eb729116a69309b90fe773" title="Unpack a MSG_POSITION_CORRECT message.">unpack_msg_position_correct</a>(
<a name="l01273"></a>01273 int16_t &amp;latError,
<a name="l01274"></a>01274 int16_t &amp;lonError,
<a name="l01275"></a>01275 int16_t &amp;altError,
<a name="l01276"></a>01276 int16_t &amp;groundSpeedError)
<a name="l01277"></a>01277 {
<a name="l01278"></a>01278 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01279"></a>01279 _unpack(__p, latError);
<a name="l01280"></a>01280 _unpack(__p, lonError);
<a name="l01281"></a>01281 _unpack(__p, altError);
<a name="l01282"></a>01282 _unpack(__p, groundSpeedError);
<a name="l01283"></a>01283 };
<a name="l01285"></a>01285
<a name="l01288"></a>01288
<a name="l01289"></a>01289
<a name="l01291"></a><a class="code" href="structmsg__attitude__correct.html">01291</a> <span class="keyword">struct </span><a class="code" href="structmsg__attitude__correct.html" title="Structure describing the payload section of the MSG_ATTITUDE_CORRECT message.">msg_attitude_correct</a> {
<a name="l01292"></a><a class="code" href="structmsg__attitude__correct.html#a47a358b427562f2946a48ad278432e27">01292</a> int16_t <a class="code" href="structmsg__attitude__correct.html#a47a358b427562f2946a48ad278432e27">rollError</a>;
<a name="l01293"></a><a class="code" href="structmsg__attitude__correct.html#adf8a0e7de21b555781e265cfea593843">01293</a> int16_t <a class="code" href="structmsg__attitude__correct.html#adf8a0e7de21b555781e265cfea593843">pitchError</a>;
<a name="l01294"></a><a class="code" href="structmsg__attitude__correct.html#ab1acbe9e5f2e6ea1952b0dd79b48f666">01294</a> int16_t <a class="code" href="structmsg__attitude__correct.html#ab1acbe9e5f2e6ea1952b0dd79b48f666">yawError</a>;
<a name="l01295"></a>01295 };
<a name="l01296"></a>01296
<a name="l01298"></a>01298 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01299"></a><a class="code" href="protocol_8h.html#a69c7db48b6594c6d497b70096b324cc4">01299</a> <a class="code" href="protocol_8h.html#a69c7db48b6594c6d497b70096b324cc4" title="Send a MSG_ATTITUDE_CORRECT message.">send_msg_attitude_correct</a>(
<a name="l01300"></a>01300 <span class="keyword">const</span> int16_t rollError,
<a name="l01301"></a>01301 <span class="keyword">const</span> int16_t pitchError,
<a name="l01302"></a>01302 <span class="keyword">const</span> int16_t yawError)
<a name="l01303"></a>01303 {
<a name="l01304"></a>01304 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aba8decfee70c75a96105c8bcb30dd843">MSG_ATTITUDE_CORRECT</a>,
<a name="l01305"></a>01305 <span class="keyword">sizeof</span>(rollError) +
<a name="l01306"></a>01306 <span class="keyword">sizeof</span>(pitchError) +
<a name="l01307"></a>01307 <span class="keyword">sizeof</span>(yawError) + 0);
<a name="l01308"></a>01308 _emit(rollError);
<a name="l01309"></a>01309 _emit(pitchError);
<a name="l01310"></a>01310 _emit(yawError);
<a name="l01311"></a>01311 _endMessage();
<a name="l01312"></a>01312 };
<a name="l01313"></a>01313
<a name="l01315"></a>01315 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01316"></a><a class="code" href="protocol_8h.html#a4bf3df1ec80b8d4c2d5b1d655e5aefed">01316</a> <a class="code" href="protocol_8h.html#a4bf3df1ec80b8d4c2d5b1d655e5aefed" title="Unpack a MSG_ATTITUDE_CORRECT message.">unpack_msg_attitude_correct</a>(
<a name="l01317"></a>01317 int16_t &amp;rollError,
<a name="l01318"></a>01318 int16_t &amp;pitchError,
<a name="l01319"></a>01319 int16_t &amp;yawError)
<a name="l01320"></a>01320 {
<a name="l01321"></a>01321 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01322"></a>01322 _unpack(__p, rollError);
<a name="l01323"></a>01323 _unpack(__p, pitchError);
<a name="l01324"></a>01324 _unpack(__p, yawError);
<a name="l01325"></a>01325 };
<a name="l01327"></a>01327
<a name="l01330"></a>01330
<a name="l01331"></a>01331
<a name="l01333"></a><a class="code" href="structmsg__position__set.html">01333</a> <span class="keyword">struct </span><a class="code" href="structmsg__position__set.html" title="Structure describing the payload section of the MSG_POSITION_SET message.">msg_position_set</a> {
<a name="l01334"></a><a class="code" href="structmsg__position__set.html#ac3f26e1d207fb158531873a9e463a233">01334</a> int32_t <a class="code" href="structmsg__position__set.html#ac3f26e1d207fb158531873a9e463a233">latitude</a>;
<a name="l01335"></a><a class="code" href="structmsg__position__set.html#a98654c97070f54baac334ccadd396da7">01335</a> int32_t <a class="code" href="structmsg__position__set.html#a98654c97070f54baac334ccadd396da7">longitude</a>;
<a name="l01336"></a><a class="code" href="structmsg__position__set.html#ab47d461f60e2bbb0fa947a38085f7635">01336</a> int32_t <a class="code" href="structmsg__position__set.html#ab47d461f60e2bbb0fa947a38085f7635">altitude</a>;
<a name="l01337"></a><a class="code" href="structmsg__position__set.html#af51ec1011eeee95a1b1577f947bf521f">01337</a> uint16_t <a class="code" href="structmsg__position__set.html#af51ec1011eeee95a1b1577f947bf521f">heading</a>;
<a name="l01338"></a>01338 };
<a name="l01339"></a>01339
<a name="l01341"></a>01341 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01342"></a><a class="code" href="protocol_8h.html#a41998a18cde9bdc379130e3876c006d0">01342</a> <a class="code" href="protocol_8h.html#a41998a18cde9bdc379130e3876c006d0" title="Send a MSG_POSITION_SET message.">send_msg_position_set</a>(
<a name="l01343"></a>01343 <span class="keyword">const</span> int32_t latitude,
<a name="l01344"></a>01344 <span class="keyword">const</span> int32_t longitude,
<a name="l01345"></a>01345 <span class="keyword">const</span> int32_t altitude,
<a name="l01346"></a>01346 <span class="keyword">const</span> uint16_t heading)
<a name="l01347"></a>01347 {
<a name="l01348"></a>01348 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a778ce212998baaf7516733f61658ad5a">MSG_POSITION_SET</a>,
<a name="l01349"></a>01349 <span class="keyword">sizeof</span>(latitude) +
<a name="l01350"></a>01350 <span class="keyword">sizeof</span>(longitude) +
<a name="l01351"></a>01351 <span class="keyword">sizeof</span>(altitude) +
<a name="l01352"></a>01352 <span class="keyword">sizeof</span>(heading) + 0);
<a name="l01353"></a>01353 _emit(latitude);
<a name="l01354"></a>01354 _emit(longitude);
<a name="l01355"></a>01355 _emit(altitude);
<a name="l01356"></a>01356 _emit(heading);
<a name="l01357"></a>01357 _endMessage();
<a name="l01358"></a>01358 };
<a name="l01359"></a>01359
<a name="l01361"></a>01361 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01362"></a><a class="code" href="protocol_8h.html#adf3c128910e84043314246d624acdd33">01362</a> <a class="code" href="protocol_8h.html#adf3c128910e84043314246d624acdd33" title="Unpack a MSG_POSITION_SET message.">unpack_msg_position_set</a>(
<a name="l01363"></a>01363 int32_t &amp;latitude,
<a name="l01364"></a>01364 int32_t &amp;longitude,
<a name="l01365"></a>01365 int32_t &amp;altitude,
<a name="l01366"></a>01366 uint16_t &amp;heading)
<a name="l01367"></a>01367 {
<a name="l01368"></a>01368 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01369"></a>01369 _unpack(__p, latitude);
<a name="l01370"></a>01370 _unpack(__p, longitude);
<a name="l01371"></a>01371 _unpack(__p, altitude);
<a name="l01372"></a>01372 _unpack(__p, heading);
<a name="l01373"></a>01373 };
<a name="l01375"></a>01375
<a name="l01378"></a>01378
<a name="l01379"></a>01379
<a name="l01381"></a><a class="code" href="structmsg__attitude__set.html">01381</a> <span class="keyword">struct </span><a class="code" href="structmsg__attitude__set.html" title="Structure describing the payload section of the MSG_ATTITUDE_SET message.">msg_attitude_set</a> {
<a name="l01382"></a><a class="code" href="structmsg__attitude__set.html#a4e2b9cd5eda47795bd676a5d5b9ddccf">01382</a> int16_t <a class="code" href="structmsg__attitude__set.html#a4e2b9cd5eda47795bd676a5d5b9ddccf">roll</a>;
<a name="l01383"></a><a class="code" href="structmsg__attitude__set.html#a7a410330ad3f6c4c324cb2f6bfa6884b">01383</a> int16_t <a class="code" href="structmsg__attitude__set.html#a7a410330ad3f6c4c324cb2f6bfa6884b">pitch</a>;
<a name="l01384"></a><a class="code" href="structmsg__attitude__set.html#aa5ceba7c384de9523603ef920ead2f17">01384</a> uint16_t <a class="code" href="structmsg__attitude__set.html#aa5ceba7c384de9523603ef920ead2f17">yaw</a>;
<a name="l01385"></a>01385 };
<a name="l01386"></a>01386
<a name="l01388"></a>01388 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01389"></a><a class="code" href="protocol_8h.html#a6ac3b458b1cc9af6f80f553cb3ac1079">01389</a> <a class="code" href="protocol_8h.html#a6ac3b458b1cc9af6f80f553cb3ac1079" title="Send a MSG_ATTITUDE_SET message.">send_msg_attitude_set</a>(
<a name="l01390"></a>01390 <span class="keyword">const</span> int16_t roll,
<a name="l01391"></a>01391 <span class="keyword">const</span> int16_t pitch,
<a name="l01392"></a>01392 <span class="keyword">const</span> uint16_t yaw)
<a name="l01393"></a>01393 {
<a name="l01394"></a>01394 _startMessage(<a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a65c054975a13917ff2a0adaf673f48e6">MSG_ATTITUDE_SET</a>,
<a name="l01395"></a>01395 <span class="keyword">sizeof</span>(roll) +
<a name="l01396"></a>01396 <span class="keyword">sizeof</span>(pitch) +
<a name="l01397"></a>01397 <span class="keyword">sizeof</span>(yaw) + 0);
<a name="l01398"></a>01398 _emit(roll);
<a name="l01399"></a>01399 _emit(pitch);
<a name="l01400"></a>01400 _emit(yaw);
<a name="l01401"></a>01401 _endMessage();
<a name="l01402"></a>01402 };
<a name="l01403"></a>01403
<a name="l01405"></a>01405 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l01406"></a><a class="code" href="protocol_8h.html#a2c377c7b8787d12f3a7ba07b9e1c4ede">01406</a> <a class="code" href="protocol_8h.html#a2c377c7b8787d12f3a7ba07b9e1c4ede" title="Unpack a MSG_ATTITUDE_SET message.">unpack_msg_attitude_set</a>(
<a name="l01407"></a>01407 int16_t &amp;roll,
<a name="l01408"></a>01408 int16_t &amp;pitch,
<a name="l01409"></a>01409 uint16_t &amp;yaw)
<a name="l01410"></a>01410 {
<a name="l01411"></a>01411 uint8_t *__p = &amp;_decodeBuf.payload[0];
<a name="l01412"></a>01412 _unpack(__p, roll);
<a name="l01413"></a>01413 _unpack(__p, pitch);
<a name="l01414"></a>01414 _unpack(__p, yaw);
<a name="l01415"></a>01415 };
<a name="l01417"></a>01417
<a name="l01420"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0">01420</a> <span class="keyword">enum</span> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0">MessageID</a> {
<a name="l01421"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a20ba3c6bea07ce059f2be63b2409360e">01421</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a20ba3c6bea07ce059f2be63b2409360e">MSG_PID</a> = 0x42,
<a name="l01422"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a853fa1988f54eb58d2847dae33a829ff">01422</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a853fa1988f54eb58d2847dae33a829ff">MSG_DATAFLASH_REQUEST</a> = 0x90,
<a name="l01423"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a36d444a7667061f4b3d18977cd7935aa">01423</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a36d444a7667061f4b3d18977cd7935aa">MSG_DATAFLASH_SET</a> = 0x91,
<a name="l01424"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aa4d2b1eabb4b879dc7ff5e1674ec4f35">01424</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aa4d2b1eabb4b879dc7ff5e1674ec4f35">MSG_SENSOR</a> = 0x60,
<a name="l01425"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a0e50d375f03090c70617b3bb7ee0e4cb">01425</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a0e50d375f03090c70617b3bb7ee0e4cb">MSG_VALUE_REQUEST</a> = 0x30,
<a name="l01426"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a536c56c53ae4da8c8417c9d5e1751937">01426</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a536c56c53ae4da8c8417c9d5e1751937">MSG_VALUE_SET</a> = 0x31,
<a name="l01427"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0af4545cf7ee9fb49c62e84a6e31f25c44">01427</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0af4545cf7ee9fb49c62e84a6e31f25c44">MSG_VALUE</a> = 0x32,
<a name="l01428"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a10309790ebe9da48e6713e4350026e8b">01428</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a10309790ebe9da48e6713e4350026e8b">MSG_PIN_REQUEST</a> = 0x80,
<a name="l01429"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a461f52e5b566a24e27b13fab8f7abb74">01429</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a461f52e5b566a24e27b13fab8f7abb74">MSG_PIN_SET</a> = 0x81,
<a name="l01430"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a2f80bdc2aeb8842f0854403798d52a08">01430</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a2f80bdc2aeb8842f0854403798d52a08">MSG_POSITION_CORRECT</a> = 0xb0,
<a name="l01431"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a4126a8e88ce7db75d871107b272b6a49">01431</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a4126a8e88ce7db75d871107b272b6a49">MSG_ACKNOWLEDGE</a> = 0x0,
<a name="l01432"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aba8decfee70c75a96105c8bcb30dd843">01432</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aba8decfee70c75a96105c8bcb30dd843">MSG_ATTITUDE_CORRECT</a> = 0xb1,
<a name="l01433"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aaf685040f895290768639de8386f0f75">01433</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aaf685040f895290768639de8386f0f75">MSG_HEARTBEAT</a> = 0x1,
<a name="l01434"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a778ce212998baaf7516733f61658ad5a">01434</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a778ce212998baaf7516733f61658ad5a">MSG_POSITION_SET</a> = 0xb2,
<a name="l01435"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0ad4eedc6e33f030259108cd91c0f33f0a">01435</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0ad4eedc6e33f030259108cd91c0f33f0a">MSG_ATTITUDE</a> = 0x2,
<a name="l01436"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a65c054975a13917ff2a0adaf673f48e6">01436</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a65c054975a13917ff2a0adaf673f48e6">MSG_ATTITUDE_SET</a> = 0xb3,
<a name="l01437"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a7a1eccc78139fabd82ca8496ae66f072">01437</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a7a1eccc78139fabd82ca8496ae66f072">MSG_LOCATION</a> = 0x3,
<a name="l01438"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aad3c9a48b48ed6e95c442f076edfdc71">01438</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aad3c9a48b48ed6e95c442f076edfdc71">MSG_PRESSURE</a> = 0x4,
<a name="l01439"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aa6c8006c0a99e0e751ae5fe6676a679d">01439</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aa6c8006c0a99e0e751ae5fe6676a679d">MSG_TRIM_STARTUP</a> = 0x50,
<a name="l01440"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0af002079c069511e623b00f92ec9b4a44">01440</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0af002079c069511e623b00f92ec9b4a44">MSG_STATUS_TEXT</a> = 0x5,
<a name="l01441"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aaa5b689f5d08893f3db1d2daca2e9b2a">01441</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aaa5b689f5d08893f3db1d2daca2e9b2a">MSG_TRIM_MIN</a> = 0x51,
<a name="l01442"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a13303bc5337f051d20c416e9b4281465">01442</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a13303bc5337f051d20c416e9b4281465">MSG_PERF_REPORT</a> = 0x6,
<a name="l01443"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a4f1e44e4773b54af4438487a8796390c">01443</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a4f1e44e4773b54af4438487a8796390c">MSG_TRIM_MAX</a> = 0x52,
<a name="l01444"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0ad03e70597e689f3761dd78d92a08cc18">01444</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0ad03e70597e689f3761dd78d92a08cc18">MSG_VERSION_REQUEST</a> = 0x7,
<a name="l01445"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0ad74f0a7f5b84b6ffd69db41b8a5e73b7">01445</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0ad74f0a7f5b84b6ffd69db41b8a5e73b7">MSG_RADIO_OUT</a> = 0x53,
<a name="l01446"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a0e7b3ff6697119e8ea953189082a5cce">01446</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a0e7b3ff6697119e8ea953189082a5cce">MSG_VERSION</a> = 0x8,
<a name="l01447"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a9b2bfce423e9a174a8bd831ac8771194">01447</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a9b2bfce423e9a174a8bd831ac8771194">MSG_COMMAND_REQUEST</a> = 0x20,
<a name="l01448"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aab84017a43692226a18dbdf16f65ca03">01448</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aab84017a43692226a18dbdf16f65ca03">MSG_COMMAND_UPLOAD</a> = 0x21,
<a name="l01449"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a62697b7512ef0e88667538b3145a6e70">01449</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a62697b7512ef0e88667538b3145a6e70">MSG_COMMAND_LIST</a> = 0x22,
<a name="l01450"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0abeea27d500eacca51b94cf6e92341dc0">01450</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0abeea27d500eacca51b94cf6e92341dc0">MSG_COMMAND_MODE_CHANGE</a> = 0x23,
<a name="l01451"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0af1b76145d215ccb122a2df732e232d26">01451</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0af1b76145d215ccb122a2df732e232d26">MSG_SERVO_OUT</a> = 0x70,
<a name="l01452"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aa8b8c82b08e5067d5c77fa52208c6944">01452</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aa8b8c82b08e5067d5c77fa52208c6944">MSG_EEPROM_REQUEST</a> = 0xa0,
<a name="l01453"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0acacb21cbf041a811be9a0569b56eae67">01453</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0acacb21cbf041a811be9a0569b56eae67">MSG_EEPROM_SET</a> = 0xa1,
<a name="l01454"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a516ea6263e6979b281011ed923a58505">01454</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a516ea6263e6979b281011ed923a58505">MSG_PID_REQUEST</a> = 0x40,
<a name="l01455"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aeadd5e1920c2e34ea844df1c6896a109">01455</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0aeadd5e1920c2e34ea844df1c6896a109">MSG_PID_SET</a> = 0x41,
<a name="l01456"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0abf65b54e360257c6d8592464abb2b842">01456</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0abf65b54e360257c6d8592464abb2b842">MSG_ANY</a> = 0xfe,
<a name="l01457"></a><a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a13078c6ece92b3953cde3dd3b97256c7">01457</a> <a class="code" href="protocol_8h.html#ade564ed281f3d26aac5279aa3ca955b0a13078c6ece92b3953cde3dd3b97256c7">MSG_NULL</a> = 0xff
<a name="l01458"></a>01458 };
<a name="l01459"></a>01459
<a name="l01462"></a><a class="code" href="union__bin_comm_buffer_sizer.html">01462</a> <span class="keyword">union </span><a class="code" href="union__bin_comm_buffer_sizer.html">_binCommBufferSizer</a> {
<a name="l01463"></a><a class="code" href="union__bin_comm_buffer_sizer.html#abcb51c661c57ea6612402a274c0fae43">01463</a> <span class="keyword">struct </span><a class="code" href="structmsg__acknowledge.html" title="Structure describing the payload section of the MSG_ACKNOWLEDGE message.">msg_acknowledge</a> <a class="code" href="structmsg__acknowledge.html" title="Structure describing the payload section of the MSG_ACKNOWLEDGE message.">msg_acknowledge</a>;
<a name="l01464"></a><a class="code" href="union__bin_comm_buffer_sizer.html#ac399e7e47704793584614db4c81ad596">01464</a> <span class="keyword">struct </span><a class="code" href="structmsg__status__text.html" title="Structure describing the payload section of the MSG_STATUS_TEXT message.">msg_status_text</a> <a class="code" href="structmsg__status__text.html" title="Structure describing the payload section of the MSG_STATUS_TEXT message.">msg_status_text</a>;
<a name="l01465"></a><a class="code" href="union__bin_comm_buffer_sizer.html#ae634b980106b2559a3312a07e27f5159">01465</a> <span class="keyword">struct </span><a class="code" href="structmsg__heartbeat.html" title="Structure describing the payload section of the MSG_HEARTBEAT message.">msg_heartbeat</a> <a class="code" href="structmsg__heartbeat.html" title="Structure describing the payload section of the MSG_HEARTBEAT message.">msg_heartbeat</a>;
<a name="l01466"></a><a class="code" href="union__bin_comm_buffer_sizer.html#ac71720c01ed7a70bc828408c8a5ecf60">01466</a> <span class="keyword">struct </span><a class="code" href="structmsg__attitude.html" title="Structure describing the payload section of the MSG_ATTITUDE message.">msg_attitude</a> <a class="code" href="structmsg__attitude.html" title="Structure describing the payload section of the MSG_ATTITUDE message.">msg_attitude</a>;
<a name="l01467"></a><a class="code" href="union__bin_comm_buffer_sizer.html#af3aa747ea6156ee76ff5b59f3f6eb807">01467</a> <span class="keyword">struct </span><a class="code" href="structmsg__location.html" title="Structure describing the payload section of the MSG_LOCATION message.">msg_location</a> <a class="code" href="structmsg__location.html" title="Structure describing the payload section of the MSG_LOCATION message.">msg_location</a>;
<a name="l01468"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a31f92729d8e014c844fccefb8f98614c">01468</a> <span class="keyword">struct </span><a class="code" href="structmsg__pressure.html" title="Structure describing the payload section of the MSG_PRESSURE message.">msg_pressure</a> <a class="code" href="structmsg__pressure.html" title="Structure describing the payload section of the MSG_PRESSURE message.">msg_pressure</a>;
<a name="l01469"></a><a class="code" href="union__bin_comm_buffer_sizer.html#aa04bd1606bab9d81a44b876181300a51">01469</a> <span class="keyword">struct </span><a class="code" href="structmsg__perf__report.html" title="Structure describing the payload section of the MSG_PERF_REPORT message.">msg_perf_report</a> <a class="code" href="structmsg__perf__report.html" title="Structure describing the payload section of the MSG_PERF_REPORT message.">msg_perf_report</a>;
<a name="l01470"></a><a class="code" href="union__bin_comm_buffer_sizer.html#ade98073b7af576d669e00423e1df5ff6">01470</a> <span class="keyword">struct </span><a class="code" href="structmsg__version__request.html" title="Structure describing the payload section of the MSG_VERSION_REQUEST message.">msg_version_request</a> <a class="code" href="structmsg__version__request.html" title="Structure describing the payload section of the MSG_VERSION_REQUEST message.">msg_version_request</a>;
<a name="l01471"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a7c23497e07e66fad51cc894e4a0d84c0">01471</a> <span class="keyword">struct </span><a class="code" href="structmsg__version.html" title="Structure describing the payload section of the MSG_VERSION message.">msg_version</a> <a class="code" href="structmsg__version.html" title="Structure describing the payload section of the MSG_VERSION message.">msg_version</a>;
<a name="l01472"></a><a class="code" href="union__bin_comm_buffer_sizer.html#ad0cbf6c054d7210c69965491ec8e6692">01472</a> <span class="keyword">struct </span><a class="code" href="structmsg__command__request.html" title="Structure describing the payload section of the MSG_COMMAND_REQUEST message.">msg_command_request</a> <a class="code" href="structmsg__command__request.html" title="Structure describing the payload section of the MSG_COMMAND_REQUEST message.">msg_command_request</a>;
<a name="l01473"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a81b1530384cd5edf59f10cddf3a1f3ad">01473</a> <span class="keyword">struct </span><a class="code" href="structmsg__command__upload.html" title="Structure describing the payload section of the MSG_COMMAND_UPLOAD message.">msg_command_upload</a> <a class="code" href="structmsg__command__upload.html" title="Structure describing the payload section of the MSG_COMMAND_UPLOAD message.">msg_command_upload</a>;
<a name="l01474"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a79732b7a1c109439d01c51eedef5a52a">01474</a> <span class="keyword">struct </span><a class="code" href="structmsg__command__list.html" title="Structure describing the payload section of the MSG_COMMAND_LIST message.">msg_command_list</a> <a class="code" href="structmsg__command__list.html" title="Structure describing the payload section of the MSG_COMMAND_LIST message.">msg_command_list</a>;
<a name="l01475"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a6dea81086b259c47053e0bc5bd1a9f83">01475</a> <span class="keyword">struct </span><a class="code" href="structmsg__command__mode__change.html" title="Structure describing the payload section of the MSG_COMMAND_MODE_CHANGE message.">msg_command_mode_change</a> <a class="code" href="structmsg__command__mode__change.html" title="Structure describing the payload section of the MSG_COMMAND_MODE_CHANGE message.">msg_command_mode_change</a>;
<a name="l01476"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a279bd82e566400ca0f6d4919e697a3e3">01476</a> <span class="keyword">struct </span><a class="code" href="structmsg__value__request.html" title="Structure describing the payload section of the MSG_VALUE_REQUEST message.">msg_value_request</a> <a class="code" href="structmsg__value__request.html" title="Structure describing the payload section of the MSG_VALUE_REQUEST message.">msg_value_request</a>;
<a name="l01477"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a243cb2808c38425b3c61e43a41348d03">01477</a> <span class="keyword">struct </span><a class="code" href="structmsg__value__set.html" title="Structure describing the payload section of the MSG_VALUE_SET message.">msg_value_set</a> <a class="code" href="structmsg__value__set.html" title="Structure describing the payload section of the MSG_VALUE_SET message.">msg_value_set</a>;
<a name="l01478"></a><a class="code" href="union__bin_comm_buffer_sizer.html#ab9e9efa11e875ef1379890b3439737eb">01478</a> <span class="keyword">struct </span><a class="code" href="structmsg__value.html" title="Structure describing the payload section of the MSG_VALUE message.">msg_value</a> <a class="code" href="structmsg__value.html" title="Structure describing the payload section of the MSG_VALUE message.">msg_value</a>;
<a name="l01479"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a9b6b295eed6e3c8b096f8998ed4aa3db">01479</a> <span class="keyword">struct </span><a class="code" href="structmsg__pid__request.html" title="Structure describing the payload section of the MSG_PID_REQUEST message.">msg_pid_request</a> <a class="code" href="structmsg__pid__request.html" title="Structure describing the payload section of the MSG_PID_REQUEST message.">msg_pid_request</a>;
<a name="l01480"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a9a0220d0c5a31f53e16d61671a9d28a0">01480</a> <span class="keyword">struct </span><a class="code" href="structmsg__pid__set.html" title="Structure describing the payload section of the MSG_PID_SET message.">msg_pid_set</a> <a class="code" href="structmsg__pid__set.html" title="Structure describing the payload section of the MSG_PID_SET message.">msg_pid_set</a>;
<a name="l01481"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a4b689850bd27b27c3a09b2161f1369a9">01481</a> <span class="keyword">struct </span><a class="code" href="structmsg__pid.html" title="Structure describing the payload section of the MSG_PID message.">msg_pid</a> <a class="code" href="structmsg__pid.html" title="Structure describing the payload section of the MSG_PID message.">msg_pid</a>;
<a name="l01482"></a><a class="code" href="union__bin_comm_buffer_sizer.html#aba47c89fb3f719a80f897675d42540e5">01482</a> <span class="keyword">struct </span><a class="code" href="structmsg__trim__startup.html" title="Structure describing the payload section of the MSG_TRIM_STARTUP message.">msg_trim_startup</a> <a class="code" href="structmsg__trim__startup.html" title="Structure describing the payload section of the MSG_TRIM_STARTUP message.">msg_trim_startup</a>;
<a name="l01483"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a516f6515652613ed3a46f2f628e2f05f">01483</a> <span class="keyword">struct </span><a class="code" href="structmsg__trim__min.html" title="Structure describing the payload section of the MSG_TRIM_MIN message.">msg_trim_min</a> <a class="code" href="structmsg__trim__min.html" title="Structure describing the payload section of the MSG_TRIM_MIN message.">msg_trim_min</a>;
<a name="l01484"></a><a class="code" href="union__bin_comm_buffer_sizer.html#acf1f80d89f3bcfbb82eda28ee879de43">01484</a> <span class="keyword">struct </span><a class="code" href="structmsg__trim__max.html" title="Structure describing the payload section of the MSG_TRIM_MAX message.">msg_trim_max</a> <a class="code" href="structmsg__trim__max.html" title="Structure describing the payload section of the MSG_TRIM_MAX message.">msg_trim_max</a>;
<a name="l01485"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a97b604de1f3300cb6f886f6843212ecb">01485</a> <span class="keyword">struct </span><a class="code" href="structmsg__radio__out.html" title="Structure describing the payload section of the MSG_RADIO_OUT message.">msg_radio_out</a> <a class="code" href="structmsg__radio__out.html" title="Structure describing the payload section of the MSG_RADIO_OUT message.">msg_radio_out</a>;
<a name="l01486"></a><a class="code" href="union__bin_comm_buffer_sizer.html#acca0dedb7e63d5b88f72b105dd332c98">01486</a> <span class="keyword">struct </span><a class="code" href="structmsg__sensor.html" title="Structure describing the payload section of the MSG_SENSOR message.">msg_sensor</a> <a class="code" href="structmsg__sensor.html" title="Structure describing the payload section of the MSG_SENSOR message.">msg_sensor</a>;
<a name="l01487"></a><a class="code" href="union__bin_comm_buffer_sizer.html#ae4e8d703a7f3443420b2191f95d168e6">01487</a> <span class="keyword">struct </span><a class="code" href="structmsg__servo__out.html" title="Structure describing the payload section of the MSG_SERVO_OUT message.">msg_servo_out</a> <a class="code" href="structmsg__servo__out.html" title="Structure describing the payload section of the MSG_SERVO_OUT message.">msg_servo_out</a>;
<a name="l01488"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a8bbe78c162b2e415c641ac1a0ee4349e">01488</a> <span class="keyword">struct </span><a class="code" href="structmsg__pin__request.html" title="Structure describing the payload section of the MSG_PIN_REQUEST message.">msg_pin_request</a> <a class="code" href="structmsg__pin__request.html" title="Structure describing the payload section of the MSG_PIN_REQUEST message.">msg_pin_request</a>;
<a name="l01489"></a><a class="code" href="union__bin_comm_buffer_sizer.html#ab0eaab5c0741856fd1b0b8f74f5331af">01489</a> <span class="keyword">struct </span><a class="code" href="structmsg__pin__set.html" title="Structure describing the payload section of the MSG_PIN_SET message.">msg_pin_set</a> <a class="code" href="structmsg__pin__set.html" title="Structure describing the payload section of the MSG_PIN_SET message.">msg_pin_set</a>;
<a name="l01490"></a><a class="code" href="union__bin_comm_buffer_sizer.html#aa5d2549d4dfdafa589478aa977d96dff">01490</a> <span class="keyword">struct </span><a class="code" href="structmsg__dataflash__request.html" title="Structure describing the payload section of the MSG_DATAFLASH_REQUEST message.">msg_dataflash_request</a> <a class="code" href="structmsg__dataflash__request.html" title="Structure describing the payload section of the MSG_DATAFLASH_REQUEST message.">msg_dataflash_request</a>;
<a name="l01491"></a><a class="code" href="union__bin_comm_buffer_sizer.html#ae5be68494eae71593dda200bfb6cb5cb">01491</a> <span class="keyword">struct </span><a class="code" href="structmsg__dataflash__set.html" title="Structure describing the payload section of the MSG_DATAFLASH_SET message.">msg_dataflash_set</a> <a class="code" href="structmsg__dataflash__set.html" title="Structure describing the payload section of the MSG_DATAFLASH_SET message.">msg_dataflash_set</a>;
<a name="l01492"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a4c9d19d9355fc555d1ee2463aa204cea">01492</a> <span class="keyword">struct </span><a class="code" href="structmsg__eeprom__request.html" title="Structure describing the payload section of the MSG_EEPROM_REQUEST message.">msg_eeprom_request</a> <a class="code" href="structmsg__eeprom__request.html" title="Structure describing the payload section of the MSG_EEPROM_REQUEST message.">msg_eeprom_request</a>;
<a name="l01493"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a29deb1c82801f882740b337010224a0f">01493</a> <span class="keyword">struct </span><a class="code" href="structmsg__eeprom__set.html" title="Structure describing the payload section of the MSG_EEPROM_SET message.">msg_eeprom_set</a> <a class="code" href="structmsg__eeprom__set.html" title="Structure describing the payload section of the MSG_EEPROM_SET message.">msg_eeprom_set</a>;
<a name="l01494"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a32a5a7a2e9596d81fe3827d4daf55690">01494</a> <span class="keyword">struct </span><a class="code" href="structmsg__position__correct.html" title="Structure describing the payload section of the MSG_POSITION_CORRECT message.">msg_position_correct</a> <a class="code" href="structmsg__position__correct.html" title="Structure describing the payload section of the MSG_POSITION_CORRECT message.">msg_position_correct</a>;
<a name="l01495"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a8fba5f9e5d62c12ad08c4b8af2ed95ad">01495</a> <span class="keyword">struct </span><a class="code" href="structmsg__attitude__correct.html" title="Structure describing the payload section of the MSG_ATTITUDE_CORRECT message.">msg_attitude_correct</a> <a class="code" href="structmsg__attitude__correct.html" title="Structure describing the payload section of the MSG_ATTITUDE_CORRECT message.">msg_attitude_correct</a>;
<a name="l01496"></a><a class="code" href="union__bin_comm_buffer_sizer.html#a9c5f87427070badb310469dfb7b7f3ef">01496</a> <span class="keyword">struct </span><a class="code" href="structmsg__position__set.html" title="Structure describing the payload section of the MSG_POSITION_SET message.">msg_position_set</a> <a class="code" href="structmsg__position__set.html" title="Structure describing the payload section of the MSG_POSITION_SET message.">msg_position_set</a>;
<a name="l01497"></a><a class="code" href="union__bin_comm_buffer_sizer.html#aa7b2b2b0866be62b92cdc766bdea95e0">01497</a> <span class="keyword">struct </span><a class="code" href="structmsg__attitude__set.html" title="Structure describing the payload section of the MSG_ATTITUDE_SET message.">msg_attitude_set</a> <a class="code" href="structmsg__attitude__set.html" title="Structure describing the payload section of the MSG_ATTITUDE_SET message.">msg_attitude_set</a>;
<a name="l01498"></a>01498 };
<a name="l01499"></a><a class="code" href="protocol_8h.html#a8c3ca88d6a58dce2b3d4df92c9f6297d">01499</a> <span class="preprocessor">#define BINCOMM_MAX_MESSAGE_SIZE sizeof(union _binCommBufferSizer)</span>
<a name="l01500"></a>01500 <span class="preprocessor"></span>
<a name="l01501"></a>01501 <span class="preprocessor">#pragma pack(pop)</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated for ArduPilot Libraries by&nbsp;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.png" alt="doxygen"/></a></small></address>
</body>
</html>