|
|
|
|
@ -132,449 +132,449 @@ $(function() {
|
|
|
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aab84cecd25638896eb45b8f5ffd82bf7"> 180</a></span> <span class="preprocessor"> #define MQTTCLIENT_BAD_MQTT_VERSION -11</span></div>
|
|
|
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a1d0cb25b450136f036a238546487344a"> 186</a></span> <span class="preprocessor">#define MQTTCLIENT_BAD_PROTOCOL -14</span></div>
|
|
|
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a1babaca56ffae802fa1e246a2649927e"> 190</a></span> <span class="preprocessor"> #define MQTTCLIENT_BAD_MQTT_OPTION -15</span></div>
|
|
|
|
|
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a1d0cb25b450136f036a238546487344a"> 190</a></span> <span class="preprocessor">#define MQTTCLIENT_BAD_PROTOCOL -14</span></div>
|
|
|
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#ae9070d21de569f999a9575049cdd6da1"> 194</a></span> <span class="preprocessor"> #define MQTTCLIENT_WRONG_MQTT_VERSION -16</span></div>
|
|
|
|
|
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a1babaca56ffae802fa1e246a2649927e"> 194</a></span> <span class="preprocessor"> #define MQTTCLIENT_BAD_MQTT_OPTION -15</span></div>
|
|
|
|
|
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aacf90ba5292e25122e6fd5ec2a38efe5"> 198</a></span> <span class="preprocessor"> #define MQTTCLIENT_0_LEN_WILL_TOPIC -17</span></div>
|
|
|
|
|
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#ae9070d21de569f999a9575049cdd6da1"> 198</a></span> <span class="preprocessor"> #define MQTTCLIENT_WRONG_MQTT_VERSION -16</span></div>
|
|
|
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a75b80b01f98d5a1ffa2a4d42995a8397"> 204</a></span> <span class="preprocessor">#define MQTTVERSION_DEFAULT 0</span></div>
|
|
|
|
|
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a4603b988e76872e1f23f135d225ce2fb"> 208</a></span> <span class="preprocessor">#define MQTTVERSION_3_1 3</span></div>
|
|
|
|
|
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aacf90ba5292e25122e6fd5ec2a38efe5"> 202</a></span> <span class="preprocessor"> #define MQTTCLIENT_0_LEN_WILL_TOPIC -17</span></div>
|
|
|
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a75b80b01f98d5a1ffa2a4d42995a8397"> 208</a></span> <span class="preprocessor">#define MQTTVERSION_DEFAULT 0</span></div>
|
|
|
|
|
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#ac79cc6fdeaa9e3f4ee12c3418898b1ef"> 212</a></span> <span class="preprocessor">#define MQTTVERSION_3_1_1 4</span></div>
|
|
|
|
|
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a4603b988e76872e1f23f135d225ce2fb"> 212</a></span> <span class="preprocessor">#define MQTTVERSION_3_1 3</span></div>
|
|
|
|
|
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#af8b176fa4d5b89789767ce972338e1e3"> 216</a></span> <span class="preprocessor"> #define MQTTVERSION_5 5</span></div>
|
|
|
|
|
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#ac79cc6fdeaa9e3f4ee12c3418898b1ef"> 216</a></span> <span class="preprocessor">#define MQTTVERSION_3_1_1 4</span></div>
|
|
|
|
|
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#ade337b363b7f4bc7c1a7b2858e0380bd"> 220</a></span> <span class="preprocessor">#define MQTT_BAD_SUBSCRIBE 0x80</span></div>
|
|
|
|
|
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#af8b176fa4d5b89789767ce972338e1e3"> 220</a></span> <span class="preprocessor"> #define MQTTVERSION_5 5</span></div>
|
|
|
|
|
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__init__options.html"> 225</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__init__options.html#aa5326df180cb23c59afbcab711a06479"> 228</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__init__options.html#a0761a5e5be0383882e42924de8e51f82"> 230</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__init__options.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__init__options.html#a5929146596391e2838ef95feb89776da"> 232</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__init__options.html#a5929146596391e2838ef95feb89776da">do_openssl_init</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> } <a class="code" href="struct_m_q_t_t_client__init__options.html">MQTTClient_init_options</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#ac17057c8c22c0717d3adf4e040440f73"> 235</a></span> <span class="preprocessor">#define MQTTClient_init_options_initializer { {'M', 'Q', 'T', 'G'}, 0, 0 }</span></div>
|
|
|
|
|
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a21804ede1a506d1d69a472bc30acc8ba">MQTTClient_global_init</a>(<a class="code" href="struct_m_q_t_t_client__init__options.html">MQTTClient_init_options</a>* inits);</div>
|
|
|
|
|
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59"> 247</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span>* <a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d"> 258</a></span> <span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a8b2beb5227708f8127b666f5a7fc41b3"> 259</a></span> <span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a8b2beb5227708f8127b666f5a7fc41b3">MQTTClient_token</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html"> 267</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#aa5326df180cb23c59afbcab711a06479"> 270</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a0761a5e5be0383882e42924de8e51f82"> 273</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#aa3cb44feb3ae6d11b3a4cad2d94cb33a"> 275</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#aa3cb44feb3ae6d11b3a4cad2d94cb33a">payloadlen</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a9eff55064941fb604452abb0050ea99d"> 277</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_m_q_t_t_client__message.html#a9eff55064941fb604452abb0050ea99d">payload</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a35738099155a0e4f54050da474bab2e7"> 291</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#a35738099155a0e4f54050da474bab2e7">qos</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a6a4904c112507a43e7dc8495b62cc0fc"> 310</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#a6a4904c112507a43e7dc8495b62cc0fc">retained</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#adc4cf3f551bb367858644559d69cfdf5"> 317</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#adc4cf3f551bb367858644559d69cfdf5">dup</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a6174c42da8c55c86e7255be2848dc4ac"> 321</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#a6174c42da8c55c86e7255be2848dc4ac">msgid</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a1594008402f7307e4de8fa6131656dde"> 325</a></span>  <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a> <a class="code" href="struct_m_q_t_t_client__message.html#a1594008402f7307e4de8fa6131656dde">properties</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> } <a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa1fd995924d3df75959fcf57e87aefac"> 328</a></span> <span class="preprocessor">#define MQTTClient_message_initializer { {'M', 'Q', 'T', 'M'}, 1, 0, NULL, 0, 0, 0, 0, MQTTProperties_initializer }</span></div>
|
|
|
|
|
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa42130dd069e7e949bcab37b6dce64a5"> 360</a></span> <span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#aa42130dd069e7e949bcab37b6dce64a5">MQTTClient_messageArrived</a>(<span class="keywordtype">void</span>* context, <span class="keywordtype">char</span>* topicName, <span class="keywordtype">int</span> topicLen, <a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>* message);</div>
|
|
|
|
|
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00382"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#abef83794d8252551ed248cde6eb845a6"> 382</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#abef83794d8252551ed248cde6eb845a6">MQTTClient_deliveryComplete</a>(<span class="keywordtype">void</span>* context, <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a> dt);</div>
|
|
|
|
|
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a6bb253f16754e7cc81798c9fda0e36cf"> 399</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a6bb253f16754e7cc81798c9fda0e36cf">MQTTClient_connectionLost</a>(<span class="keywordtype">void</span>* context, <span class="keywordtype">char</span>* cause);</div>
|
|
|
|
|
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#aad27d07782991a4937ebf2f39a021f83">MQTTClient_setCallbacks</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">void</span>* context, <a class="code" href="_m_q_t_t_client_8h.html#a6bb253f16754e7cc81798c9fda0e36cf">MQTTClient_connectionLost</a>* cl,</div>
|
|
|
|
|
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <a class="code" href="_m_q_t_t_client_8h.html#aa42130dd069e7e949bcab37b6dce64a5">MQTTClient_messageArrived</a>* ma, <a class="code" href="_m_q_t_t_client_8h.html#abef83794d8252551ed248cde6eb845a6">MQTTClient_deliveryComplete</a>* dc);</div>
|
|
|
|
|
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a41108d4cccb67a9d6884ebae52211c46"> 442</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a41108d4cccb67a9d6884ebae52211c46">MQTTClient_disconnected</a>(<span class="keywordtype">void</span>* context, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* properties,</div>
|
|
|
|
|
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_reason_codes_8h.html#aba6db0fccfa3f8972ea48117b8b2a279">MQTTReasonCodes</a> reasonCode);</div>
|
|
|
|
|
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a8adea083a162735d5c7592160088eea0">MQTTClient_setDisconnected</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">void</span>* context, <a class="code" href="_m_q_t_t_client_8h.html#a41108d4cccb67a9d6884ebae52211c46">MQTTClient_disconnected</a>* co);</div>
|
|
|
|
|
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00483"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a6c3f51e50e2c47328eee1b0c920ed103"> 483</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a6c3f51e50e2c47328eee1b0c920ed103">MQTTClient_published</a>(<span class="keywordtype">void</span>* context, <span class="keywordtype">int</span> dt, <span class="keywordtype">int</span> packet_type, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* properties,</div>
|
|
|
|
|
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_reason_codes_8h.html#aba6db0fccfa3f8972ea48117b8b2a279">MQTTReasonCodes</a> reasonCode);</div>
|
|
|
|
|
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a9f13911351a3de6b1ebdabd4cb4116ba">MQTTClient_setPublished</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">void</span>* context, <a class="code" href="_m_q_t_t_client_8h.html#a6c3f51e50e2c47328eee1b0c920ed103">MQTTClient_published</a>* co);</div>
|
|
|
|
|
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a9a0518d9ca924d12c1329dbe3de5f2b6">MQTTClient_create</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* serverURI, <span class="keyword">const</span> <span class="keywordtype">char</span>* clientId,</div>
|
|
|
|
|
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  <span class="keywordtype">int</span> persistence_type, <span class="keywordtype">void</span>* persistence_context);</div>
|
|
|
|
|
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00536"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__create_options.html"> 536</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00537"></a><span class="lineno"> 537</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00539"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__create_options.html#aa5326df180cb23c59afbcab711a06479"> 539</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00541"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__create_options.html#a0761a5e5be0383882e42924de8e51f82"> 541</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__create_options.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00547"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__create_options.html#a12d546fd0ccf4e1091b18e1b735c7240"> 547</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__create_options.html#a12d546fd0ccf4e1091b18e1b735c7240">MQTTVersion</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span> } <a class="code" href="struct_m_q_t_t_client__create_options.html">MQTTClient_createOptions</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00550"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a763e477a5aceb6aff279111c7693e691"> 550</a></span> <span class="preprocessor">#define MQTTClient_createOptions_initializer { {'M', 'Q', 'C', 'O'}, 0, MQTTVERSION_DEFAULT }</span></div>
|
|
|
|
|
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00596"></a><span class="lineno"> 596</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#ade24f717a9b39d38b081e1d5e0db1661">MQTTClient_createWithOptions</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* serverURI, <span class="keyword">const</span> <span class="keywordtype">char</span>* clientId,</div>
|
|
|
|
|
<div class="line"><a name="l00597"></a><span class="lineno"> 597</span>  <span class="keywordtype">int</span> persistence_type, <span class="keywordtype">void</span>* persistence_context, <a class="code" href="struct_m_q_t_t_client__create_options.html">MQTTClient_createOptions</a>* options);</div>
|
|
|
|
|
<div class="line"><a name="l00598"></a><span class="lineno"> 598</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00611"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html"> 611</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00614"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#aa5326df180cb23c59afbcab711a06479"> 614</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00618"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a0761a5e5be0383882e42924de8e51f82"> 618</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__will_options.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00620"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a0e20a7b350881d05108d6342884198a5"> 620</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__will_options.html#a0e20a7b350881d05108d6342884198a5">topicName</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00622"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a254bf0858da09c96a48daf64404eb4f8"> 622</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__will_options.html#a254bf0858da09c96a48daf64404eb4f8">message</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00626"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a6a4904c112507a43e7dc8495b62cc0fc"> 626</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__will_options.html#a6a4904c112507a43e7dc8495b62cc0fc">retained</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00631"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a35738099155a0e4f54050da474bab2e7"> 631</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__will_options.html#a35738099155a0e4f54050da474bab2e7">qos</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span>  <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span>  {</div>
|
|
|
|
|
<div class="line"><a name="l00635"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#afed088663f8704004425cdae2120b9b3"> 635</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__will_options.html#afed088663f8704004425cdae2120b9b3">len</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00636"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a0d49d74db4c035719c3867723cf7e779"> 636</a></span>  <span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code" href="struct_m_q_t_t_client__will_options.html#a0d49d74db4c035719c3867723cf7e779">data</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span>  } payload;</div>
|
|
|
|
|
<div class="line"><a name="l00638"></a><span class="lineno"> 638</span> } <a class="code" href="struct_m_q_t_t_client__will_options.html">MQTTClient_willOptions</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00639"></a><span class="lineno"> 639</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00640"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aae0811659c59f5dad0467544f91645eb"> 640</a></span> <span class="preprocessor">#define MQTTClient_willOptions_initializer { {'M', 'Q', 'T', 'W'}, 1, NULL, NULL, 0, 0, {0, NULL} }</span></div>
|
|
|
|
|
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00642"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a2549ea897af26c76198284731db9e721"> 642</a></span> <span class="preprocessor">#define MQTT_SSL_VERSION_DEFAULT 0</span></div>
|
|
|
|
|
<div class="line"><a name="l00643"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a7e5da3d6f0d2b53409bbfcf6e56f3d2d"> 643</a></span> <span class="preprocessor">#define MQTT_SSL_VERSION_TLS_1_0 1</span></div>
|
|
|
|
|
<div class="line"><a name="l00644"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#abdff87efa3f2ee473a1591e10638b537"> 644</a></span> <span class="preprocessor">#define MQTT_SSL_VERSION_TLS_1_1 2</span></div>
|
|
|
|
|
<div class="line"><a name="l00645"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a3a94dbdeafbb73c73a068e7c2085fbab"> 645</a></span> <span class="preprocessor">#define MQTT_SSL_VERSION_TLS_1_2 3</span></div>
|
|
|
|
|
<div class="line"><a name="l00646"></a><span class="lineno"> 646</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00659"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html"> 659</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00660"></a><span class="lineno"> 660</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00662"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#aa5326df180cb23c59afbcab711a06479"> 662</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00663"></a><span class="lineno"> 663</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00671"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a0761a5e5be0383882e42924de8e51f82"> 671</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00672"></a><span class="lineno"> 672</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00674"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a032835d4c4a1c1e19b53c330a673a6e0"> 674</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a032835d4c4a1c1e19b53c330a673a6e0">trustStore</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#ade337b363b7f4bc7c1a7b2858e0380bd"> 224</a></span> <span class="preprocessor">#define MQTT_BAD_SUBSCRIBE 0x80</span></div>
|
|
|
|
|
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__init__options.html"> 229</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__init__options.html#aa5326df180cb23c59afbcab711a06479"> 232</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__init__options.html#a0761a5e5be0383882e42924de8e51f82"> 234</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__init__options.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__init__options.html#a5929146596391e2838ef95feb89776da"> 236</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__init__options.html#a5929146596391e2838ef95feb89776da">do_openssl_init</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> } <a class="code" href="struct_m_q_t_t_client__init__options.html">MQTTClient_init_options</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#ac17057c8c22c0717d3adf4e040440f73"> 239</a></span> <span class="preprocessor">#define MQTTClient_init_options_initializer { {'M', 'Q', 'T', 'G'}, 0, 0 }</span></div>
|
|
|
|
|
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a21804ede1a506d1d69a472bc30acc8ba">MQTTClient_global_init</a>(<a class="code" href="struct_m_q_t_t_client__init__options.html">MQTTClient_init_options</a>* inits);</div>
|
|
|
|
|
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59"> 251</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span>* <a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d"> 262</a></span> <span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a8b2beb5227708f8127b666f5a7fc41b3"> 263</a></span> <span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a8b2beb5227708f8127b666f5a7fc41b3">MQTTClient_token</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html"> 271</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#aa5326df180cb23c59afbcab711a06479"> 274</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a0761a5e5be0383882e42924de8e51f82"> 277</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#aa3cb44feb3ae6d11b3a4cad2d94cb33a"> 279</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#aa3cb44feb3ae6d11b3a4cad2d94cb33a">payloadlen</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a9eff55064941fb604452abb0050ea99d"> 281</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_m_q_t_t_client__message.html#a9eff55064941fb604452abb0050ea99d">payload</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a35738099155a0e4f54050da474bab2e7"> 295</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#a35738099155a0e4f54050da474bab2e7">qos</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a6a4904c112507a43e7dc8495b62cc0fc"> 314</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#a6a4904c112507a43e7dc8495b62cc0fc">retained</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#adc4cf3f551bb367858644559d69cfdf5"> 321</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#adc4cf3f551bb367858644559d69cfdf5">dup</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a6174c42da8c55c86e7255be2848dc4ac"> 325</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__message.html#a6174c42da8c55c86e7255be2848dc4ac">msgid</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__message.html#a1594008402f7307e4de8fa6131656dde"> 329</a></span>  <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a> <a class="code" href="struct_m_q_t_t_client__message.html#a1594008402f7307e4de8fa6131656dde">properties</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> } <a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa1fd995924d3df75959fcf57e87aefac"> 332</a></span> <span class="preprocessor">#define MQTTClient_message_initializer { {'M', 'Q', 'T', 'M'}, 1, 0, NULL, 0, 0, 0, 0, MQTTProperties_initializer }</span></div>
|
|
|
|
|
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa42130dd069e7e949bcab37b6dce64a5"> 364</a></span> <span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#aa42130dd069e7e949bcab37b6dce64a5">MQTTClient_messageArrived</a>(<span class="keywordtype">void</span>* context, <span class="keywordtype">char</span>* topicName, <span class="keywordtype">int</span> topicLen, <a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>* message);</div>
|
|
|
|
|
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00386"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#abef83794d8252551ed248cde6eb845a6"> 386</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#abef83794d8252551ed248cde6eb845a6">MQTTClient_deliveryComplete</a>(<span class="keywordtype">void</span>* context, <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a> dt);</div>
|
|
|
|
|
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a6bb253f16754e7cc81798c9fda0e36cf"> 403</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a6bb253f16754e7cc81798c9fda0e36cf">MQTTClient_connectionLost</a>(<span class="keywordtype">void</span>* context, <span class="keywordtype">char</span>* cause);</div>
|
|
|
|
|
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#aad27d07782991a4937ebf2f39a021f83">MQTTClient_setCallbacks</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">void</span>* context, <a class="code" href="_m_q_t_t_client_8h.html#a6bb253f16754e7cc81798c9fda0e36cf">MQTTClient_connectionLost</a>* cl,</div>
|
|
|
|
|
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <a class="code" href="_m_q_t_t_client_8h.html#aa42130dd069e7e949bcab37b6dce64a5">MQTTClient_messageArrived</a>* ma, <a class="code" href="_m_q_t_t_client_8h.html#abef83794d8252551ed248cde6eb845a6">MQTTClient_deliveryComplete</a>* dc);</div>
|
|
|
|
|
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a41108d4cccb67a9d6884ebae52211c46"> 446</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a41108d4cccb67a9d6884ebae52211c46">MQTTClient_disconnected</a>(<span class="keywordtype">void</span>* context, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* properties,</div>
|
|
|
|
|
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_reason_codes_8h.html#aba6db0fccfa3f8972ea48117b8b2a279">MQTTReasonCodes</a> reasonCode);</div>
|
|
|
|
|
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a8adea083a162735d5c7592160088eea0">MQTTClient_setDisconnected</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">void</span>* context, <a class="code" href="_m_q_t_t_client_8h.html#a41108d4cccb67a9d6884ebae52211c46">MQTTClient_disconnected</a>* co);</div>
|
|
|
|
|
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00487"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a6c3f51e50e2c47328eee1b0c920ed103"> 487</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a6c3f51e50e2c47328eee1b0c920ed103">MQTTClient_published</a>(<span class="keywordtype">void</span>* context, <span class="keywordtype">int</span> dt, <span class="keywordtype">int</span> packet_type, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* properties,</div>
|
|
|
|
|
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_reason_codes_8h.html#aba6db0fccfa3f8972ea48117b8b2a279">MQTTReasonCodes</a> reasonCode);</div>
|
|
|
|
|
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a9f13911351a3de6b1ebdabd4cb4116ba">MQTTClient_setPublished</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">void</span>* context, <a class="code" href="_m_q_t_t_client_8h.html#a6c3f51e50e2c47328eee1b0c920ed103">MQTTClient_published</a>* co);</div>
|
|
|
|
|
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a9a0518d9ca924d12c1329dbe3de5f2b6">MQTTClient_create</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* serverURI, <span class="keyword">const</span> <span class="keywordtype">char</span>* clientId,</div>
|
|
|
|
|
<div class="line"><a name="l00545"></a><span class="lineno"> 545</span>  <span class="keywordtype">int</span> persistence_type, <span class="keywordtype">void</span>* persistence_context);</div>
|
|
|
|
|
<div class="line"><a name="l00546"></a><span class="lineno"> 546</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00548"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__create_options.html"> 548</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00551"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__create_options.html#aa5326df180cb23c59afbcab711a06479"> 551</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00553"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__create_options.html#a0761a5e5be0383882e42924de8e51f82"> 553</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__create_options.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00559"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__create_options.html#a12d546fd0ccf4e1091b18e1b735c7240"> 559</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__create_options.html#a12d546fd0ccf4e1091b18e1b735c7240">MQTTVersion</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span> } <a class="code" href="struct_m_q_t_t_client__create_options.html">MQTTClient_createOptions</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00562"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a763e477a5aceb6aff279111c7693e691"> 562</a></span> <span class="preprocessor">#define MQTTClient_createOptions_initializer { {'M', 'Q', 'C', 'O'}, 0, MQTTVERSION_DEFAULT }</span></div>
|
|
|
|
|
<div class="line"><a name="l00563"></a><span class="lineno"> 563</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00608"></a><span class="lineno"> 608</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#ade24f717a9b39d38b081e1d5e0db1661">MQTTClient_createWithOptions</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* serverURI, <span class="keyword">const</span> <span class="keywordtype">char</span>* clientId,</div>
|
|
|
|
|
<div class="line"><a name="l00609"></a><span class="lineno"> 609</span>  <span class="keywordtype">int</span> persistence_type, <span class="keywordtype">void</span>* persistence_context, <a class="code" href="struct_m_q_t_t_client__create_options.html">MQTTClient_createOptions</a>* options);</div>
|
|
|
|
|
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00623"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html"> 623</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00626"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#aa5326df180cb23c59afbcab711a06479"> 626</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00630"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a0761a5e5be0383882e42924de8e51f82"> 630</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__will_options.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00632"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a0e20a7b350881d05108d6342884198a5"> 632</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__will_options.html#a0e20a7b350881d05108d6342884198a5">topicName</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00634"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a254bf0858da09c96a48daf64404eb4f8"> 634</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__will_options.html#a254bf0858da09c96a48daf64404eb4f8">message</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00638"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a6a4904c112507a43e7dc8495b62cc0fc"> 638</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__will_options.html#a6a4904c112507a43e7dc8495b62cc0fc">retained</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00643"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a35738099155a0e4f54050da474bab2e7"> 643</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__will_options.html#a35738099155a0e4f54050da474bab2e7">qos</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span>  <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00646"></a><span class="lineno"> 646</span>  {</div>
|
|
|
|
|
<div class="line"><a name="l00647"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#afed088663f8704004425cdae2120b9b3"> 647</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__will_options.html#afed088663f8704004425cdae2120b9b3">len</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00648"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__will_options.html#a0d49d74db4c035719c3867723cf7e779"> 648</a></span>  <span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code" href="struct_m_q_t_t_client__will_options.html#a0d49d74db4c035719c3867723cf7e779">data</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00649"></a><span class="lineno"> 649</span>  } payload;</div>
|
|
|
|
|
<div class="line"><a name="l00650"></a><span class="lineno"> 650</span> } <a class="code" href="struct_m_q_t_t_client__will_options.html">MQTTClient_willOptions</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00651"></a><span class="lineno"> 651</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00652"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aae0811659c59f5dad0467544f91645eb"> 652</a></span> <span class="preprocessor">#define MQTTClient_willOptions_initializer { {'M', 'Q', 'T', 'W'}, 1, NULL, NULL, 0, 0, {0, NULL} }</span></div>
|
|
|
|
|
<div class="line"><a name="l00653"></a><span class="lineno"> 653</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00654"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a2549ea897af26c76198284731db9e721"> 654</a></span> <span class="preprocessor">#define MQTT_SSL_VERSION_DEFAULT 0</span></div>
|
|
|
|
|
<div class="line"><a name="l00655"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a7e5da3d6f0d2b53409bbfcf6e56f3d2d"> 655</a></span> <span class="preprocessor">#define MQTT_SSL_VERSION_TLS_1_0 1</span></div>
|
|
|
|
|
<div class="line"><a name="l00656"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#abdff87efa3f2ee473a1591e10638b537"> 656</a></span> <span class="preprocessor">#define MQTT_SSL_VERSION_TLS_1_1 2</span></div>
|
|
|
|
|
<div class="line"><a name="l00657"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a3a94dbdeafbb73c73a068e7c2085fbab"> 657</a></span> <span class="preprocessor">#define MQTT_SSL_VERSION_TLS_1_2 3</span></div>
|
|
|
|
|
<div class="line"><a name="l00658"></a><span class="lineno"> 658</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00671"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html"> 671</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00672"></a><span class="lineno"> 672</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00674"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#aa5326df180cb23c59afbcab711a06479"> 674</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00675"></a><span class="lineno"> 675</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00679"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a32b476382955289ce427112b59f21c3e"> 679</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a32b476382955289ce427112b59f21c3e">keyStore</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00684"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a7dd436cbb916fba200595c3519f09ec4"> 684</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a7dd436cbb916fba200595c3519f09ec4">privateKey</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00685"></a><span class="lineno"> 685</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00687"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#abb427571ba37b51f6985f1a6906ca031"> 687</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#abb427571ba37b51f6985f1a6906ca031">privateKeyPassword</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00688"></a><span class="lineno"> 688</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00697"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#aa683926d52134077f27d6dc67bda13ab"> 697</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#aa683926d52134077f27d6dc67bda13ab">enabledCipherSuites</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00698"></a><span class="lineno"> 698</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00700"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a75f6c13b7634e15f96dd9f17db6cf0be"> 700</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a75f6c13b7634e15f96dd9f17db6cf0be">enableServerCertAuth</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00701"></a><span class="lineno"> 701</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00706"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a3543ea1481b68d73cdde833280bb9c45"> 706</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a3543ea1481b68d73cdde833280bb9c45">sslVersion</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00707"></a><span class="lineno"> 707</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00713"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a94900629685d5ed08f66fd2931f573ce"> 713</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a94900629685d5ed08f66fd2931f573ce">verify</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00714"></a><span class="lineno"> 714</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00720"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a3078b3c824cc9753a57898072445c34d"> 720</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a3078b3c824cc9753a57898072445c34d">CApath</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00721"></a><span class="lineno"> 721</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00726"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a76c7b40e2e258d2f898b53165ada2b70"> 726</a></span>  int (*ssl_error_cb) (<span class="keyword">const</span> <span class="keywordtype">char</span> *str, <span class="keywordtype">size_t</span> len, <span class="keywordtype">void</span> *u);</div>
|
|
|
|
|
<div class="line"><a name="l00727"></a><span class="lineno"> 727</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00732"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a189f11195f4d5a70024adffdb050885f"> 732</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a189f11195f4d5a70024adffdb050885f">ssl_error_context</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00683"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a0761a5e5be0383882e42924de8e51f82"> 683</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00684"></a><span class="lineno"> 684</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00686"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a032835d4c4a1c1e19b53c330a673a6e0"> 686</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a032835d4c4a1c1e19b53c330a673a6e0">trustStore</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00687"></a><span class="lineno"> 687</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00691"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a32b476382955289ce427112b59f21c3e"> 691</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a32b476382955289ce427112b59f21c3e">keyStore</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00692"></a><span class="lineno"> 692</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00696"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a7dd436cbb916fba200595c3519f09ec4"> 696</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a7dd436cbb916fba200595c3519f09ec4">privateKey</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00697"></a><span class="lineno"> 697</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00699"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#abb427571ba37b51f6985f1a6906ca031"> 699</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#abb427571ba37b51f6985f1a6906ca031">privateKeyPassword</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00700"></a><span class="lineno"> 700</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00709"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#aa683926d52134077f27d6dc67bda13ab"> 709</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#aa683926d52134077f27d6dc67bda13ab">enabledCipherSuites</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00710"></a><span class="lineno"> 710</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00712"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a75f6c13b7634e15f96dd9f17db6cf0be"> 712</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a75f6c13b7634e15f96dd9f17db6cf0be">enableServerCertAuth</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00713"></a><span class="lineno"> 713</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00718"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a3543ea1481b68d73cdde833280bb9c45"> 718</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a3543ea1481b68d73cdde833280bb9c45">sslVersion</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00719"></a><span class="lineno"> 719</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00725"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a94900629685d5ed08f66fd2931f573ce"> 725</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a94900629685d5ed08f66fd2931f573ce">verify</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00726"></a><span class="lineno"> 726</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00732"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a3078b3c824cc9753a57898072445c34d"> 732</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a3078b3c824cc9753a57898072445c34d">CApath</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00733"></a><span class="lineno"> 733</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00739"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a83c1245259a491ea9daf872ce04b5e46"> 739</a></span>  <span class="keywordtype">unsigned</span> int (*ssl_psk_cb) (<span class="keyword">const</span> <span class="keywordtype">char</span> *hint, <span class="keywordtype">char</span> *identity, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> max_identity_len, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *psk, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> max_psk_len, <span class="keywordtype">void</span> *u);</div>
|
|
|
|
|
<div class="line"><a name="l00740"></a><span class="lineno"> 740</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00745"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#ab7f597518dd5b9db5a515081f8e0bd1f"> 745</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#ab7f597518dd5b9db5a515081f8e0bd1f">ssl_psk_context</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00746"></a><span class="lineno"> 746</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00752"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a0826fcae7c2816e04772c61542c6846b"> 752</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a0826fcae7c2816e04772c61542c6846b">disableDefaultTrustStore</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00753"></a><span class="lineno"> 753</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00761"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a4f8661600fb8bacf031150f8dcd293a5"> 761</a></span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a4f8661600fb8bacf031150f8dcd293a5">protos</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00762"></a><span class="lineno"> 762</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00767"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a26f5d839c92f9772c2a5d05486277a42"> 767</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a26f5d839c92f9772c2a5d05486277a42">protos_len</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00768"></a><span class="lineno"> 768</span> } <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html">MQTTClient_SSLOptions</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00769"></a><span class="lineno"> 769</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00770"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#ab9b2a2c6b52dbb2ac842ad99a9ce6d99"> 770</a></span> <span class="preprocessor">#define MQTTClient_SSLOptions_initializer { {'M', 'Q', 'T', 'S'}, 5, NULL, NULL, NULL, NULL, NULL, 1, MQTT_SSL_VERSION_DEFAULT, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0 }</span></div>
|
|
|
|
|
<div class="line"><a name="l00771"></a><span class="lineno"> 771</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00779"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__name_value.html"> 779</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00780"></a><span class="lineno"> 780</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00781"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__name_value.html#a8f8f80d37794cde9472343e4487ba3eb"> 781</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__name_value.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00782"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__name_value.html#a8556878012feffc9e0beb86cd78f424d"> 782</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__name_value.html#a8556878012feffc9e0beb86cd78f424d">value</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00783"></a><span class="lineno"> 783</span> } <a class="code" href="struct_m_q_t_t_client__name_value.html">MQTTClient_nameValue</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00784"></a><span class="lineno"> 784</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00790"></a><span class="lineno"> 790</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_client__name_value.html">MQTTClient_nameValue</a>* <a class="code" href="_m_q_t_t_client_8h.html#abe842456c914ce9201d277a972cc085e">MQTTClient_getVersionInfo</a>(<span class="keywordtype">void</span>);</div>
|
|
|
|
|
<div class="line"><a name="l00791"></a><span class="lineno"> 791</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00806"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html"> 806</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00807"></a><span class="lineno"> 807</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00809"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#aa5326df180cb23c59afbcab711a06479"> 809</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00820"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a0761a5e5be0383882e42924de8e51f82"> 820</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00830"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#ac8dd0930672a9c7d71fc645aa1f0521d"> 830</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#ac8dd0930672a9c7d71fc645aa1f0521d">keepAliveInterval</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00852"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a036c36a2a4d3a3ffae9ab4dd8b3e7f7b"> 852</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a036c36a2a4d3a3ffae9ab4dd8b3e7f7b">cleansession</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00862"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a9f1cdffc99659fd4e2d20e6de3c64df0"> 862</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a9f1cdffc99659fd4e2d20e6de3c64df0">reliable</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00868"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a0a880e99d47eb2efe552abe5079bdc9d"> 868</a></span>  <a class="code" href="struct_m_q_t_t_client__will_options.html">MQTTClient_willOptions</a>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a0a880e99d47eb2efe552abe5079bdc9d">will</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00874"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#aba2dfcdfda80edcb531a5a7115d3e043"> 874</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#aba2dfcdfda80edcb531a5a7115d3e043">username</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00880"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#aa4a2ebcb494493f648ae1e6975672575"> 880</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#aa4a2ebcb494493f648ae1e6975672575">password</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00884"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a38c6aa24b36d981c49405db425c24db0"> 884</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a38c6aa24b36d981c49405db425c24db0">connectTimeout</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00892"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#ac73f57846c42bcaa9a47e6721a957748"> 892</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#ac73f57846c42bcaa9a47e6721a957748">retryInterval</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00897"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a8a0b0f0fc7c675312dc232e2458078c7"> 897</a></span>  <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html">MQTTClient_SSLOptions</a>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a8a0b0f0fc7c675312dc232e2458078c7">ssl</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00901"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#aa82629005937abd92e97084a428cd61f"> 901</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#aa82629005937abd92e97084a428cd61f">serverURIcount</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00915"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#aba22d81c407fb2ba590dba476240d3e9"> 915</a></span>  <span class="keywordtype">char</span>* <span class="keyword">const</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#aba22d81c407fb2ba590dba476240d3e9">serverURIs</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00923"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a12d546fd0ccf4e1091b18e1b735c7240"> 923</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a12d546fd0ccf4e1091b18e1b735c7240">MQTTVersion</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00927"></a><span class="lineno"> 927</span>  <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00928"></a><span class="lineno"> 928</span>  {</div>
|
|
|
|
|
<div class="line"><a name="l00929"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a313446ca7679b36652722ffe53d05228"> 929</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a313446ca7679b36652722ffe53d05228">serverURI</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00930"></a><span class="lineno"> 930</span>  <span class="keywordtype">int</span> MQTTVersion; </div>
|
|
|
|
|
<div class="line"><a name="l00931"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a44baf2cb9a0bbcec3ed2eace43f832d1"> 931</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a44baf2cb9a0bbcec3ed2eace43f832d1">sessionPresent</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00932"></a><span class="lineno"> 932</span>  } returned;</div>
|
|
|
|
|
<div class="line"><a name="l00936"></a><span class="lineno"> 936</span>  <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00937"></a><span class="lineno"> 937</span>  {</div>
|
|
|
|
|
<div class="line"><a name="l00938"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#afed088663f8704004425cdae2120b9b3"> 938</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#afed088663f8704004425cdae2120b9b3">len</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00939"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a0d49d74db4c035719c3867723cf7e779"> 939</a></span>  <span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a0d49d74db4c035719c3867723cf7e779">data</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00940"></a><span class="lineno"> 940</span>  } binarypwd;</div>
|
|
|
|
|
<div class="line"><a name="l00944"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#ae3f99bf4663ab7b9e9259feeba41fab2"> 944</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#ae3f99bf4663ab7b9e9259feeba41fab2">maxInflightMessages</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00945"></a><span class="lineno"> 945</span>  <span class="comment">/*</span></div>
|
|
|
|
|
<div class="line"><a name="l00946"></a><span class="lineno"> 946</span> <span class="comment"> * MQTT V5 clean start flag. Only clears state at the beginning of the session.</span></div>
|
|
|
|
|
<div class="line"><a name="l00947"></a><span class="lineno"> 947</span> <span class="comment"> */</span></div>
|
|
|
|
|
<div class="line"><a name="l00948"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#acdcb75a5d5981da027bce83849140f7b"> 948</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#acdcb75a5d5981da027bce83849140f7b">cleanstart</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00952"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a018eec60631f40c01e6dcb727bffd33f"> 952</a></span>  <span class="keyword">const</span> <a class="code" href="struct_m_q_t_t_client__name_value.html">MQTTClient_nameValue</a>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a018eec60631f40c01e6dcb727bffd33f">httpHeaders</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00956"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#add124780ab2de397a96780576c2f112c"> 956</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#add124780ab2de397a96780576c2f112c">httpProxy</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00960"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a388b78d8a75658928238f700f207ad92"> 960</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a388b78d8a75658928238f700f207ad92">httpsProxy</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00961"></a><span class="lineno"> 961</span> } <a class="code" href="struct_m_q_t_t_client__connect_options.html">MQTTClient_connectOptions</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00962"></a><span class="lineno"> 962</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00963"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aefd7c865f2641c8155b763fdf3061c25"> 963</a></span> <span class="preprocessor">#define MQTTClient_connectOptions_initializer { {'M', 'Q', 'T', 'C'}, 8, 60, 1, 1, NULL, NULL, NULL, 30, 0, NULL,\</span></div>
|
|
|
|
|
<div class="line"><a name="l00964"></a><span class="lineno"> 964</span> <span class="preprocessor">0, NULL, MQTTVERSION_DEFAULT, {NULL, 0, 0}, {0, NULL}, -1, 0, NULL, NULL, NULL}</span></div>
|
|
|
|
|
<div class="line"><a name="l00965"></a><span class="lineno"> 965</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00966"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a1f0c7608262ac9c00cb94e9c8f9fc984"> 966</a></span> <span class="preprocessor">#define MQTTClient_connectOptions_initializer5 { {'M', 'Q', 'T', 'C'}, 8, 60, 0, 1, NULL, NULL, NULL, 30, 0, NULL,\</span></div>
|
|
|
|
|
<div class="line"><a name="l00967"></a><span class="lineno"> 967</span> <span class="preprocessor">0, NULL, MQTTVERSION_5, {NULL, 0, 0}, {0, NULL}, -1, 1, NULL, NULL, NULL}</span></div>
|
|
|
|
|
<div class="line"><a name="l00968"></a><span class="lineno"> 968</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00969"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a0a98fda162a78ee8c8cbd7d9d39494f4"> 969</a></span> <span class="preprocessor">#define MQTTClient_connectOptions_initializer_ws { {'M', 'Q', 'T', 'C'}, 8, 45, 1, 1, NULL, NULL, NULL, 30, 0, NULL,\</span></div>
|
|
|
|
|
<div class="line"><a name="l00970"></a><span class="lineno"> 970</span> <span class="preprocessor">0, NULL, MQTTVERSION_DEFAULT, {NULL, 0, 0}, {0, NULL}, -1, 0, NULL, NULL, NULL}</span></div>
|
|
|
|
|
<div class="line"><a name="l00971"></a><span class="lineno"> 971</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00972"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a8c37c9f77f0b67e2520c8f91acf1afea"> 972</a></span> <span class="preprocessor">#define MQTTClient_connectOptions_initializer5_ws { {'M', 'Q', 'T', 'C'}, 8, 45, 0, 1, NULL, NULL, NULL, 30, 0, NULL,\</span></div>
|
|
|
|
|
<div class="line"><a name="l00973"></a><span class="lineno"> 973</span> <span class="preprocessor">0, NULL, MQTTVERSION_5, {NULL, 0, 0}, {0, NULL}, -1, 1, NULL, NULL, NULL}</span></div>
|
|
|
|
|
<div class="line"><a name="l00974"></a><span class="lineno"> 974</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00995"></a><span class="lineno"> 995</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#aaa8ae61cd65c9dc0846df10122d7bd4e">MQTTClient_connect</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <a class="code" href="struct_m_q_t_t_client__connect_options.html">MQTTClient_connectOptions</a>* options);</div>
|
|
|
|
|
<div class="line"><a name="l00996"></a><span class="lineno"> 996</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00998"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html"> 998</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a></div>
|
|
|
|
|
<div class="line"><a name="l00999"></a><span class="lineno"> 999</span> {</div>
|
|
|
|
|
<div class="line"><a name="l01000"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html#aad880fc4455c253781e8968f2239d56f"> 1000</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_response.html#aad880fc4455c253781e8968f2239d56f">version</a>; <span class="comment">/* the version number of this structure */</span></div>
|
|
|
|
|
<div class="line"><a name="l01001"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html#a580d8a8ecb285f5a86c2a3865438f8ee"> 1001</a></span>  <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_reason_codes_8h.html#aba6db0fccfa3f8972ea48117b8b2a279">MQTTReasonCodes</a> <a class="code" href="struct_m_q_t_t_response.html#a580d8a8ecb285f5a86c2a3865438f8ee">reasonCode</a>; <span class="comment">/* the MQTT 5.0 reason code returned */</span></div>
|
|
|
|
|
<div class="line"><a name="l01002"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html#ac97316626bd4faa6b71277c221275f4b"> 1002</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_response.html#ac97316626bd4faa6b71277c221275f4b">reasonCodeCount</a>; <span class="comment">/* the number of reason codes. Used for subscribeMany5 and unsubscribeMany5 */</span></div>
|
|
|
|
|
<div class="line"><a name="l01003"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html#a2199c9d905dbfa279895cf8123c10f4f"> 1003</a></span>  <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_reason_codes_8h.html#aba6db0fccfa3f8972ea48117b8b2a279">MQTTReasonCodes</a>* <a class="code" href="struct_m_q_t_t_response.html#a2199c9d905dbfa279895cf8123c10f4f">reasonCodes</a>; <span class="comment">/* a list of reason codes. Used for subscribeMany5 and unsubscribeMany5 */</span></div>
|
|
|
|
|
<div class="line"><a name="l01004"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html#a72e9294467b8329a78bc840fe6c5b230"> 1004</a></span>  <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* <a class="code" href="struct_m_q_t_t_response.html#a72e9294467b8329a78bc840fe6c5b230">properties</a>; <span class="comment">/* optionally, the MQTT 5.0 properties returned */</span></div>
|
|
|
|
|
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span> } <a class="code" href="_m_q_t_t_client_8h.html#a0d31d490adbe677902b99eca127bee56">MQTTResponse</a>;</div>
|
|
|
|
|
<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01007"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a17f171200136bcfa933eb50ef21531a7"> 1007</a></span> <span class="preprocessor">#define MQTTResponse_initializer {1, MQTTREASONCODE_SUCCESS, 0, NULL, NULL}</span></div>
|
|
|
|
|
<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a01bd2c5f98ec5c0636a106db33f2b01b">MQTTResponse_free</a>(<a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> response);</div>
|
|
|
|
|
<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#aa777f80cb3eec5610f976aff30b8c0d6">MQTTClient_connect5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <a class="code" href="struct_m_q_t_t_client__connect_options.html">MQTTClient_connectOptions</a>* options,</div>
|
|
|
|
|
<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>  <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* connectProperties, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* willProperties);</div>
|
|
|
|
|
<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a1e4d90c13a3c0705bc4a13bfe64e6525">MQTTClient_disconnect</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> timeout);</div>
|
|
|
|
|
<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a1762c469715b7f718c4e63a427e6c13c">MQTTClient_disconnect5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> timeout, <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_reason_codes_8h.html#aba6db0fccfa3f8972ea48117b8b2a279">MQTTReasonCodes</a> reason, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* props);</div>
|
|
|
|
|
<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a6e8231e8c47f6f67f7ebbb5dcb4c69c0">MQTTClient_isConnected</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle);</div>
|
|
|
|
|
<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span> <span class="comment">/* Subscribe is synchronous. QoS list parameter is changed on return to granted QoSs.</span></div>
|
|
|
|
|
<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span> <span class="comment"> Returns return code, MQTTCLIENT_SUCCESS == success, non-zero some sort of error (TBD) */</span></div>
|
|
|
|
|
<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a9c1c28258f0d5c6a44ff53a98618f5f3">MQTTClient_subscribe</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topic, <span class="keywordtype">int</span> qos);</div>
|
|
|
|
|
<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#af35ab7375435f7b6388c5ff4610dad3d">MQTTClient_subscribe5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topic, <span class="keywordtype">int</span> qos,</div>
|
|
|
|
|
<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>  <a class="code" href="struct_m_q_t_t_subscribe__options.html">MQTTSubscribe_options</a>* opts, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* props);</div>
|
|
|
|
|
<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a92fa1c13f3db8399e042fbdbdfb692b3">MQTTClient_subscribeMany</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> count, <span class="keywordtype">char</span>* <span class="keyword">const</span>* topic, <span class="keywordtype">int</span>* qos);</div>
|
|
|
|
|
<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#a5390c2402f135c12826ffbf6fc261f7c">MQTTClient_subscribeMany5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> count, <span class="keywordtype">char</span>* <span class="keyword">const</span>* topic,</div>
|
|
|
|
|
<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>  <span class="keywordtype">int</span>* qos, <a class="code" href="struct_m_q_t_t_subscribe__options.html">MQTTSubscribe_options</a>* opts, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* props);</div>
|
|
|
|
|
<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#aa8731be3dbc6a25f41f037f8bbbb054b">MQTTClient_unsubscribe</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topic);</div>
|
|
|
|
|
<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#a58356c13867f18df60fd4c7ec9457c48">MQTTClient_unsubscribe5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topic, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* props);</div>
|
|
|
|
|
<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a50abbce720d50b9f84b97ff9fa1f546d">MQTTClient_unsubscribeMany</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> count, <span class="keywordtype">char</span>* <span class="keyword">const</span>* topic);</div>
|
|
|
|
|
<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#a46bdb532d2153110ccffb2f0748d1ba5">MQTTClient_unsubscribeMany5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> count, <span class="keywordtype">char</span>* <span class="keyword">const</span>* topic, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* props);</div>
|
|
|
|
|
<div class="line"><a name="l00738"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a76c7b40e2e258d2f898b53165ada2b70"> 738</a></span>  int (*ssl_error_cb) (<span class="keyword">const</span> <span class="keywordtype">char</span> *str, <span class="keywordtype">size_t</span> len, <span class="keywordtype">void</span> *u);</div>
|
|
|
|
|
<div class="line"><a name="l00739"></a><span class="lineno"> 739</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00744"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a189f11195f4d5a70024adffdb050885f"> 744</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a189f11195f4d5a70024adffdb050885f">ssl_error_context</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00745"></a><span class="lineno"> 745</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00751"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a83c1245259a491ea9daf872ce04b5e46"> 751</a></span>  <span class="keywordtype">unsigned</span> int (*ssl_psk_cb) (<span class="keyword">const</span> <span class="keywordtype">char</span> *hint, <span class="keywordtype">char</span> *identity, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> max_identity_len, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *psk, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> max_psk_len, <span class="keywordtype">void</span> *u);</div>
|
|
|
|
|
<div class="line"><a name="l00752"></a><span class="lineno"> 752</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00757"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#ab7f597518dd5b9db5a515081f8e0bd1f"> 757</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#ab7f597518dd5b9db5a515081f8e0bd1f">ssl_psk_context</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00758"></a><span class="lineno"> 758</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00764"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a0826fcae7c2816e04772c61542c6846b"> 764</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a0826fcae7c2816e04772c61542c6846b">disableDefaultTrustStore</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00765"></a><span class="lineno"> 765</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00773"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a4f8661600fb8bacf031150f8dcd293a5"> 773</a></span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a4f8661600fb8bacf031150f8dcd293a5">protos</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00774"></a><span class="lineno"> 774</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00779"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client___s_s_l_options.html#a26f5d839c92f9772c2a5d05486277a42"> 779</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html#a26f5d839c92f9772c2a5d05486277a42">protos_len</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00780"></a><span class="lineno"> 780</span> } <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html">MQTTClient_SSLOptions</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00781"></a><span class="lineno"> 781</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00782"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#ab9b2a2c6b52dbb2ac842ad99a9ce6d99"> 782</a></span> <span class="preprocessor">#define MQTTClient_SSLOptions_initializer { {'M', 'Q', 'T', 'S'}, 5, NULL, NULL, NULL, NULL, NULL, 1, MQTT_SSL_VERSION_DEFAULT, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0 }</span></div>
|
|
|
|
|
<div class="line"><a name="l00783"></a><span class="lineno"> 783</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00791"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__name_value.html"> 791</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00792"></a><span class="lineno"> 792</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00793"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__name_value.html#a8f8f80d37794cde9472343e4487ba3eb"> 793</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__name_value.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00794"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__name_value.html#a8556878012feffc9e0beb86cd78f424d"> 794</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__name_value.html#a8556878012feffc9e0beb86cd78f424d">value</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00795"></a><span class="lineno"> 795</span> } <a class="code" href="struct_m_q_t_t_client__name_value.html">MQTTClient_nameValue</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00796"></a><span class="lineno"> 796</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00802"></a><span class="lineno"> 802</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_client__name_value.html">MQTTClient_nameValue</a>* <a class="code" href="_m_q_t_t_client_8h.html#abe842456c914ce9201d277a972cc085e">MQTTClient_getVersionInfo</a>(<span class="keywordtype">void</span>);</div>
|
|
|
|
|
<div class="line"><a name="l00803"></a><span class="lineno"> 803</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00824"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html"> 824</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00825"></a><span class="lineno"> 825</span> {</div>
|
|
|
|
|
<div class="line"><a name="l00827"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#aa5326df180cb23c59afbcab711a06479"> 827</a></span>  <span class="keywordtype">char</span> struct_id[4];</div>
|
|
|
|
|
<div class="line"><a name="l00838"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a0761a5e5be0383882e42924de8e51f82"> 838</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a0761a5e5be0383882e42924de8e51f82">struct_version</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00848"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#ac8dd0930672a9c7d71fc645aa1f0521d"> 848</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#ac8dd0930672a9c7d71fc645aa1f0521d">keepAliveInterval</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00870"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a036c36a2a4d3a3ffae9ab4dd8b3e7f7b"> 870</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a036c36a2a4d3a3ffae9ab4dd8b3e7f7b">cleansession</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00880"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a9f1cdffc99659fd4e2d20e6de3c64df0"> 880</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a9f1cdffc99659fd4e2d20e6de3c64df0">reliable</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00886"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a0a880e99d47eb2efe552abe5079bdc9d"> 886</a></span>  <a class="code" href="struct_m_q_t_t_client__will_options.html">MQTTClient_willOptions</a>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a0a880e99d47eb2efe552abe5079bdc9d">will</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00892"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#aba2dfcdfda80edcb531a5a7115d3e043"> 892</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#aba2dfcdfda80edcb531a5a7115d3e043">username</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00898"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#aa4a2ebcb494493f648ae1e6975672575"> 898</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#aa4a2ebcb494493f648ae1e6975672575">password</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00902"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a38c6aa24b36d981c49405db425c24db0"> 902</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a38c6aa24b36d981c49405db425c24db0">connectTimeout</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00910"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#ac73f57846c42bcaa9a47e6721a957748"> 910</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#ac73f57846c42bcaa9a47e6721a957748">retryInterval</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00915"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a8a0b0f0fc7c675312dc232e2458078c7"> 915</a></span>  <a class="code" href="struct_m_q_t_t_client___s_s_l_options.html">MQTTClient_SSLOptions</a>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a8a0b0f0fc7c675312dc232e2458078c7">ssl</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00919"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#aa82629005937abd92e97084a428cd61f"> 919</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#aa82629005937abd92e97084a428cd61f">serverURIcount</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00933"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#aba22d81c407fb2ba590dba476240d3e9"> 933</a></span>  <span class="keywordtype">char</span>* <span class="keyword">const</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#aba22d81c407fb2ba590dba476240d3e9">serverURIs</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00941"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a12d546fd0ccf4e1091b18e1b735c7240"> 941</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a12d546fd0ccf4e1091b18e1b735c7240">MQTTVersion</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00945"></a><span class="lineno"> 945</span>  <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00946"></a><span class="lineno"> 946</span>  {</div>
|
|
|
|
|
<div class="line"><a name="l00947"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a313446ca7679b36652722ffe53d05228"> 947</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a313446ca7679b36652722ffe53d05228">serverURI</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00948"></a><span class="lineno"> 948</span>  <span class="keywordtype">int</span> MQTTVersion; </div>
|
|
|
|
|
<div class="line"><a name="l00949"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a44baf2cb9a0bbcec3ed2eace43f832d1"> 949</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#a44baf2cb9a0bbcec3ed2eace43f832d1">sessionPresent</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00950"></a><span class="lineno"> 950</span>  } returned;</div>
|
|
|
|
|
<div class="line"><a name="l00954"></a><span class="lineno"> 954</span>  <span class="keyword">struct</span></div>
|
|
|
|
|
<div class="line"><a name="l00955"></a><span class="lineno"> 955</span>  {</div>
|
|
|
|
|
<div class="line"><a name="l00956"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#afed088663f8704004425cdae2120b9b3"> 956</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#afed088663f8704004425cdae2120b9b3">len</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00957"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a0d49d74db4c035719c3867723cf7e779"> 957</a></span>  <span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a0d49d74db4c035719c3867723cf7e779">data</a>; </div>
|
|
|
|
|
<div class="line"><a name="l00958"></a><span class="lineno"> 958</span>  } binarypwd;</div>
|
|
|
|
|
<div class="line"><a name="l00962"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#ae3f99bf4663ab7b9e9259feeba41fab2"> 962</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#ae3f99bf4663ab7b9e9259feeba41fab2">maxInflightMessages</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00963"></a><span class="lineno"> 963</span>  <span class="comment">/*</span></div>
|
|
|
|
|
<div class="line"><a name="l00964"></a><span class="lineno"> 964</span> <span class="comment"> * MQTT V5 clean start flag. Only clears state at the beginning of the session.</span></div>
|
|
|
|
|
<div class="line"><a name="l00965"></a><span class="lineno"> 965</span> <span class="comment"> */</span></div>
|
|
|
|
|
<div class="line"><a name="l00966"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#acdcb75a5d5981da027bce83849140f7b"> 966</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_client__connect_options.html#acdcb75a5d5981da027bce83849140f7b">cleanstart</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00970"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a018eec60631f40c01e6dcb727bffd33f"> 970</a></span>  <span class="keyword">const</span> <a class="code" href="struct_m_q_t_t_client__name_value.html">MQTTClient_nameValue</a>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a018eec60631f40c01e6dcb727bffd33f">httpHeaders</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00974"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#add124780ab2de397a96780576c2f112c"> 974</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#add124780ab2de397a96780576c2f112c">httpProxy</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00978"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_client__connect_options.html#a388b78d8a75658928238f700f207ad92"> 978</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_m_q_t_t_client__connect_options.html#a388b78d8a75658928238f700f207ad92">httpsProxy</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00979"></a><span class="lineno"> 979</span> } <a class="code" href="struct_m_q_t_t_client__connect_options.html">MQTTClient_connectOptions</a>;</div>
|
|
|
|
|
<div class="line"><a name="l00980"></a><span class="lineno"> 980</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00982"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aefd7c865f2641c8155b763fdf3061c25"> 982</a></span> <span class="preprocessor">#define MQTTClient_connectOptions_initializer { {'M', 'Q', 'T', 'C'}, 8, 60, 1, 1, NULL, NULL, NULL, 30, 0, NULL,\</span></div>
|
|
|
|
|
<div class="line"><a name="l00983"></a><span class="lineno"> 983</span> <span class="preprocessor">0, NULL, MQTTVERSION_DEFAULT, {NULL, 0, 0}, {0, NULL}, -1, 0, NULL, NULL, NULL}</span></div>
|
|
|
|
|
<div class="line"><a name="l00984"></a><span class="lineno"> 984</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00986"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a1f0c7608262ac9c00cb94e9c8f9fc984"> 986</a></span> <span class="preprocessor">#define MQTTClient_connectOptions_initializer5 { {'M', 'Q', 'T', 'C'}, 8, 60, 0, 1, NULL, NULL, NULL, 30, 0, NULL,\</span></div>
|
|
|
|
|
<div class="line"><a name="l00987"></a><span class="lineno"> 987</span> <span class="preprocessor">0, NULL, MQTTVERSION_5, {NULL, 0, 0}, {0, NULL}, -1, 1, NULL, NULL, NULL}</span></div>
|
|
|
|
|
<div class="line"><a name="l00988"></a><span class="lineno"> 988</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00992"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a0a98fda162a78ee8c8cbd7d9d39494f4"> 992</a></span> <span class="preprocessor">#define MQTTClient_connectOptions_initializer_ws { {'M', 'Q', 'T', 'C'}, 8, 45, 1, 1, NULL, NULL, NULL, 30, 0, NULL,\</span></div>
|
|
|
|
|
<div class="line"><a name="l00993"></a><span class="lineno"> 993</span> <span class="preprocessor">0, NULL, MQTTVERSION_DEFAULT, {NULL, 0, 0}, {0, NULL}, -1, 0, NULL, NULL, NULL}</span></div>
|
|
|
|
|
<div class="line"><a name="l00994"></a><span class="lineno"> 994</span>  </div>
|
|
|
|
|
<div class="line"><a name="l00998"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a8c37c9f77f0b67e2520c8f91acf1afea"> 998</a></span> <span class="preprocessor">#define MQTTClient_connectOptions_initializer5_ws { {'M', 'Q', 'T', 'C'}, 8, 45, 0, 1, NULL, NULL, NULL, 30, 0, NULL,\</span></div>
|
|
|
|
|
<div class="line"><a name="l00999"></a><span class="lineno"> 999</span> <span class="preprocessor">0, NULL, MQTTVERSION_5, {NULL, 0, 0}, {0, NULL}, -1, 1, NULL, NULL, NULL}</span></div>
|
|
|
|
|
<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#aaa8ae61cd65c9dc0846df10122d7bd4e">MQTTClient_connect</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <a class="code" href="struct_m_q_t_t_client__connect_options.html">MQTTClient_connectOptions</a>* options);</div>
|
|
|
|
|
<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01024"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html"> 1024</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a></div>
|
|
|
|
|
<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span> {</div>
|
|
|
|
|
<div class="line"><a name="l01026"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html#aad880fc4455c253781e8968f2239d56f"> 1026</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_response.html#aad880fc4455c253781e8968f2239d56f">version</a>; <span class="comment">/* the version number of this structure */</span></div>
|
|
|
|
|
<div class="line"><a name="l01027"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html#a580d8a8ecb285f5a86c2a3865438f8ee"> 1027</a></span>  <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_reason_codes_8h.html#aba6db0fccfa3f8972ea48117b8b2a279">MQTTReasonCodes</a> <a class="code" href="struct_m_q_t_t_response.html#a580d8a8ecb285f5a86c2a3865438f8ee">reasonCode</a>; <span class="comment">/* the MQTT 5.0 reason code returned */</span></div>
|
|
|
|
|
<div class="line"><a name="l01028"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html#ac97316626bd4faa6b71277c221275f4b"> 1028</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_m_q_t_t_response.html#ac97316626bd4faa6b71277c221275f4b">reasonCodeCount</a>; <span class="comment">/* the number of reason codes. Used for subscribeMany5 and unsubscribeMany5 */</span></div>
|
|
|
|
|
<div class="line"><a name="l01029"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html#a2199c9d905dbfa279895cf8123c10f4f"> 1029</a></span>  <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_reason_codes_8h.html#aba6db0fccfa3f8972ea48117b8b2a279">MQTTReasonCodes</a>* <a class="code" href="struct_m_q_t_t_response.html#a2199c9d905dbfa279895cf8123c10f4f">reasonCodes</a>; <span class="comment">/* a list of reason codes. Used for subscribeMany5 and unsubscribeMany5 */</span></div>
|
|
|
|
|
<div class="line"><a name="l01030"></a><span class="lineno"><a class="line" href="struct_m_q_t_t_response.html#a72e9294467b8329a78bc840fe6c5b230"> 1030</a></span>  <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* <a class="code" href="struct_m_q_t_t_response.html#a72e9294467b8329a78bc840fe6c5b230">properties</a>; <span class="comment">/* optionally, the MQTT 5.0 properties returned */</span></div>
|
|
|
|
|
<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span> } <a class="code" href="_m_q_t_t_client_8h.html#a0d31d490adbe677902b99eca127bee56">MQTTResponse</a>;</div>
|
|
|
|
|
<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01033"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#a17f171200136bcfa933eb50ef21531a7"> 1033</a></span> <span class="preprocessor">#define MQTTResponse_initializer {1, MQTTREASONCODE_SUCCESS, 0, NULL, NULL}</span></div>
|
|
|
|
|
<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a01bd2c5f98ec5c0636a106db33f2b01b">MQTTResponse_free</a>(<a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> response);</div>
|
|
|
|
|
<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#aa777f80cb3eec5610f976aff30b8c0d6">MQTTClient_connect5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <a class="code" href="struct_m_q_t_t_client__connect_options.html">MQTTClient_connectOptions</a>* options,</div>
|
|
|
|
|
<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>  <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* connectProperties, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* willProperties);</div>
|
|
|
|
|
<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a1e4d90c13a3c0705bc4a13bfe64e6525">MQTTClient_disconnect</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> timeout);</div>
|
|
|
|
|
<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a1762c469715b7f718c4e63a427e6c13c">MQTTClient_disconnect5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> timeout, <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_reason_codes_8h.html#aba6db0fccfa3f8972ea48117b8b2a279">MQTTReasonCodes</a> reason, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* props);</div>
|
|
|
|
|
<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a6e8231e8c47f6f67f7ebbb5dcb4c69c0">MQTTClient_isConnected</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle);</div>
|
|
|
|
|
<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span> <span class="comment">/* Subscribe is synchronous. QoS list parameter is changed on return to granted QoSs.</span></div>
|
|
|
|
|
<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span> <span class="comment"> Returns return code, MQTTCLIENT_SUCCESS == success, non-zero some sort of error (TBD) */</span></div>
|
|
|
|
|
<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a9c1c28258f0d5c6a44ff53a98618f5f3">MQTTClient_subscribe</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topic, <span class="keywordtype">int</span> qos);</div>
|
|
|
|
|
<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#af35ab7375435f7b6388c5ff4610dad3d">MQTTClient_subscribe5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topic, <span class="keywordtype">int</span> qos,</div>
|
|
|
|
|
<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>  <a class="code" href="struct_m_q_t_t_subscribe__options.html">MQTTSubscribe_options</a>* opts, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* props);</div>
|
|
|
|
|
<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a92fa1c13f3db8399e042fbdbdfb692b3">MQTTClient_subscribeMany</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> count, <span class="keywordtype">char</span>* <span class="keyword">const</span>* topic, <span class="keywordtype">int</span>* qos);</div>
|
|
|
|
|
<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#a5390c2402f135c12826ffbf6fc261f7c">MQTTClient_subscribeMany5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> count, <span class="keywordtype">char</span>* <span class="keyword">const</span>* topic,</div>
|
|
|
|
|
<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>  <span class="keywordtype">int</span>* qos, <a class="code" href="struct_m_q_t_t_subscribe__options.html">MQTTSubscribe_options</a>* opts, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* props);</div>
|
|
|
|
|
<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#aa8731be3dbc6a25f41f037f8bbbb054b">MQTTClient_unsubscribe</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topic);</div>
|
|
|
|
|
<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#a58356c13867f18df60fd4c7ec9457c48">MQTTClient_unsubscribe5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topic, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* props);</div>
|
|
|
|
|
<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#afe9c34013c3511b8ef6cd36bf703678d">MQTTClient_publish</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topicName, <span class="keywordtype">int</span> payloadlen, <span class="keyword">const</span> <span class="keywordtype">void</span>* payload, <span class="keywordtype">int</span> qos, <span class="keywordtype">int</span> retained,</div>
|
|
|
|
|
<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>  <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a>* dt);</div>
|
|
|
|
|
<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#a8148186cc7683a6bb57f621653df51df">MQTTClient_publish5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topicName, <span class="keywordtype">int</span> payloadlen, <span class="keyword">const</span> <span class="keywordtype">void</span>* payload,</div>
|
|
|
|
|
<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>  <span class="keywordtype">int</span> qos, <span class="keywordtype">int</span> retained, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* properties, <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a>* dt);</div>
|
|
|
|
|
<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#ace320b8a92c7087d9dd5cf242d50389d">MQTTClient_publishMessage</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topicName, <a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>* msg, <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a>* dt);</div>
|
|
|
|
|
<div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#a362042ce973c012bad6a1aa3b5984f5d">MQTTClient_publishMessage5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topicName, <a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>* msg,</div>
|
|
|
|
|
<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>  <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a>* dt);</div>
|
|
|
|
|
<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01291"></a><span class="lineno"> 1291</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a83807ec81fe8c3941e368ab329d43067">MQTTClient_waitForCompletion</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a> dt, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timeout);</div>
|
|
|
|
|
<div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01312"></a><span class="lineno"> 1312</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a2a617c6b0492c04a4ddea592f5e53604">MQTTClient_getPendingDeliveryTokens</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a> **tokens);</div>
|
|
|
|
|
<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01320"></a><span class="lineno"> 1320</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a8ad3d29864a9ca08202b0832e0f6678e">MQTTClient_yield</a>(<span class="keywordtype">void</span>);</div>
|
|
|
|
|
<div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01353"></a><span class="lineno"> 1353</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a4c2df88d00a3dadd510a8cb774739366">MQTTClient_receive</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">char</span>** topicName, <span class="keywordtype">int</span>* topicLen, <a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>** message,</div>
|
|
|
|
|
<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timeout);</div>
|
|
|
|
|
<div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01366"></a><span class="lineno"> 1366</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#abd8abde4f39d3e689029de27f7a98a65">MQTTClient_freeMessage</a>(<a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>** msg);</div>
|
|
|
|
|
<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a203b545c999beb6b825ec99b6aea79ab">MQTTClient_free</a>(<span class="keywordtype">void</span>* ptr);</div>
|
|
|
|
|
<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01385"></a><span class="lineno"> 1385</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#ae700c3f5cfea3813264ce95e7c8cf498">MQTTClient_destroy</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a>* handle);</div>
|
|
|
|
|
<div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01388"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09b"> 1388</a></span> <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09b">MQTTCLIENT_TRACE_LEVELS</a></div>
|
|
|
|
|
<div class="line"><a name="l01389"></a><span class="lineno"> 1389</span> {</div>
|
|
|
|
|
<div class="line"><a name="l01390"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba38a4c3c4e2fc99711793ee2815aee40c"> 1390</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba38a4c3c4e2fc99711793ee2815aee40c">MQTTCLIENT_TRACE_MAXIMUM</a> = 1,</div>
|
|
|
|
|
<div class="line"><a name="l01391"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba4bb7e7221b59e9be4515f2182c03ea99"> 1391</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba4bb7e7221b59e9be4515f2182c03ea99">MQTTCLIENT_TRACE_MEDIUM</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01392"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09bacf029d9a231bd07e5e1a6f3bd0b6004e"> 1392</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09bacf029d9a231bd07e5e1a6f3bd0b6004e">MQTTCLIENT_TRACE_MINIMUM</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01393"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba29f21f77cf34ab2467520d7738fd8eb1"> 1393</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba29f21f77cf34ab2467520d7738fd8eb1">MQTTCLIENT_TRACE_PROTOCOL</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01394"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba6eefffc98c1ba698224ba351f12e6a91"> 1394</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba6eefffc98c1ba698224ba351f12e6a91">MQTTCLIENT_TRACE_ERROR</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01395"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09baf060569bdbb4015cfce028937b4cfa69"> 1395</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09baf060569bdbb4015cfce028937b4cfa69">MQTTCLIENT_TRACE_SEVERE</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01396"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba35626cc4876d074c4c21f8c4f54fdf38"> 1396</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba35626cc4876d074c4c21f8c4f54fdf38">MQTTCLIENT_TRACE_FATAL</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01397"></a><span class="lineno"> 1397</span> };</div>
|
|
|
|
|
<div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01405"></a><span class="lineno"> 1405</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a4dfa35d29db54b10b15b8ac2d9a778be">MQTTClient_setTraceLevel</a>(<span class="keyword">enum</span> <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09b">MQTTCLIENT_TRACE_LEVELS</a> level);</div>
|
|
|
|
|
<div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01417"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#afa5758290a1162e5135bca97bbfd5774"> 1417</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#afa5758290a1162e5135bca97bbfd5774">MQTTClient_traceCallback</a>(<span class="keyword">enum</span> <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09b">MQTTCLIENT_TRACE_LEVELS</a> level, <span class="keywordtype">char</span>* message);</div>
|
|
|
|
|
<div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a22870f94aa4cb1827626612f1ded7c69">MQTTClient_setTraceCallback</a>(<a class="code" href="_m_q_t_t_client_8h.html#afa5758290a1162e5135bca97bbfd5774">MQTTClient_traceCallback</a>* callback);</div>
|
|
|
|
|
<div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01434"></a><span class="lineno"> 1434</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a96067a2fb74d2a61c7e93015629548e0">MQTTClient_setCommandTimeout</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> milliSeconds);</div>
|
|
|
|
|
<div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01441"></a><span class="lineno"> 1441</span> LIBMQTT_API <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="_m_q_t_t_client_8h.html#a9defda2979f6fedaae64fd85f5c2f617">MQTTClient_strerror</a>(<span class="keywordtype">int</span> code);</div>
|
|
|
|
|
<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span> <span class="preprocessor">#if defined(__cplusplus)</span></div>
|
|
|
|
|
<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>  }</div>
|
|
|
|
|
<div class="line"><a name="l01445"></a><span class="lineno"> 1445</span> <span class="preprocessor">#endif</span></div>
|
|
|
|
|
<div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01447"></a><span class="lineno"> 1447</span> <span class="preprocessor">#endif</span></div>
|
|
|
|
|
<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a50abbce720d50b9f84b97ff9fa1f546d">MQTTClient_unsubscribeMany</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> count, <span class="keywordtype">char</span>* <span class="keyword">const</span>* topic);</div>
|
|
|
|
|
<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01209"></a><span class="lineno"> 1209</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#a46bdb532d2153110ccffb2f0748d1ba5">MQTTClient_unsubscribeMany5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">int</span> count, <span class="keywordtype">char</span>* <span class="keyword">const</span>* topic, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* props);</div>
|
|
|
|
|
<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#afe9c34013c3511b8ef6cd36bf703678d">MQTTClient_publish</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topicName, <span class="keywordtype">int</span> payloadlen, <span class="keyword">const</span> <span class="keywordtype">void</span>* payload, <span class="keywordtype">int</span> qos, <span class="keywordtype">int</span> retained,</div>
|
|
|
|
|
<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>  <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a>* dt);</div>
|
|
|
|
|
<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#a8148186cc7683a6bb57f621653df51df">MQTTClient_publish5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topicName, <span class="keywordtype">int</span> payloadlen, <span class="keyword">const</span> <span class="keywordtype">void</span>* payload,</div>
|
|
|
|
|
<div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>  <span class="keywordtype">int</span> qos, <span class="keywordtype">int</span> retained, <a class="code" href="struct_m_q_t_t_properties.html">MQTTProperties</a>* properties, <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a>* dt);</div>
|
|
|
|
|
<div class="line"><a name="l01277"></a><span class="lineno"> 1277</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#ace320b8a92c7087d9dd5cf242d50389d">MQTTClient_publishMessage</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topicName, <a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>* msg, <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a>* dt);</div>
|
|
|
|
|
<div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01279"></a><span class="lineno"> 1279</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span> LIBMQTT_API <a class="code" href="struct_m_q_t_t_response.html">MQTTResponse</a> <a class="code" href="_m_q_t_t_client_8h.html#a362042ce973c012bad6a1aa3b5984f5d">MQTTClient_publishMessage5</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* topicName, <a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>* msg,</div>
|
|
|
|
|
<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>  <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a>* dt);</div>
|
|
|
|
|
<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a83807ec81fe8c3941e368ab329d43067">MQTTClient_waitForCompletion</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a> dt, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timeout);</div>
|
|
|
|
|
<div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01319"></a><span class="lineno"> 1319</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01338"></a><span class="lineno"> 1338</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a2a617c6b0492c04a4ddea592f5e53604">MQTTClient_getPendingDeliveryTokens</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <a class="code" href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a> **tokens);</div>
|
|
|
|
|
<div class="line"><a name="l01339"></a><span class="lineno"> 1339</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01346"></a><span class="lineno"> 1346</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a8ad3d29864a9ca08202b0832e0f6678e">MQTTClient_yield</a>(<span class="keywordtype">void</span>);</div>
|
|
|
|
|
<div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a4c2df88d00a3dadd510a8cb774739366">MQTTClient_receive</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">char</span>** topicName, <span class="keywordtype">int</span>* topicLen, <a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>** message,</div>
|
|
|
|
|
<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timeout);</div>
|
|
|
|
|
<div class="line"><a name="l01381"></a><span class="lineno"> 1381</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#abd8abde4f39d3e689029de27f7a98a65">MQTTClient_freeMessage</a>(<a class="code" href="struct_m_q_t_t_client__message.html">MQTTClient_message</a>** msg);</div>
|
|
|
|
|
<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01402"></a><span class="lineno"> 1402</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a203b545c999beb6b825ec99b6aea79ab">MQTTClient_free</a>(<span class="keywordtype">void</span>* ptr);</div>
|
|
|
|
|
<div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#ae700c3f5cfea3813264ce95e7c8cf498">MQTTClient_destroy</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a>* handle);</div>
|
|
|
|
|
<div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01413"></a><span class="lineno"> 1413</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01414"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09b"> 1414</a></span> <span class="keyword">enum</span> <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09b">MQTTCLIENT_TRACE_LEVELS</a></div>
|
|
|
|
|
<div class="line"><a name="l01415"></a><span class="lineno"> 1415</span> {</div>
|
|
|
|
|
<div class="line"><a name="l01416"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba38a4c3c4e2fc99711793ee2815aee40c"> 1416</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba38a4c3c4e2fc99711793ee2815aee40c">MQTTCLIENT_TRACE_MAXIMUM</a> = 1,</div>
|
|
|
|
|
<div class="line"><a name="l01417"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba4bb7e7221b59e9be4515f2182c03ea99"> 1417</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba4bb7e7221b59e9be4515f2182c03ea99">MQTTCLIENT_TRACE_MEDIUM</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01418"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09bacf029d9a231bd07e5e1a6f3bd0b6004e"> 1418</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09bacf029d9a231bd07e5e1a6f3bd0b6004e">MQTTCLIENT_TRACE_MINIMUM</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01419"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba29f21f77cf34ab2467520d7738fd8eb1"> 1419</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba29f21f77cf34ab2467520d7738fd8eb1">MQTTCLIENT_TRACE_PROTOCOL</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01420"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba6eefffc98c1ba698224ba351f12e6a91"> 1420</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba6eefffc98c1ba698224ba351f12e6a91">MQTTCLIENT_TRACE_ERROR</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01421"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09baf060569bdbb4015cfce028937b4cfa69"> 1421</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09baf060569bdbb4015cfce028937b4cfa69">MQTTCLIENT_TRACE_SEVERE</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01422"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba35626cc4876d074c4c21f8c4f54fdf38"> 1422</a></span>  <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba35626cc4876d074c4c21f8c4f54fdf38">MQTTCLIENT_TRACE_FATAL</a>,</div>
|
|
|
|
|
<div class="line"><a name="l01423"></a><span class="lineno"> 1423</span> };</div>
|
|
|
|
|
<div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a4dfa35d29db54b10b15b8ac2d9a778be">MQTTClient_setTraceLevel</a>(<span class="keyword">enum</span> <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09b">MQTTCLIENT_TRACE_LEVELS</a> level);</div>
|
|
|
|
|
<div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01443"></a><span class="lineno"><a class="line" href="_m_q_t_t_client_8h.html#afa5758290a1162e5135bca97bbfd5774"> 1443</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#afa5758290a1162e5135bca97bbfd5774">MQTTClient_traceCallback</a>(<span class="keyword">enum</span> <a class="code" href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09b">MQTTCLIENT_TRACE_LEVELS</a> level, <span class="keywordtype">char</span>* message);</div>
|
|
|
|
|
<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01451"></a><span class="lineno"> 1451</span> LIBMQTT_API <span class="keywordtype">void</span> <a class="code" href="_m_q_t_t_client_8h.html#a22870f94aa4cb1827626612f1ded7c69">MQTTClient_setTraceCallback</a>(<a class="code" href="_m_q_t_t_client_8h.html#afa5758290a1162e5135bca97bbfd5774">MQTTClient_traceCallback</a>* callback);</div>
|
|
|
|
|
<div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01460"></a><span class="lineno"> 1460</span> LIBMQTT_API <span class="keywordtype">int</span> <a class="code" href="_m_q_t_t_client_8h.html#a96067a2fb74d2a61c7e93015629548e0">MQTTClient_setCommandTimeout</a>(<a class="code" href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a> handle, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> milliSeconds);</div>
|
|
|
|
|
<div class="line"><a name="l01461"></a><span class="lineno"> 1461</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span> LIBMQTT_API <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="_m_q_t_t_client_8h.html#a9defda2979f6fedaae64fd85f5c2f617">MQTTClient_strerror</a>(<span class="keywordtype">int</span> code);</div>
|
|
|
|
|
<div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01469"></a><span class="lineno"> 1469</span> <span class="preprocessor">#if defined(__cplusplus)</span></div>
|
|
|
|
|
<div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>  }</div>
|
|
|
|
|
<div class="line"><a name="l01471"></a><span class="lineno"> 1471</span> <span class="preprocessor">#endif</span></div>
|
|
|
|
|
<div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>  </div>
|
|
|
|
|
<div class="line"><a name="l01473"></a><span class="lineno"> 1473</span> <span class="preprocessor">#endif</span></div>
|
|
|
|
|
<div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>  </div>
|
|
|
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_properties_8h_html"><div class="ttname"><a href="_m_q_t_t_properties_8h.html">MQTTProperties.h</a></div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a35738099155a0e4f54050da474bab2e7"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a35738099155a0e4f54050da474bab2e7">MQTTClient_willOptions::qos</a></div><div class="ttdeci">int qos</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:631</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html_a580d8a8ecb285f5a86c2a3865438f8ee"><div class="ttname"><a href="struct_m_q_t_t_response.html#a580d8a8ecb285f5a86c2a3865438f8ee">MQTTResponse::reasonCode</a></div><div class="ttdeci">enum MQTTReasonCodes reasonCode</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1001</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09ba4bb7e7221b59e9be4515f2182c03ea99"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba4bb7e7221b59e9be4515f2182c03ea99">MQTTCLIENT_TRACE_MEDIUM</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_MEDIUM</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1391</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__init__options_html_a5929146596391e2838ef95feb89776da"><div class="ttname"><a href="struct_m_q_t_t_client__init__options.html#a5929146596391e2838ef95feb89776da">MQTTClient_init_options::do_openssl_init</a></div><div class="ttdeci">int do_openssl_init</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:232</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a6a4904c112507a43e7dc8495b62cc0fc"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a6a4904c112507a43e7dc8495b62cc0fc">MQTTClient_message::retained</a></div><div class="ttdeci">int retained</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:310</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a35738099155a0e4f54050da474bab2e7"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a35738099155a0e4f54050da474bab2e7">MQTTClient_willOptions::qos</a></div><div class="ttdeci">int qos</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:643</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html_a580d8a8ecb285f5a86c2a3865438f8ee"><div class="ttname"><a href="struct_m_q_t_t_response.html#a580d8a8ecb285f5a86c2a3865438f8ee">MQTTResponse::reasonCode</a></div><div class="ttdeci">enum MQTTReasonCodes reasonCode</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1027</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09ba4bb7e7221b59e9be4515f2182c03ea99"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba4bb7e7221b59e9be4515f2182c03ea99">MQTTCLIENT_TRACE_MEDIUM</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_MEDIUM</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1417</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__init__options_html_a5929146596391e2838ef95feb89776da"><div class="ttname"><a href="struct_m_q_t_t_client__init__options.html#a5929146596391e2838ef95feb89776da">MQTTClient_init_options::do_openssl_init</a></div><div class="ttdeci">int do_openssl_init</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:236</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a6a4904c112507a43e7dc8495b62cc0fc"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a6a4904c112507a43e7dc8495b62cc0fc">MQTTClient_message::retained</a></div><div class="ttdeci">int retained</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:314</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_afe9c34013c3511b8ef6cd36bf703678d"><div class="ttname"><a href="_m_q_t_t_client_8h.html#afe9c34013c3511b8ef6cd36bf703678d">MQTTClient_publish</a></div><div class="ttdeci">int MQTTClient_publish(MQTTClient handle, const char *topicName, int payloadlen, const void *payload, int qos, int retained, MQTTClient_deliveryToken *dt)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a0d49d74db4c035719c3867723cf7e779"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a0d49d74db4c035719c3867723cf7e779">MQTTClient_willOptions::data</a></div><div class="ttdeci">const void * data</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:636</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a032835d4c4a1c1e19b53c330a673a6e0"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a032835d4c4a1c1e19b53c330a673a6e0">MQTTClient_SSLOptions::trustStore</a></div><div class="ttdeci">const char * trustStore</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:674</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a0d49d74db4c035719c3867723cf7e779"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a0d49d74db4c035719c3867723cf7e779">MQTTClient_willOptions::data</a></div><div class="ttdeci">const void * data</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:648</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a032835d4c4a1c1e19b53c330a673a6e0"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a032835d4c4a1c1e19b53c330a673a6e0">MQTTClient_SSLOptions::trustStore</a></div><div class="ttdeci">const char * trustStore</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:686</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a92fa1c13f3db8399e042fbdbdfb692b3"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a92fa1c13f3db8399e042fbdbdfb692b3">MQTTClient_subscribeMany</a></div><div class="ttdeci">int MQTTClient_subscribeMany(MQTTClient handle, int count, char *const *topic, int *qos)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a4f8661600fb8bacf031150f8dcd293a5"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a4f8661600fb8bacf031150f8dcd293a5">MQTTClient_SSLOptions::protos</a></div><div class="ttdeci">const unsigned char * protos</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:761</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a4f8661600fb8bacf031150f8dcd293a5"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a4f8661600fb8bacf031150f8dcd293a5">MQTTClient_SSLOptions::protos</a></div><div class="ttdeci">const unsigned char * protos</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:773</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a8adea083a162735d5c7592160088eea0"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a8adea083a162735d5c7592160088eea0">MQTTClient_setDisconnected</a></div><div class="ttdeci">int MQTTClient_setDisconnected(MQTTClient handle, void *context, MQTTClient_disconnected *co)</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09ba29f21f77cf34ab2467520d7738fd8eb1"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba29f21f77cf34ab2467520d7738fd8eb1">MQTTCLIENT_TRACE_PROTOCOL</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_PROTOCOL</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1393</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09ba29f21f77cf34ab2467520d7738fd8eb1"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba29f21f77cf34ab2467520d7738fd8eb1">MQTTCLIENT_TRACE_PROTOCOL</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_PROTOCOL</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1419</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a9defda2979f6fedaae64fd85f5c2f617"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a9defda2979f6fedaae64fd85f5c2f617">MQTTClient_strerror</a></div><div class="ttdeci">const char * MQTTClient_strerror(int code)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_ab7f597518dd5b9db5a515081f8e0bd1f"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#ab7f597518dd5b9db5a515081f8e0bd1f">MQTTClient_SSLOptions::ssl_psk_context</a></div><div class="ttdeci">void * ssl_psk_context</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:745</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_ac8dd0930672a9c7d71fc645aa1f0521d"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#ac8dd0930672a9c7d71fc645aa1f0521d">MQTTClient_connectOptions::keepAliveInterval</a></div><div class="ttdeci">int keepAliveInterval</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:830</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_aa3cb44feb3ae6d11b3a4cad2d94cb33a"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#aa3cb44feb3ae6d11b3a4cad2d94cb33a">MQTTClient_message::payloadlen</a></div><div class="ttdeci">int payloadlen</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:275</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_ab7f597518dd5b9db5a515081f8e0bd1f"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#ab7f597518dd5b9db5a515081f8e0bd1f">MQTTClient_SSLOptions::ssl_psk_context</a></div><div class="ttdeci">void * ssl_psk_context</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:757</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_ac8dd0930672a9c7d71fc645aa1f0521d"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#ac8dd0930672a9c7d71fc645aa1f0521d">MQTTClient_connectOptions::keepAliveInterval</a></div><div class="ttdeci">int keepAliveInterval</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:848</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_aa3cb44feb3ae6d11b3a4cad2d94cb33a"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#aa3cb44feb3ae6d11b3a4cad2d94cb33a">MQTTClient_message::payloadlen</a></div><div class="ttdeci">int payloadlen</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:279</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_properties_html"><div class="ttname"><a href="struct_m_q_t_t_properties.html">MQTTProperties</a></div><div class="ttdef"><b>Definition:</b> MQTTProperties.h:112</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a0a880e99d47eb2efe552abe5079bdc9d"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a0a880e99d47eb2efe552abe5079bdc9d">MQTTClient_connectOptions::will</a></div><div class="ttdeci">MQTTClient_willOptions * will</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:868</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_ac73f57846c42bcaa9a47e6721a957748"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#ac73f57846c42bcaa9a47e6721a957748">MQTTClient_connectOptions::retryInterval</a></div><div class="ttdeci">int retryInterval</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:892</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a189f11195f4d5a70024adffdb050885f"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a189f11195f4d5a70024adffdb050885f">MQTTClient_SSLOptions::ssl_error_context</a></div><div class="ttdeci">void * ssl_error_context</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:732</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a0a880e99d47eb2efe552abe5079bdc9d"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a0a880e99d47eb2efe552abe5079bdc9d">MQTTClient_connectOptions::will</a></div><div class="ttdeci">MQTTClient_willOptions * will</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:886</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_ac73f57846c42bcaa9a47e6721a957748"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#ac73f57846c42bcaa9a47e6721a957748">MQTTClient_connectOptions::retryInterval</a></div><div class="ttdeci">int retryInterval</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:910</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a189f11195f4d5a70024adffdb050885f"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a189f11195f4d5a70024adffdb050885f">MQTTClient_SSLOptions::ssl_error_context</a></div><div class="ttdeci">void * ssl_error_context</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:744</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a22870f94aa4cb1827626612f1ded7c69"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a22870f94aa4cb1827626612f1ded7c69">MQTTClient_setTraceCallback</a></div><div class="ttdeci">void MQTTClient_setTraceCallback(MQTTClient_traceCallback *callback)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__create_options_html"><div class="ttname"><a href="struct_m_q_t_t_client__create_options.html">MQTTClient_createOptions</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:536</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__create_options_html"><div class="ttname"><a href="struct_m_q_t_t_client__create_options.html">MQTTClient_createOptions</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:548</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa8731be3dbc6a25f41f037f8bbbb054b"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa8731be3dbc6a25f41f037f8bbbb054b">MQTTClient_unsubscribe</a></div><div class="ttdeci">int MQTTClient_unsubscribe(MQTTClient handle, const char *topic)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a254bf0858da09c96a48daf64404eb4f8"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a254bf0858da09c96a48daf64404eb4f8">MQTTClient_willOptions::message</a></div><div class="ttdeci">const char * message</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:622</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a018eec60631f40c01e6dcb727bffd33f"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a018eec60631f40c01e6dcb727bffd33f">MQTTClient_connectOptions::httpHeaders</a></div><div class="ttdeci">const MQTTClient_nameValue * httpHeaders</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:952</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__name_value_html_a8556878012feffc9e0beb86cd78f424d"><div class="ttname"><a href="struct_m_q_t_t_client__name_value.html#a8556878012feffc9e0beb86cd78f424d">MQTTClient_nameValue::value</a></div><div class="ttdeci">const char * value</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:782</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a254bf0858da09c96a48daf64404eb4f8"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a254bf0858da09c96a48daf64404eb4f8">MQTTClient_willOptions::message</a></div><div class="ttdeci">const char * message</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:634</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a018eec60631f40c01e6dcb727bffd33f"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a018eec60631f40c01e6dcb727bffd33f">MQTTClient_connectOptions::httpHeaders</a></div><div class="ttdeci">const MQTTClient_nameValue * httpHeaders</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:970</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__name_value_html_a8556878012feffc9e0beb86cd78f424d"><div class="ttname"><a href="struct_m_q_t_t_client__name_value.html#a8556878012feffc9e0beb86cd78f424d">MQTTClient_nameValue::value</a></div><div class="ttdeci">const char * value</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:794</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a4c2df88d00a3dadd510a8cb774739366"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a4c2df88d00a3dadd510a8cb774739366">MQTTClient_receive</a></div><div class="ttdeci">int MQTTClient_receive(MQTTClient handle, char **topicName, int *topicLen, MQTTClient_message **message, unsigned long timeout)</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa42130dd069e7e949bcab37b6dce64a5"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa42130dd069e7e949bcab37b6dce64a5">MQTTClient_messageArrived</a></div><div class="ttdeci">int MQTTClient_messageArrived(void *context, char *topicName, int topicLen, MQTTClient_message *message)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:360</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa42130dd069e7e949bcab37b6dce64a5"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa42130dd069e7e949bcab37b6dce64a5">MQTTClient_messageArrived</a></div><div class="ttdeci">int MQTTClient_messageArrived(void *context, char *topicName, int topicLen, MQTTClient_message *message)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:364</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_abd8abde4f39d3e689029de27f7a98a65"><div class="ttname"><a href="_m_q_t_t_client_8h.html#abd8abde4f39d3e689029de27f7a98a65">MQTTClient_freeMessage</a></div><div class="ttdeci">void MQTTClient_freeMessage(MQTTClient_message **msg)</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a58356c13867f18df60fd4c7ec9457c48"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a58356c13867f18df60fd4c7ec9457c48">MQTTClient_unsubscribe5</a></div><div class="ttdeci">MQTTResponse MQTTClient_unsubscribe5(MQTTClient handle, const char *topic, MQTTProperties *props)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__name_value_html_a8f8f80d37794cde9472343e4487ba3eb"><div class="ttname"><a href="struct_m_q_t_t_client__name_value.html#a8f8f80d37794cde9472343e4487ba3eb">MQTTClient_nameValue::name</a></div><div class="ttdeci">const char * name</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:781</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_willOptions::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:618</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a0826fcae7c2816e04772c61542c6846b"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a0826fcae7c2816e04772c61542c6846b">MQTTClient_SSLOptions::disableDefaultTrustStore</a></div><div class="ttdeci">int disableDefaultTrustStore</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:752</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__name_value_html_a8f8f80d37794cde9472343e4487ba3eb"><div class="ttname"><a href="struct_m_q_t_t_client__name_value.html#a8f8f80d37794cde9472343e4487ba3eb">MQTTClient_nameValue::name</a></div><div class="ttdeci">const char * name</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:793</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_willOptions::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:630</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a0826fcae7c2816e04772c61542c6846b"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a0826fcae7c2816e04772c61542c6846b">MQTTClient_SSLOptions::disableDefaultTrustStore</a></div><div class="ttdeci">int disableDefaultTrustStore</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:764</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a8148186cc7683a6bb57f621653df51df"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a8148186cc7683a6bb57f621653df51df">MQTTClient_publish5</a></div><div class="ttdeci">MQTTResponse MQTTClient_publish5(MQTTClient handle, const char *topicName, int payloadlen, const void *payload, int qos, int retained, MQTTProperties *properties, MQTTClient_deliveryToken *dt)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_acdcb75a5d5981da027bce83849140f7b"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#acdcb75a5d5981da027bce83849140f7b">MQTTClient_connectOptions::cleanstart</a></div><div class="ttdeci">int cleanstart</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:948</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a44baf2cb9a0bbcec3ed2eace43f832d1"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a44baf2cb9a0bbcec3ed2eace43f832d1">MQTTClient_connectOptions::sessionPresent</a></div><div class="ttdeci">int sessionPresent</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:931</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html"><div class="ttname"><a href="struct_m_q_t_t_client__message.html">MQTTClient_message</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:267</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a313446ca7679b36652722ffe53d05228"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a313446ca7679b36652722ffe53d05228">MQTTClient_connectOptions::serverURI</a></div><div class="ttdeci">const char * serverURI</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:929</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_acdcb75a5d5981da027bce83849140f7b"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#acdcb75a5d5981da027bce83849140f7b">MQTTClient_connectOptions::cleanstart</a></div><div class="ttdeci">int cleanstart</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:966</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a44baf2cb9a0bbcec3ed2eace43f832d1"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a44baf2cb9a0bbcec3ed2eace43f832d1">MQTTClient_connectOptions::sessionPresent</a></div><div class="ttdeci">int sessionPresent</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:949</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html"><div class="ttname"><a href="struct_m_q_t_t_client__message.html">MQTTClient_message</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:271</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a313446ca7679b36652722ffe53d05228"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a313446ca7679b36652722ffe53d05228">MQTTClient_connectOptions::serverURI</a></div><div class="ttdeci">const char * serverURI</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:947</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_af35ab7375435f7b6388c5ff4610dad3d"><div class="ttname"><a href="_m_q_t_t_client_8h.html#af35ab7375435f7b6388c5ff4610dad3d">MQTTClient_subscribe5</a></div><div class="ttdeci">MQTTResponse MQTTClient_subscribe5(MQTTClient handle, const char *topic, int qos, MQTTSubscribe_options *opts, MQTTProperties *props)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_aba22d81c407fb2ba590dba476240d3e9"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#aba22d81c407fb2ba590dba476240d3e9">MQTTClient_connectOptions::serverURIs</a></div><div class="ttdeci">char *const * serverURIs</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:915</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html">MQTTClient_SSLOptions</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:659</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a1594008402f7307e4de8fa6131656dde"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a1594008402f7307e4de8fa6131656dde">MQTTClient_message::properties</a></div><div class="ttdeci">MQTTProperties properties</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:325</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a35738099155a0e4f54050da474bab2e7"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a35738099155a0e4f54050da474bab2e7">MQTTClient_message::qos</a></div><div class="ttdeci">int qos</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:291</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_aba22d81c407fb2ba590dba476240d3e9"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#aba22d81c407fb2ba590dba476240d3e9">MQTTClient_connectOptions::serverURIs</a></div><div class="ttdeci">char *const * serverURIs</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:933</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html">MQTTClient_SSLOptions</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:671</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a1594008402f7307e4de8fa6131656dde"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a1594008402f7307e4de8fa6131656dde">MQTTClient_message::properties</a></div><div class="ttdeci">MQTTProperties properties</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:329</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a35738099155a0e4f54050da474bab2e7"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a35738099155a0e4f54050da474bab2e7">MQTTClient_message::qos</a></div><div class="ttdeci">int qos</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:295</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a8ad3d29864a9ca08202b0832e0f6678e"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a8ad3d29864a9ca08202b0832e0f6678e">MQTTClient_yield</a></div><div class="ttdeci">void MQTTClient_yield(void)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__create_options_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client__create_options.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_createOptions::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:541</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09ba6eefffc98c1ba698224ba351f12e6a91"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba6eefffc98c1ba698224ba351f12e6a91">MQTTCLIENT_TRACE_ERROR</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_ERROR</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1394</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_ae3f99bf4663ab7b9e9259feeba41fab2"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#ae3f99bf4663ab7b9e9259feeba41fab2">MQTTClient_connectOptions::maxInflightMessages</a></div><div class="ttdeci">int maxInflightMessages</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:944</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_abef83794d8252551ed248cde6eb845a6"><div class="ttname"><a href="_m_q_t_t_client_8h.html#abef83794d8252551ed248cde6eb845a6">MQTTClient_deliveryComplete</a></div><div class="ttdeci">void MQTTClient_deliveryComplete(void *context, MQTTClient_deliveryToken dt)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:382</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a8b2beb5227708f8127b666f5a7fc41b3"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a8b2beb5227708f8127b666f5a7fc41b3">MQTTClient_token</a></div><div class="ttdeci">int MQTTClient_token</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:259</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__create_options_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client__create_options.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_createOptions::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:553</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09ba6eefffc98c1ba698224ba351f12e6a91"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba6eefffc98c1ba698224ba351f12e6a91">MQTTCLIENT_TRACE_ERROR</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_ERROR</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1420</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_ae3f99bf4663ab7b9e9259feeba41fab2"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#ae3f99bf4663ab7b9e9259feeba41fab2">MQTTClient_connectOptions::maxInflightMessages</a></div><div class="ttdeci">int maxInflightMessages</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:962</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_abef83794d8252551ed248cde6eb845a6"><div class="ttname"><a href="_m_q_t_t_client_8h.html#abef83794d8252551ed248cde6eb845a6">MQTTClient_deliveryComplete</a></div><div class="ttdeci">void MQTTClient_deliveryComplete(void *context, MQTTClient_deliveryToken dt)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:386</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a8b2beb5227708f8127b666f5a7fc41b3"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a8b2beb5227708f8127b666f5a7fc41b3">MQTTClient_token</a></div><div class="ttdeci">int MQTTClient_token</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:263</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_subscribe_opts_8h_html"><div class="ttname"><a href="_m_q_t_t_subscribe_opts_8h.html">MQTTSubscribeOpts.h</a></div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_connectOptions::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:820</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_connectOptions::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:838</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a4dfa35d29db54b10b15b8ac2d9a778be"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a4dfa35d29db54b10b15b8ac2d9a778be">MQTTClient_setTraceLevel</a></div><div class="ttdeci">void MQTTClient_setTraceLevel(enum MQTTCLIENT_TRACE_LEVELS level)</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09ba35626cc4876d074c4c21f8c4f54fdf38"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba35626cc4876d074c4c21f8c4f54fdf38">MQTTCLIENT_TRACE_FATAL</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_FATAL</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1396</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_afa5758290a1162e5135bca97bbfd5774"><div class="ttname"><a href="_m_q_t_t_client_8h.html#afa5758290a1162e5135bca97bbfd5774">MQTTClient_traceCallback</a></div><div class="ttdeci">void MQTTClient_traceCallback(enum MQTTCLIENT_TRACE_LEVELS level, char *message)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1417</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_aa82629005937abd92e97084a428cd61f"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#aa82629005937abd92e97084a428cd61f">MQTTClient_connectOptions::serverURIcount</a></div><div class="ttdeci">int serverURIcount</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:901</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09ba35626cc4876d074c4c21f8c4f54fdf38"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba35626cc4876d074c4c21f8c4f54fdf38">MQTTCLIENT_TRACE_FATAL</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_FATAL</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1422</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_afa5758290a1162e5135bca97bbfd5774"><div class="ttname"><a href="_m_q_t_t_client_8h.html#afa5758290a1162e5135bca97bbfd5774">MQTTClient_traceCallback</a></div><div class="ttdeci">void MQTTClient_traceCallback(enum MQTTCLIENT_TRACE_LEVELS level, char *message)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1443</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_aa82629005937abd92e97084a428cd61f"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#aa82629005937abd92e97084a428cd61f">MQTTClient_connectOptions::serverURIcount</a></div><div class="ttdeci">int serverURIcount</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:919</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a9c1c28258f0d5c6a44ff53a98618f5f3"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a9c1c28258f0d5c6a44ff53a98618f5f3">MQTTClient_subscribe</a></div><div class="ttdeci">int MQTTClient_subscribe(MQTTClient handle, const char *topic, int qos)</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a73e49030fd8b7074aa1aa45669b7fe8d"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a></div><div class="ttdeci">int MQTTClient_deliveryToken</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:258</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a73e49030fd8b7074aa1aa45669b7fe8d"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a73e49030fd8b7074aa1aa45669b7fe8d">MQTTClient_deliveryToken</a></div><div class="ttdeci">int MQTTClient_deliveryToken</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:262</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a83807ec81fe8c3941e368ab329d43067"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a83807ec81fe8c3941e368ab329d43067">MQTTClient_waitForCompletion</a></div><div class="ttdeci">int MQTTClient_waitForCompletion(MQTTClient handle, MQTTClient_deliveryToken dt, unsigned long timeout)</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aad27d07782991a4937ebf2f39a021f83"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aad27d07782991a4937ebf2f39a021f83">MQTTClient_setCallbacks</a></div><div class="ttdeci">int MQTTClient_setCallbacks(MQTTClient handle, void *context, MQTTClient_connectionLost *cl, MQTTClient_messageArrived *ma, MQTTClient_deliveryComplete *dc)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_aa4a2ebcb494493f648ae1e6975672575"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#aa4a2ebcb494493f648ae1e6975672575">MQTTClient_connectOptions::password</a></div><div class="ttdeci">const char * password</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:880</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html">MQTTClient_willOptions</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:611</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_abb427571ba37b51f6985f1a6906ca031"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#abb427571ba37b51f6985f1a6906ca031">MQTTClient_SSLOptions::privateKeyPassword</a></div><div class="ttdeci">const char * privateKeyPassword</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:687</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a0d49d74db4c035719c3867723cf7e779"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a0d49d74db4c035719c3867723cf7e779">MQTTClient_connectOptions::data</a></div><div class="ttdeci">const void * data</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:939</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_aa4a2ebcb494493f648ae1e6975672575"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#aa4a2ebcb494493f648ae1e6975672575">MQTTClient_connectOptions::password</a></div><div class="ttdeci">const char * password</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:898</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html">MQTTClient_willOptions</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:623</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_abb427571ba37b51f6985f1a6906ca031"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#abb427571ba37b51f6985f1a6906ca031">MQTTClient_SSLOptions::privateKeyPassword</a></div><div class="ttdeci">const char * privateKeyPassword</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:699</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a0d49d74db4c035719c3867723cf7e779"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a0d49d74db4c035719c3867723cf7e779">MQTTClient_connectOptions::data</a></div><div class="ttdeci">const void * data</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:957</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a21804ede1a506d1d69a472bc30acc8ba"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a21804ede1a506d1d69a472bc30acc8ba">MQTTClient_global_init</a></div><div class="ttdeci">void MQTTClient_global_init(MQTTClient_init_options *inits)</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a6bb253f16754e7cc81798c9fda0e36cf"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a6bb253f16754e7cc81798c9fda0e36cf">MQTTClient_connectionLost</a></div><div class="ttdeci">void MQTTClient_connectionLost(void *context, char *cause)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:399</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a6c3f51e50e2c47328eee1b0c920ed103"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a6c3f51e50e2c47328eee1b0c920ed103">MQTTClient_published</a></div><div class="ttdeci">void MQTTClient_published(void *context, int dt, int packet_type, MQTTProperties *properties, enum MQTTReasonCodes reasonCode)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:483</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a9eff55064941fb604452abb0050ea99d"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a9eff55064941fb604452abb0050ea99d">MQTTClient_message::payload</a></div><div class="ttdeci">void * payload</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:277</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a6bb253f16754e7cc81798c9fda0e36cf"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a6bb253f16754e7cc81798c9fda0e36cf">MQTTClient_connectionLost</a></div><div class="ttdeci">void MQTTClient_connectionLost(void *context, char *cause)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:403</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a6c3f51e50e2c47328eee1b0c920ed103"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a6c3f51e50e2c47328eee1b0c920ed103">MQTTClient_published</a></div><div class="ttdeci">void MQTTClient_published(void *context, int dt, int packet_type, MQTTProperties *properties, enum MQTTReasonCodes reasonCode)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:487</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a9eff55064941fb604452abb0050ea99d"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a9eff55064941fb604452abb0050ea99d">MQTTClient_message::payload</a></div><div class="ttdeci">void * payload</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:281</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a01bd2c5f98ec5c0636a106db33f2b01b"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a01bd2c5f98ec5c0636a106db33f2b01b">MQTTResponse_free</a></div><div class="ttdeci">void MQTTResponse_free(MQTTResponse response)</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a0d31d490adbe677902b99eca127bee56"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a0d31d490adbe677902b99eca127bee56">MQTTResponse</a></div><div class="ttdeci">struct MQTTResponse MQTTResponse</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a12d546fd0ccf4e1091b18e1b735c7240"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a12d546fd0ccf4e1091b18e1b735c7240">MQTTClient_connectOptions::MQTTVersion</a></div><div class="ttdeci">int MQTTVersion</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:923</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html_a72e9294467b8329a78bc840fe6c5b230"><div class="ttname"><a href="struct_m_q_t_t_response.html#a72e9294467b8329a78bc840fe6c5b230">MQTTResponse::properties</a></div><div class="ttdeci">MQTTProperties * properties</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1004</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a12d546fd0ccf4e1091b18e1b735c7240"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a12d546fd0ccf4e1091b18e1b735c7240">MQTTClient_connectOptions::MQTTVersion</a></div><div class="ttdeci">int MQTTVersion</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:941</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html_a72e9294467b8329a78bc840fe6c5b230"><div class="ttname"><a href="struct_m_q_t_t_response.html#a72e9294467b8329a78bc840fe6c5b230">MQTTResponse::properties</a></div><div class="ttdeci">MQTTProperties * properties</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1030</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_reason_codes_8h_html"><div class="ttname"><a href="_m_q_t_t_reason_codes_8h.html">MQTTReasonCodes.h</a></div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a3078b3c824cc9753a57898072445c34d"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a3078b3c824cc9753a57898072445c34d">MQTTClient_SSLOptions::CApath</a></div><div class="ttdeci">const char * CApath</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:720</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a6174c42da8c55c86e7255be2848dc4ac"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a6174c42da8c55c86e7255be2848dc4ac">MQTTClient_message::msgid</a></div><div class="ttdeci">int msgid</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:321</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a0e20a7b350881d05108d6342884198a5"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a0e20a7b350881d05108d6342884198a5">MQTTClient_willOptions::topicName</a></div><div class="ttdeci">const char * topicName</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:620</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a7649e3913f9a216424d296f88a969c59"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a></div><div class="ttdeci">void * MQTTClient</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:247</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a3078b3c824cc9753a57898072445c34d"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a3078b3c824cc9753a57898072445c34d">MQTTClient_SSLOptions::CApath</a></div><div class="ttdeci">const char * CApath</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:732</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a6174c42da8c55c86e7255be2848dc4ac"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a6174c42da8c55c86e7255be2848dc4ac">MQTTClient_message::msgid</a></div><div class="ttdeci">int msgid</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:325</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a0e20a7b350881d05108d6342884198a5"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a0e20a7b350881d05108d6342884198a5">MQTTClient_willOptions::topicName</a></div><div class="ttdeci">const char * topicName</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:632</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a7649e3913f9a216424d296f88a969c59"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a7649e3913f9a216424d296f88a969c59">MQTTClient</a></div><div class="ttdeci">void * MQTTClient</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:251</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a2a617c6b0492c04a4ddea592f5e53604"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a2a617c6b0492c04a4ddea592f5e53604">MQTTClient_getPendingDeliveryTokens</a></div><div class="ttdeci">int MQTTClient_getPendingDeliveryTokens(MQTTClient handle, MQTTClient_deliveryToken **tokens)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html"><div class="ttname"><a href="struct_m_q_t_t_response.html">MQTTResponse</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:998</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html"><div class="ttname"><a href="struct_m_q_t_t_response.html">MQTTResponse</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1024</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a50abbce720d50b9f84b97ff9fa1f546d"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a50abbce720d50b9f84b97ff9fa1f546d">MQTTClient_unsubscribeMany</a></div><div class="ttdeci">int MQTTClient_unsubscribeMany(MQTTClient handle, int count, char *const *topic)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a32b476382955289ce427112b59f21c3e"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a32b476382955289ce427112b59f21c3e">MQTTClient_SSLOptions::keyStore</a></div><div class="ttdeci">const char * keyStore</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:679</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a41108d4cccb67a9d6884ebae52211c46"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a41108d4cccb67a9d6884ebae52211c46">MQTTClient_disconnected</a></div><div class="ttdeci">void MQTTClient_disconnected(void *context, MQTTProperties *properties, enum MQTTReasonCodes reasonCode)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:442</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_message::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:273</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a32b476382955289ce427112b59f21c3e"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a32b476382955289ce427112b59f21c3e">MQTTClient_SSLOptions::keyStore</a></div><div class="ttdeci">const char * keyStore</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:691</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a41108d4cccb67a9d6884ebae52211c46"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a41108d4cccb67a9d6884ebae52211c46">MQTTClient_disconnected</a></div><div class="ttdeci">void MQTTClient_disconnected(void *context, MQTTProperties *properties, enum MQTTReasonCodes reasonCode)</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:446</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_message::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:277</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a362042ce973c012bad6a1aa3b5984f5d"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a362042ce973c012bad6a1aa3b5984f5d">MQTTClient_publishMessage5</a></div><div class="ttdeci">MQTTResponse MQTTClient_publishMessage5(MQTTClient handle, const char *topicName, MQTTClient_message *msg, MQTTClient_deliveryToken *dt)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a94900629685d5ed08f66fd2931f573ce"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a94900629685d5ed08f66fd2931f573ce">MQTTClient_SSLOptions::verify</a></div><div class="ttdeci">int verify</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:713</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_aba2dfcdfda80edcb531a5a7115d3e043"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#aba2dfcdfda80edcb531a5a7115d3e043">MQTTClient_connectOptions::username</a></div><div class="ttdeci">const char * username</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:874</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09ba38a4c3c4e2fc99711793ee2815aee40c"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba38a4c3c4e2fc99711793ee2815aee40c">MQTTCLIENT_TRACE_MAXIMUM</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_MAXIMUM</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1390</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a26f5d839c92f9772c2a5d05486277a42"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a26f5d839c92f9772c2a5d05486277a42">MQTTClient_SSLOptions::protos_len</a></div><div class="ttdeci">unsigned int protos_len</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:767</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09bacf029d9a231bd07e5e1a6f3bd0b6004e"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09bacf029d9a231bd07e5e1a6f3bd0b6004e">MQTTCLIENT_TRACE_MINIMUM</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_MINIMUM</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1392</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09b"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09b">MQTTCLIENT_TRACE_LEVELS</a></div><div class="ttdeci">MQTTCLIENT_TRACE_LEVELS</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1388</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a94900629685d5ed08f66fd2931f573ce"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a94900629685d5ed08f66fd2931f573ce">MQTTClient_SSLOptions::verify</a></div><div class="ttdeci">int verify</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:725</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_aba2dfcdfda80edcb531a5a7115d3e043"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#aba2dfcdfda80edcb531a5a7115d3e043">MQTTClient_connectOptions::username</a></div><div class="ttdeci">const char * username</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:892</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09ba38a4c3c4e2fc99711793ee2815aee40c"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09ba38a4c3c4e2fc99711793ee2815aee40c">MQTTCLIENT_TRACE_MAXIMUM</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_MAXIMUM</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1416</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a26f5d839c92f9772c2a5d05486277a42"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a26f5d839c92f9772c2a5d05486277a42">MQTTClient_SSLOptions::protos_len</a></div><div class="ttdeci">unsigned int protos_len</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:779</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09bacf029d9a231bd07e5e1a6f3bd0b6004e"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09bacf029d9a231bd07e5e1a6f3bd0b6004e">MQTTCLIENT_TRACE_MINIMUM</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_MINIMUM</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1418</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09b"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09b">MQTTCLIENT_TRACE_LEVELS</a></div><div class="ttdeci">MQTTCLIENT_TRACE_LEVELS</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1414</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a96067a2fb74d2a61c7e93015629548e0"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a96067a2fb74d2a61c7e93015629548e0">MQTTClient_setCommandTimeout</a></div><div class="ttdeci">int MQTTClient_setCommandTimeout(MQTTClient handle, unsigned long milliSeconds)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_subscribe__options_html"><div class="ttname"><a href="struct_m_q_t_t_subscribe__options.html">MQTTSubscribe_options</a></div><div class="ttdef"><b>Definition:</b> MQTTSubscribeOpts.h:21</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_abe842456c914ce9201d277a972cc085e"><div class="ttname"><a href="_m_q_t_t_client_8h.html#abe842456c914ce9201d277a972cc085e">MQTTClient_getVersionInfo</a></div><div class="ttdeci">MQTTClient_nameValue * MQTTClient_getVersionInfo(void)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_afed088663f8704004425cdae2120b9b3"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#afed088663f8704004425cdae2120b9b3">MQTTClient_connectOptions::len</a></div><div class="ttdeci">int len</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:938</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_afed088663f8704004425cdae2120b9b3"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#afed088663f8704004425cdae2120b9b3">MQTTClient_connectOptions::len</a></div><div class="ttdeci">int len</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:956</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_ae700c3f5cfea3813264ce95e7c8cf498"><div class="ttname"><a href="_m_q_t_t_client_8h.html#ae700c3f5cfea3813264ce95e7c8cf498">MQTTClient_destroy</a></div><div class="ttdeci">void MQTTClient_destroy(MQTTClient *handle)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html">MQTTClient_connectOptions</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:806</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html">MQTTClient_connectOptions</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:824</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_ace320b8a92c7087d9dd5cf242d50389d"><div class="ttname"><a href="_m_q_t_t_client_8h.html#ace320b8a92c7087d9dd5cf242d50389d">MQTTClient_publishMessage</a></div><div class="ttdeci">int MQTTClient_publishMessage(MQTTClient handle, const char *topicName, MQTTClient_message *msg, MQTTClient_deliveryToken *dt)</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aaa8ae61cd65c9dc0846df10122d7bd4e"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aaa8ae61cd65c9dc0846df10122d7bd4e">MQTTClient_connect</a></div><div class="ttdeci">int MQTTClient_connect(MQTTClient handle, MQTTClient_connectOptions *options)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_SSLOptions::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:671</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_SSLOptions::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:683</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_ade24f717a9b39d38b081e1d5e0db1661"><div class="ttname"><a href="_m_q_t_t_client_8h.html#ade24f717a9b39d38b081e1d5e0db1661">MQTTClient_createWithOptions</a></div><div class="ttdeci">int MQTTClient_createWithOptions(MQTTClient *handle, const char *serverURI, const char *clientId, int persistence_type, void *persistence_context, MQTTClient_createOptions *options)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__name_value_html"><div class="ttname"><a href="struct_m_q_t_t_client__name_value.html">MQTTClient_nameValue</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:779</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__name_value_html"><div class="ttname"><a href="struct_m_q_t_t_client__name_value.html">MQTTClient_nameValue</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:791</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a9f13911351a3de6b1ebdabd4cb4116ba"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a9f13911351a3de6b1ebdabd4cb4116ba">MQTTClient_setPublished</a></div><div class="ttdeci">int MQTTClient_setPublished(MQTTClient handle, void *context, MQTTClient_published *co)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_adc4cf3f551bb367858644559d69cfdf5"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#adc4cf3f551bb367858644559d69cfdf5">MQTTClient_message::dup</a></div><div class="ttdeci">int dup</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:317</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__message_html_adc4cf3f551bb367858644559d69cfdf5"><div class="ttname"><a href="struct_m_q_t_t_client__message.html#adc4cf3f551bb367858644559d69cfdf5">MQTTClient_message::dup</a></div><div class="ttdeci">int dup</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:321</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a5390c2402f135c12826ffbf6fc261f7c"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a5390c2402f135c12826ffbf6fc261f7c">MQTTClient_subscribeMany5</a></div><div class="ttdeci">MQTTResponse MQTTClient_subscribeMany5(MQTTClient handle, int count, char *const *topic, int *qos, MQTTSubscribe_options *opts, MQTTProperties *props)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a388b78d8a75658928238f700f207ad92"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a388b78d8a75658928238f700f207ad92">MQTTClient_connectOptions::httpsProxy</a></div><div class="ttdeci">const char * httpsProxy</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:960</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__init__options_html"><div class="ttname"><a href="struct_m_q_t_t_client__init__options.html">MQTTClient_init_options</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:225</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html_a2199c9d905dbfa279895cf8123c10f4f"><div class="ttname"><a href="struct_m_q_t_t_response.html#a2199c9d905dbfa279895cf8123c10f4f">MQTTResponse::reasonCodes</a></div><div class="ttdeci">enum MQTTReasonCodes * reasonCodes</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1003</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a75f6c13b7634e15f96dd9f17db6cf0be"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a75f6c13b7634e15f96dd9f17db6cf0be">MQTTClient_SSLOptions::enableServerCertAuth</a></div><div class="ttdeci">int enableServerCertAuth</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:700</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a388b78d8a75658928238f700f207ad92"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a388b78d8a75658928238f700f207ad92">MQTTClient_connectOptions::httpsProxy</a></div><div class="ttdeci">const char * httpsProxy</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:978</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__init__options_html"><div class="ttname"><a href="struct_m_q_t_t_client__init__options.html">MQTTClient_init_options</a></div><div class="ttdef"><b>Definition:</b> MQTTClient.h:229</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html_a2199c9d905dbfa279895cf8123c10f4f"><div class="ttname"><a href="struct_m_q_t_t_response.html#a2199c9d905dbfa279895cf8123c10f4f">MQTTResponse::reasonCodes</a></div><div class="ttdeci">enum MQTTReasonCodes * reasonCodes</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1029</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a75f6c13b7634e15f96dd9f17db6cf0be"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a75f6c13b7634e15f96dd9f17db6cf0be">MQTTClient_SSLOptions::enableServerCertAuth</a></div><div class="ttdeci">int enableServerCertAuth</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:712</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a46bdb532d2153110ccffb2f0748d1ba5"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a46bdb532d2153110ccffb2f0748d1ba5">MQTTClient_unsubscribeMany5</a></div><div class="ttdeci">MQTTResponse MQTTClient_unsubscribeMany5(MQTTClient handle, int count, char *const *topic, MQTTProperties *props)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a7dd436cbb916fba200595c3519f09ec4"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a7dd436cbb916fba200595c3519f09ec4">MQTTClient_SSLOptions::privateKey</a></div><div class="ttdeci">const char * privateKey</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:684</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09baf060569bdbb4015cfce028937b4cfa69"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09baf060569bdbb4015cfce028937b4cfa69">MQTTCLIENT_TRACE_SEVERE</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_SEVERE</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1395</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a7dd436cbb916fba200595c3519f09ec4"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a7dd436cbb916fba200595c3519f09ec4">MQTTClient_SSLOptions::privateKey</a></div><div class="ttdeci">const char * privateKey</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:696</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa0ae95caa9c16d152b5036b1bac2e09baf060569bdbb4015cfce028937b4cfa69"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa0ae95caa9c16d152b5036b1bac2e09baf060569bdbb4015cfce028937b4cfa69">MQTTCLIENT_TRACE_SEVERE</a></div><div class="ttdeci">@ MQTTCLIENT_TRACE_SEVERE</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1421</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a1e4d90c13a3c0705bc4a13bfe64e6525"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a1e4d90c13a3c0705bc4a13bfe64e6525">MQTTClient_disconnect</a></div><div class="ttdeci">int MQTTClient_disconnect(MQTTClient handle, int timeout)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html_ac97316626bd4faa6b71277c221275f4b"><div class="ttname"><a href="struct_m_q_t_t_response.html#ac97316626bd4faa6b71277c221275f4b">MQTTResponse::reasonCodeCount</a></div><div class="ttdeci">int reasonCodeCount</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1002</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a6a4904c112507a43e7dc8495b62cc0fc"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a6a4904c112507a43e7dc8495b62cc0fc">MQTTClient_willOptions::retained</a></div><div class="ttdeci">int retained</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:626</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a9f1cdffc99659fd4e2d20e6de3c64df0"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a9f1cdffc99659fd4e2d20e6de3c64df0">MQTTClient_connectOptions::reliable</a></div><div class="ttdeci">int reliable</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:862</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html_aad880fc4455c253781e8968f2239d56f"><div class="ttname"><a href="struct_m_q_t_t_response.html#aad880fc4455c253781e8968f2239d56f">MQTTResponse::version</a></div><div class="ttdeci">int version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1000</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a3543ea1481b68d73cdde833280bb9c45"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a3543ea1481b68d73cdde833280bb9c45">MQTTClient_SSLOptions::sslVersion</a></div><div class="ttdeci">int sslVersion</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:706</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html_ac97316626bd4faa6b71277c221275f4b"><div class="ttname"><a href="struct_m_q_t_t_response.html#ac97316626bd4faa6b71277c221275f4b">MQTTResponse::reasonCodeCount</a></div><div class="ttdeci">int reasonCodeCount</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1028</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_a6a4904c112507a43e7dc8495b62cc0fc"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#a6a4904c112507a43e7dc8495b62cc0fc">MQTTClient_willOptions::retained</a></div><div class="ttdeci">int retained</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:638</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a9f1cdffc99659fd4e2d20e6de3c64df0"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a9f1cdffc99659fd4e2d20e6de3c64df0">MQTTClient_connectOptions::reliable</a></div><div class="ttdeci">int reliable</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:880</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_response_html_aad880fc4455c253781e8968f2239d56f"><div class="ttname"><a href="struct_m_q_t_t_response.html#aad880fc4455c253781e8968f2239d56f">MQTTResponse::version</a></div><div class="ttdeci">int version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:1026</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_a3543ea1481b68d73cdde833280bb9c45"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#a3543ea1481b68d73cdde833280bb9c45">MQTTClient_SSLOptions::sslVersion</a></div><div class="ttdeci">int sslVersion</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:718</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_aa777f80cb3eec5610f976aff30b8c0d6"><div class="ttname"><a href="_m_q_t_t_client_8h.html#aa777f80cb3eec5610f976aff30b8c0d6">MQTTClient_connect5</a></div><div class="ttdeci">MQTTResponse MQTTClient_connect5(MQTTClient handle, MQTTClient_connectOptions *options, MQTTProperties *connectProperties, MQTTProperties *willProperties)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a036c36a2a4d3a3ffae9ab4dd8b3e7f7b"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a036c36a2a4d3a3ffae9ab4dd8b3e7f7b">MQTTClient_connectOptions::cleansession</a></div><div class="ttdeci">int cleansession</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:852</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__create_options_html_a12d546fd0ccf4e1091b18e1b735c7240"><div class="ttname"><a href="struct_m_q_t_t_client__create_options.html#a12d546fd0ccf4e1091b18e1b735c7240">MQTTClient_createOptions::MQTTVersion</a></div><div class="ttdeci">int MQTTVersion</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:547</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_aa683926d52134077f27d6dc67bda13ab"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#aa683926d52134077f27d6dc67bda13ab">MQTTClient_SSLOptions::enabledCipherSuites</a></div><div class="ttdeci">const char * enabledCipherSuites</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:697</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a036c36a2a4d3a3ffae9ab4dd8b3e7f7b"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a036c36a2a4d3a3ffae9ab4dd8b3e7f7b">MQTTClient_connectOptions::cleansession</a></div><div class="ttdeci">int cleansession</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:870</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__create_options_html_a12d546fd0ccf4e1091b18e1b735c7240"><div class="ttname"><a href="struct_m_q_t_t_client__create_options.html#a12d546fd0ccf4e1091b18e1b735c7240">MQTTClient_createOptions::MQTTVersion</a></div><div class="ttdeci">int MQTTVersion</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:559</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client___s_s_l_options_html_aa683926d52134077f27d6dc67bda13ab"><div class="ttname"><a href="struct_m_q_t_t_client___s_s_l_options.html#aa683926d52134077f27d6dc67bda13ab">MQTTClient_SSLOptions::enabledCipherSuites</a></div><div class="ttdeci">const char * enabledCipherSuites</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:709</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_persistence_8h_html"><div class="ttname"><a href="_m_q_t_t_client_persistence_8h.html">MQTTClientPersistence.h</a></div><div class="ttdoc">This structure represents a persistent data store, used to store outbound and inbound messages,...</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_add124780ab2de397a96780576c2f112c"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#add124780ab2de397a96780576c2f112c">MQTTClient_connectOptions::httpProxy</a></div><div class="ttdeci">const char * httpProxy</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:956</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_add124780ab2de397a96780576c2f112c"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#add124780ab2de397a96780576c2f112c">MQTTClient_connectOptions::httpProxy</a></div><div class="ttdeci">const char * httpProxy</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:974</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a1762c469715b7f718c4e63a427e6c13c"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a1762c469715b7f718c4e63a427e6c13c">MQTTClient_disconnect5</a></div><div class="ttdeci">int MQTTClient_disconnect5(MQTTClient handle, int timeout, enum MQTTReasonCodes reason, MQTTProperties *props)</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a8a0b0f0fc7c675312dc232e2458078c7"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a8a0b0f0fc7c675312dc232e2458078c7">MQTTClient_connectOptions::ssl</a></div><div class="ttdeci">MQTTClient_SSLOptions * ssl</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:897</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__init__options_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client__init__options.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_init_options::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:230</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a8a0b0f0fc7c675312dc232e2458078c7"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a8a0b0f0fc7c675312dc232e2458078c7">MQTTClient_connectOptions::ssl</a></div><div class="ttdeci">MQTTClient_SSLOptions * ssl</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:915</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__init__options_html_a0761a5e5be0383882e42924de8e51f82"><div class="ttname"><a href="struct_m_q_t_t_client__init__options.html#a0761a5e5be0383882e42924de8e51f82">MQTTClient_init_options::struct_version</a></div><div class="ttdeci">int struct_version</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:234</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a203b545c999beb6b825ec99b6aea79ab"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a203b545c999beb6b825ec99b6aea79ab">MQTTClient_free</a></div><div class="ttdeci">void MQTTClient_free(void *ptr)</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a6e8231e8c47f6f67f7ebbb5dcb4c69c0"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a6e8231e8c47f6f67f7ebbb5dcb4c69c0">MQTTClient_isConnected</a></div><div class="ttdeci">int MQTTClient_isConnected(MQTTClient handle)</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_reason_codes_8h_html_aba6db0fccfa3f8972ea48117b8b2a279"><div class="ttname"><a href="_m_q_t_t_reason_codes_8h.html#aba6db0fccfa3f8972ea48117b8b2a279">MQTTReasonCodes</a></div><div class="ttdeci">MQTTReasonCodes</div><div class="ttdef"><b>Definition:</b> MQTTReasonCodes.h:23</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_afed088663f8704004425cdae2120b9b3"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#afed088663f8704004425cdae2120b9b3">MQTTClient_willOptions::len</a></div><div class="ttdeci">int len</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:635</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a38c6aa24b36d981c49405db425c24db0"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a38c6aa24b36d981c49405db425c24db0">MQTTClient_connectOptions::connectTimeout</a></div><div class="ttdeci">int connectTimeout</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:884</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__will_options_html_afed088663f8704004425cdae2120b9b3"><div class="ttname"><a href="struct_m_q_t_t_client__will_options.html#afed088663f8704004425cdae2120b9b3">MQTTClient_willOptions::len</a></div><div class="ttdeci">int len</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:647</div></div>
|
|
|
|
|
<div class="ttc" id="astruct_m_q_t_t_client__connect_options_html_a38c6aa24b36d981c49405db425c24db0"><div class="ttname"><a href="struct_m_q_t_t_client__connect_options.html#a38c6aa24b36d981c49405db425c24db0">MQTTClient_connectOptions::connectTimeout</a></div><div class="ttdeci">int connectTimeout</div><div class="ttdef"><b>Definition:</b> MQTTClient.h:902</div></div>
|
|
|
|
|
<div class="ttc" id="a_m_q_t_t_client_8h_html_a9a0518d9ca924d12c1329dbe3de5f2b6"><div class="ttname"><a href="_m_q_t_t_client_8h.html#a9a0518d9ca924d12c1329dbe3de5f2b6">MQTTClient_create</a></div><div class="ttdeci">int MQTTClient_create(MQTTClient *handle, const char *serverURI, const char *clientId, int persistence_type, void *persistence_context)</div></div>
|
|
|
|
|
<!-- start footer part -->
|
|
|
|
|
<hr class="footer"/><address class="footer"><small>
|
|
|
|
|
Generated on Mon Mar 28 2022 12:36:40 for Paho MQTT C Client Library by  <a href="http://www.doxygen.org/index.html">
|
|
|
|
|
Generated on Thu Sep 29 2022 11:34:45 for Paho MQTT C Client Library by  <a href="http://www.doxygen.org/index.html">
|
|
|
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
|
|
|
</a> 1.8.17
|
|
|
|
|
</small></address>
|
|
|
|
|
|