structMQTTAsync__connectOptions.html 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.17"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>MQTT C Client Libraries Internals: MQTTAsync_connectOptions Struct Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectlogo"><img alt="Logo" src="pahologo.png"/></td>
  24. <td id="projectalign" style="padding-left: 0.5em;">
  25. <div id="projectname">MQTT C Client Libraries Internals
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.17 -->
  34. <script type="text/javascript">
  35. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. /* @license-end */
  38. </script>
  39. <script type="text/javascript" src="menudata.js"></script>
  40. <script type="text/javascript" src="menu.js"></script>
  41. <script type="text/javascript">
  42. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  43. $(function() {
  44. initMenu('',true,false,'search.php','Search');
  45. $(document).ready(function() { init_search(); });
  46. });
  47. /* @license-end */</script>
  48. <div id="main-nav"></div>
  49. <!-- window showing the filter options -->
  50. <div id="MSearchSelectWindow"
  51. onmouseover="return searchBox.OnSearchSelectShow()"
  52. onmouseout="return searchBox.OnSearchSelectHide()"
  53. onkeydown="return searchBox.OnSearchSelectKey(event)">
  54. </div>
  55. <!-- iframe showing the search results (closed by default) -->
  56. <div id="MSearchResultsWindow">
  57. <iframe src="javascript:void(0)" frameborder="0"
  58. name="MSearchResults" id="MSearchResults">
  59. </iframe>
  60. </div>
  61. </div><!-- top -->
  62. <div class="header">
  63. <div class="summary">
  64. <a href="#pub-attribs">Data Fields</a> </div>
  65. <div class="headertitle">
  66. <div class="title">MQTTAsync_connectOptions Struct Reference</div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <p><a class="el" href="structMQTTAsync__connectOptions.html" title="MQTTAsync_connectOptions defines several settings that control the way the client connects to an MQTT...">MQTTAsync_connectOptions</a> defines several settings that control the way the client connects to an MQTT server.
  70. <a href="structMQTTAsync__connectOptions.html#details">More...</a></p>
  71. <p><code>#include &lt;MQTTAsync.h&gt;</code></p>
  72. <div class="dynheader">
  73. Collaboration diagram for MQTTAsync_connectOptions:</div>
  74. <div class="dyncontent">
  75. <div class="center"><img src="structMQTTAsync__connectOptions__coll__graph.png" border="0" usemap="#MQTTAsync__connectOptions_coll__map" alt="Collaboration graph"/></div>
  76. <map name="MQTTAsync__connectOptions_coll__map" id="MQTTAsync__connectOptions_coll__map">
  77. <area shape="rect" title="MQTTAsync_connectOptions defines several settings that control the way the client connects to an MQTT..." alt="" coords="251,303,444,329"/>
  78. <area shape="rect" href="structMQTTAsync__willOptions.html" title="MQTTAsync_willOptions defines the MQTT &quot;Last Will and Testament&quot; (LWT) settings for the client." alt="" coords="5,199,172,225"/>
  79. <area shape="rect" href="structMQTTAsync__nameValue.html" title="Utility structure where name/value pairs are needed." alt="" coords="196,199,363,225"/>
  80. <area shape="rect" href="structMQTTProperties.html" title="MQTT version 5 property list." alt="" coords="387,199,505,225"/>
  81. <area shape="rect" href="structMQTTProperty.html" title="Structure to hold an MQTT version 5 property of any type." alt="" coords="393,109,499,136"/>
  82. <area shape="rect" href="structMQTTLenString.html" title="The data for a length delimited string." alt="" coords="389,5,503,32"/>
  83. <area shape="rect" href="structMQTTAsync__SSLOptions.html" title="MQTTAsync_sslProperties defines the settings to establish an SSL/TLS connection using the OpenSSL lib..." alt="" coords="530,199,703,225"/>
  84. </map>
  85. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  86. <table class="memberdecls">
  87. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  88. Data Fields</h2></td></tr>
  89. <tr class="memitem:ae6831f945c1353cd1fce5d94a5d0f54d"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#ae6831f945c1353cd1fce5d94a5d0f54d">struct_id</a> [4]</td></tr>
  90. <tr class="memdesc:ae6831f945c1353cd1fce5d94a5d0f54d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The eyecatcher for this structure. <a href="structMQTTAsync__connectOptions.html#ae6831f945c1353cd1fce5d94a5d0f54d">More...</a><br /></td></tr>
  91. <tr class="separator:ae6831f945c1353cd1fce5d94a5d0f54d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. <tr class="memitem:a013018a3b17149d482051a1be78ac984"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a013018a3b17149d482051a1be78ac984">struct_version</a></td></tr>
  93. <tr class="memdesc:a013018a3b17149d482051a1be78ac984"><td class="mdescLeft">&#160;</td><td class="mdescRight">The version number of this structure. <a href="structMQTTAsync__connectOptions.html#a013018a3b17149d482051a1be78ac984">More...</a><br /></td></tr>
  94. <tr class="separator:a013018a3b17149d482051a1be78ac984"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <tr class="memitem:ad6ed277d7db13a98ecef45ff3dd10044"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#ad6ed277d7db13a98ecef45ff3dd10044">keepAliveInterval</a></td></tr>
  96. <tr class="memdesc:ad6ed277d7db13a98ecef45ff3dd10044"><td class="mdescLeft">&#160;</td><td class="mdescRight">The "keep alive" interval, measured in seconds, defines the maximum time that should pass without communication between the client and the server The client will ensure that at least one message travels across the network within each keep alive period. <a href="structMQTTAsync__connectOptions.html#ad6ed277d7db13a98ecef45ff3dd10044">More...</a><br /></td></tr>
  97. <tr class="separator:ad6ed277d7db13a98ecef45ff3dd10044"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:ac4addd2c4614cfc12c9dd7e199a989ff"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#ac4addd2c4614cfc12c9dd7e199a989ff">cleansession</a></td></tr>
  99. <tr class="memdesc:ac4addd2c4614cfc12c9dd7e199a989ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a boolean value. <a href="structMQTTAsync__connectOptions.html#ac4addd2c4614cfc12c9dd7e199a989ff">More...</a><br /></td></tr>
  100. <tr class="separator:ac4addd2c4614cfc12c9dd7e199a989ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:afbcfee31a89fb634456290f22c4e32da"><td class="memItemLeft" align="right" valign="top"><a id="afbcfee31a89fb634456290f22c4e32da"></a>
  102. int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#afbcfee31a89fb634456290f22c4e32da">maxInflight</a></td></tr>
  103. <tr class="memdesc:afbcfee31a89fb634456290f22c4e32da"><td class="mdescLeft">&#160;</td><td class="mdescRight">This controls how many messages can be in-flight simultaneously. <br /></td></tr>
  104. <tr class="separator:afbcfee31a89fb634456290f22c4e32da"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:a2190db10b854d016a291ccb378c3eda2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMQTTAsync__willOptions.html">MQTTAsync_willOptions</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a2190db10b854d016a291ccb378c3eda2">will</a></td></tr>
  106. <tr class="memdesc:a2190db10b854d016a291ccb378c3eda2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a pointer to an <a class="el" href="structMQTTAsync__willOptions.html" title="MQTTAsync_willOptions defines the MQTT &quot;Last Will and Testament&quot; (LWT) settings for the client.">MQTTAsync_willOptions</a> structure. <a href="structMQTTAsync__connectOptions.html#a2190db10b854d016a291ccb378c3eda2">More...</a><br /></td></tr>
  107. <tr class="separator:a2190db10b854d016a291ccb378c3eda2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:ae03dec50fd54f49582e50883072ea81e"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#ae03dec50fd54f49582e50883072ea81e">username</a></td></tr>
  109. <tr class="memdesc:ae03dec50fd54f49582e50883072ea81e"><td class="mdescLeft">&#160;</td><td class="mdescRight">MQTT servers that support the MQTT v3.1 protocol provide authentication and authorisation by user name and password. <a href="structMQTTAsync__connectOptions.html#ae03dec50fd54f49582e50883072ea81e">More...</a><br /></td></tr>
  110. <tr class="separator:ae03dec50fd54f49582e50883072ea81e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a52a773222e567d8480c85b6a27bf36f2"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a52a773222e567d8480c85b6a27bf36f2">password</a></td></tr>
  112. <tr class="memdesc:a52a773222e567d8480c85b6a27bf36f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">MQTT servers that support the MQTT v3.1 protocol provide authentication and authorisation by user name and password. <a href="structMQTTAsync__connectOptions.html#a52a773222e567d8480c85b6a27bf36f2">More...</a><br /></td></tr>
  113. <tr class="separator:a52a773222e567d8480c85b6a27bf36f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a0f2fb050e48f46332523fe1e48c04980"><td class="memItemLeft" align="right" valign="top"><a id="a0f2fb050e48f46332523fe1e48c04980"></a>
  115. int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a0f2fb050e48f46332523fe1e48c04980">connectTimeout</a></td></tr>
  116. <tr class="memdesc:a0f2fb050e48f46332523fe1e48c04980"><td class="mdescLeft">&#160;</td><td class="mdescRight">The time interval in seconds to allow a connect to complete. <br /></td></tr>
  117. <tr class="separator:a0f2fb050e48f46332523fe1e48c04980"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a7f4026dad0479c6658aac68d719950a1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a7f4026dad0479c6658aac68d719950a1">retryInterval</a></td></tr>
  119. <tr class="memdesc:a7f4026dad0479c6658aac68d719950a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">The time interval in seconds after which unacknowledged publish requests are retried during a TCP session. <a href="structMQTTAsync__connectOptions.html#a7f4026dad0479c6658aac68d719950a1">More...</a><br /></td></tr>
  120. <tr class="separator:a7f4026dad0479c6658aac68d719950a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a04c88f4a4aba7ca2cfbd9ee5455f0850"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMQTTAsync__SSLOptions.html">MQTTAsync_SSLOptions</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a04c88f4a4aba7ca2cfbd9ee5455f0850">ssl</a></td></tr>
  122. <tr class="memdesc:a04c88f4a4aba7ca2cfbd9ee5455f0850"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a pointer to an <a class="el" href="structMQTTAsync__SSLOptions.html" title="MQTTAsync_sslProperties defines the settings to establish an SSL/TLS connection using the OpenSSL lib...">MQTTAsync_SSLOptions</a> structure. <a href="structMQTTAsync__connectOptions.html#a04c88f4a4aba7ca2cfbd9ee5455f0850">More...</a><br /></td></tr>
  123. <tr class="separator:a04c88f4a4aba7ca2cfbd9ee5455f0850"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a99c3f6fd2c5238112a6ae90ce1013f10"><td class="memItemLeft" align="right" valign="top">MQTTAsync_onSuccess *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a99c3f6fd2c5238112a6ae90ce1013f10">onSuccess</a></td></tr>
  125. <tr class="memdesc:a99c3f6fd2c5238112a6ae90ce1013f10"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to a callback function to be called if the connect successfully completes. <a href="structMQTTAsync__connectOptions.html#a99c3f6fd2c5238112a6ae90ce1013f10">More...</a><br /></td></tr>
  126. <tr class="separator:a99c3f6fd2c5238112a6ae90ce1013f10"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a703d2a77602f3737eccf5123e16bb428"><td class="memItemLeft" align="right" valign="top">MQTTAsync_onFailure *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a703d2a77602f3737eccf5123e16bb428">onFailure</a></td></tr>
  128. <tr class="memdesc:a703d2a77602f3737eccf5123e16bb428"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to a callback function to be called if the connect fails. <a href="structMQTTAsync__connectOptions.html#a703d2a77602f3737eccf5123e16bb428">More...</a><br /></td></tr>
  129. <tr class="separator:a703d2a77602f3737eccf5123e16bb428"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:ab1def8c5155a84603d6827664d59537c"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#ab1def8c5155a84603d6827664d59537c">context</a></td></tr>
  131. <tr class="separator:ab1def8c5155a84603d6827664d59537c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:ae772aa4b3707c5c11d6be39f51ec4551"><td class="memItemLeft" align="right" valign="top"><a id="ae772aa4b3707c5c11d6be39f51ec4551"></a>
  133. int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#ae772aa4b3707c5c11d6be39f51ec4551">serverURIcount</a></td></tr>
  134. <tr class="memdesc:ae772aa4b3707c5c11d6be39f51ec4551"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of entries in the serverURIs array. <br /></td></tr>
  135. <tr class="separator:ae772aa4b3707c5c11d6be39f51ec4551"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:a50f0a294c8f7311ccd7f7803b432bb69"><td class="memItemLeft" align="right" valign="top">char *const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a50f0a294c8f7311ccd7f7803b432bb69">serverURIs</a></td></tr>
  137. <tr class="separator:a50f0a294c8f7311ccd7f7803b432bb69"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a03bb9a21cbbd0f9a2258204c1890ca40"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a03bb9a21cbbd0f9a2258204c1890ca40">MQTTVersion</a></td></tr>
  139. <tr class="memdesc:a03bb9a21cbbd0f9a2258204c1890ca40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the version of MQTT to be used on the connect. <a href="structMQTTAsync__connectOptions.html#a03bb9a21cbbd0f9a2258204c1890ca40">More...</a><br /></td></tr>
  140. <tr class="separator:a03bb9a21cbbd0f9a2258204c1890ca40"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:acc2d253ca78b0c32813dbdc24b0c5f7a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#acc2d253ca78b0c32813dbdc24b0c5f7a">automaticReconnect</a></td></tr>
  142. <tr class="memdesc:acc2d253ca78b0c32813dbdc24b0c5f7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reconnect automatically in the case of a connection being lost. <a href="structMQTTAsync__connectOptions.html#acc2d253ca78b0c32813dbdc24b0c5f7a">More...</a><br /></td></tr>
  143. <tr class="separator:acc2d253ca78b0c32813dbdc24b0c5f7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:a60bb7a0c6afaaff456f7fa4f18c84b66"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a60bb7a0c6afaaff456f7fa4f18c84b66">minRetryInterval</a></td></tr>
  145. <tr class="memdesc:a60bb7a0c6afaaff456f7fa4f18c84b66"><td class="mdescLeft">&#160;</td><td class="mdescRight">The minimum automatic reconnect retry interval in seconds. <a href="structMQTTAsync__connectOptions.html#a60bb7a0c6afaaff456f7fa4f18c84b66">More...</a><br /></td></tr>
  146. <tr class="separator:a60bb7a0c6afaaff456f7fa4f18c84b66"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a7d1e6443a9050f3e54b02dfa6854feb4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a7d1e6443a9050f3e54b02dfa6854feb4">maxRetryInterval</a></td></tr>
  148. <tr class="memdesc:a7d1e6443a9050f3e54b02dfa6854feb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum automatic reconnect retry interval in seconds. <a href="structMQTTAsync__connectOptions.html#a7d1e6443a9050f3e54b02dfa6854feb4">More...</a><br /></td></tr>
  149. <tr class="separator:a7d1e6443a9050f3e54b02dfa6854feb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a71b40f4b4aeb26270f4d5df001656d41"><td class="memItemLeft" >struct {</td></tr>
  151. <tr class="memitem:a1ec032939209d08ec51b47db40c8f886"><td class="memItemLeft" >
  152. &#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structMQTTAsync__connectOptions.html#ac6d0d8d8e9c2f55f24b3219c18886be5">len</a></td></tr>
  153. <tr class="memdesc:a1ec032939209d08ec51b47db40c8f886"><td class="mdescLeft">&#160;</td><td class="mdescRight">binary password length <br /></td></tr>
  154. <tr class="separator:a1ec032939209d08ec51b47db40c8f886"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:a91488d08b28d3629f7cc3cfdc5456451"><td class="memItemLeft" >
  156. &#160;&#160;&#160;const void *&#160;&#160;&#160;<a class="el" href="structMQTTAsync__connectOptions.html#aad75b20bff67aa3462602fe41465931a">data</a></td></tr>
  157. <tr class="memdesc:a91488d08b28d3629f7cc3cfdc5456451"><td class="mdescLeft">&#160;</td><td class="mdescRight">binary password data <br /></td></tr>
  158. <tr class="separator:a91488d08b28d3629f7cc3cfdc5456451"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:a71b40f4b4aeb26270f4d5df001656d41"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a71b40f4b4aeb26270f4d5df001656d41">binarypwd</a></td></tr>
  160. <tr class="memdesc:a71b40f4b4aeb26270f4d5df001656d41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Optional binary password. <a href="structMQTTAsync__connectOptions.html#a71b40f4b4aeb26270f4d5df001656d41">More...</a><br /></td></tr>
  161. <tr class="separator:a71b40f4b4aeb26270f4d5df001656d41"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:ab3c1882ece3316a5cd83e18e02d41b5f"><td class="memItemLeft" align="right" valign="top"><a id="ab3c1882ece3316a5cd83e18e02d41b5f"></a>
  163. int&#160;</td><td class="memItemRight" valign="bottom"><b>cleanstart</b></td></tr>
  164. <tr class="separator:ab3c1882ece3316a5cd83e18e02d41b5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:ad10d2f263a6802ec6a3a74e0cf9a7453"><td class="memItemLeft" align="right" valign="top"><a id="ad10d2f263a6802ec6a3a74e0cf9a7453"></a>
  166. <a class="el" href="structMQTTProperties.html">MQTTProperties</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#ad10d2f263a6802ec6a3a74e0cf9a7453">connectProperties</a></td></tr>
  167. <tr class="memdesc:ad10d2f263a6802ec6a3a74e0cf9a7453"><td class="mdescLeft">&#160;</td><td class="mdescRight">MQTT V5 properties for connect. <br /></td></tr>
  168. <tr class="separator:ad10d2f263a6802ec6a3a74e0cf9a7453"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="memitem:ab72dbcdcff60e5dd79ac8fcea0e31478"><td class="memItemLeft" align="right" valign="top"><a id="ab72dbcdcff60e5dd79ac8fcea0e31478"></a>
  170. <a class="el" href="structMQTTProperties.html">MQTTProperties</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#ab72dbcdcff60e5dd79ac8fcea0e31478">willProperties</a></td></tr>
  171. <tr class="memdesc:ab72dbcdcff60e5dd79ac8fcea0e31478"><td class="mdescLeft">&#160;</td><td class="mdescRight">MQTT V5 properties for the will message in the connect. <br /></td></tr>
  172. <tr class="separator:ab72dbcdcff60e5dd79ac8fcea0e31478"><td class="memSeparator" colspan="2">&#160;</td></tr>
  173. <tr class="memitem:af108a647db655523e892938d3a67d6b4"><td class="memItemLeft" align="right" valign="top">MQTTAsync_onSuccess5 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#af108a647db655523e892938d3a67d6b4">onSuccess5</a></td></tr>
  174. <tr class="memdesc:af108a647db655523e892938d3a67d6b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to a callback function to be called if the connect successfully completes. <a href="structMQTTAsync__connectOptions.html#af108a647db655523e892938d3a67d6b4">More...</a><br /></td></tr>
  175. <tr class="separator:af108a647db655523e892938d3a67d6b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:a48bd502d8028bb13afbce0793ebe3c76"><td class="memItemLeft" align="right" valign="top">MQTTAsync_onFailure5 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a48bd502d8028bb13afbce0793ebe3c76">onFailure5</a></td></tr>
  177. <tr class="memdesc:a48bd502d8028bb13afbce0793ebe3c76"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to a callback function to be called if the connect fails. <a href="structMQTTAsync__connectOptions.html#a48bd502d8028bb13afbce0793ebe3c76">More...</a><br /></td></tr>
  178. <tr class="separator:a48bd502d8028bb13afbce0793ebe3c76"><td class="memSeparator" colspan="2">&#160;</td></tr>
  179. <tr class="memitem:a804e7ee013338a83a6f573f6644829ca"><td class="memItemLeft" align="right" valign="top"><a id="a804e7ee013338a83a6f573f6644829ca"></a>
  180. const <a class="el" href="structMQTTAsync__nameValue.html">MQTTAsync_nameValue</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a804e7ee013338a83a6f573f6644829ca">httpHeaders</a></td></tr>
  181. <tr class="memdesc:a804e7ee013338a83a6f573f6644829ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP headers for websockets. <br /></td></tr>
  182. <tr class="separator:a804e7ee013338a83a6f573f6644829ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
  183. <tr class="memitem:a2290cec827700b22efca37ea4bce3abd"><td class="memItemLeft" align="right" valign="top"><a id="a2290cec827700b22efca37ea4bce3abd"></a>
  184. const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#a2290cec827700b22efca37ea4bce3abd">httpProxy</a></td></tr>
  185. <tr class="memdesc:a2290cec827700b22efca37ea4bce3abd"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP proxy. <br /></td></tr>
  186. <tr class="separator:a2290cec827700b22efca37ea4bce3abd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  187. <tr class="memitem:ad4937ddf0e089fb0e0e054ae3a3aea55"><td class="memItemLeft" align="right" valign="top"><a id="ad4937ddf0e089fb0e0e054ae3a3aea55"></a>
  188. const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__connectOptions.html#ad4937ddf0e089fb0e0e054ae3a3aea55">httpsProxy</a></td></tr>
  189. <tr class="memdesc:ad4937ddf0e089fb0e0e054ae3a3aea55"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTPS proxy. <br /></td></tr>
  190. <tr class="separator:ad4937ddf0e089fb0e0e054ae3a3aea55"><td class="memSeparator" colspan="2">&#160;</td></tr>
  191. </table>
  192. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  193. <div class="textblock"><p><a class="el" href="structMQTTAsync__connectOptions.html" title="MQTTAsync_connectOptions defines several settings that control the way the client connects to an MQTT...">MQTTAsync_connectOptions</a> defines several settings that control the way the client connects to an MQTT server. </p>
  194. <p>Suitable default values are set in the following initializers:</p><ul>
  195. <li>MQTTAsync_connectOptions_initializer: for MQTT 3.1.1 non-WebSockets</li>
  196. <li>MQTTAsync_connectOptions_initializer5: for MQTT 5.0 non-WebSockets</li>
  197. <li>MQTTAsync_connectOptions_initializer_ws: for MQTT 3.1.1 WebSockets</li>
  198. <li>MQTTAsync_connectOptions_initializer5_ws: for MQTT 5.0 WebSockets </li>
  199. </ul>
  200. </div><h2 class="groupheader">Field Documentation</h2>
  201. <a id="acc2d253ca78b0c32813dbdc24b0c5f7a"></a>
  202. <h2 class="memtitle"><span class="permalink"><a href="#acc2d253ca78b0c32813dbdc24b0c5f7a">&#9670;&nbsp;</a></span>automaticReconnect</h2>
  203. <div class="memitem">
  204. <div class="memproto">
  205. <table class="memname">
  206. <tr>
  207. <td class="memname">int MQTTAsync_connectOptions::automaticReconnect</td>
  208. </tr>
  209. </table>
  210. </div><div class="memdoc">
  211. <p>Reconnect automatically in the case of a connection being lost. </p>
  212. <p>0=false, 1=true </p>
  213. </div>
  214. </div>
  215. <a id="a71b40f4b4aeb26270f4d5df001656d41"></a>
  216. <h2 class="memtitle"><span class="permalink"><a href="#a71b40f4b4aeb26270f4d5df001656d41">&#9670;&nbsp;</a></span>binarypwd</h2>
  217. <div class="memitem">
  218. <div class="memproto">
  219. <table class="memname">
  220. <tr>
  221. <td class="memname">struct { ... } MQTTAsync_connectOptions::binarypwd</td>
  222. </tr>
  223. </table>
  224. </div><div class="memdoc">
  225. <p>Optional binary password. </p>
  226. <p>Only checked and used if the password option is NULL </p>
  227. </div>
  228. </div>
  229. <a id="ac4addd2c4614cfc12c9dd7e199a989ff"></a>
  230. <h2 class="memtitle"><span class="permalink"><a href="#ac4addd2c4614cfc12c9dd7e199a989ff">&#9670;&nbsp;</a></span>cleansession</h2>
  231. <div class="memitem">
  232. <div class="memproto">
  233. <table class="memname">
  234. <tr>
  235. <td class="memname">int MQTTAsync_connectOptions::cleansession</td>
  236. </tr>
  237. </table>
  238. </div><div class="memdoc">
  239. <p>This is a boolean value. </p>
  240. <p>The cleansession setting controls the behaviour of both the client and the server at connection and disconnection time. The client and server both maintain session state information. This information is used to ensure "at least once" and "exactly once" delivery, and "exactly once" receipt of messages. Session state also includes subscriptions created by an MQTT client. You can choose to maintain or discard state information between sessions.</p>
  241. <p>When cleansession is true, the state information is discarded at connect and disconnect. Setting cleansession to false keeps the state information. When you connect an MQTT client application with MQTTAsync_connect(), the client identifies the connection using the client identifier and the address of the server. The server checks whether session information for this client has been saved from a previous connection to the server. If a previous session still exists, and cleansession=true, then the previous session information at the client and server is cleared. If cleansession=false, the previous session is resumed. If no previous session exists, a new session is started. </p>
  242. </div>
  243. </div>
  244. <a id="ab1def8c5155a84603d6827664d59537c"></a>
  245. <h2 class="memtitle"><span class="permalink"><a href="#ab1def8c5155a84603d6827664d59537c">&#9670;&nbsp;</a></span>context</h2>
  246. <div class="memitem">
  247. <div class="memproto">
  248. <table class="memname">
  249. <tr>
  250. <td class="memname">void* MQTTAsync_connectOptions::context</td>
  251. </tr>
  252. </table>
  253. </div><div class="memdoc">
  254. <pre class="fragment">A pointer to any application-specific context. The
  255. </pre><p> the <em>context</em> pointer is passed to success or failure callback functions to provide access to the context information in the callback. </p>
  256. </div>
  257. </div>
  258. <a id="ad6ed277d7db13a98ecef45ff3dd10044"></a>
  259. <h2 class="memtitle"><span class="permalink"><a href="#ad6ed277d7db13a98ecef45ff3dd10044">&#9670;&nbsp;</a></span>keepAliveInterval</h2>
  260. <div class="memitem">
  261. <div class="memproto">
  262. <table class="memname">
  263. <tr>
  264. <td class="memname">int MQTTAsync_connectOptions::keepAliveInterval</td>
  265. </tr>
  266. </table>
  267. </div><div class="memdoc">
  268. <p>The "keep alive" interval, measured in seconds, defines the maximum time that should pass without communication between the client and the server The client will ensure that at least one message travels across the network within each keep alive period. </p>
  269. <p>In the absence of a data-related message during the time period, the client sends a very small MQTT "ping" message, which the server will acknowledge. The keep alive interval enables the client to detect when the server is no longer available without having to wait for the long TCP/IP timeout. Set to 0 if you do not want any keep alive processing. </p>
  270. </div>
  271. </div>
  272. <a id="a7d1e6443a9050f3e54b02dfa6854feb4"></a>
  273. <h2 class="memtitle"><span class="permalink"><a href="#a7d1e6443a9050f3e54b02dfa6854feb4">&#9670;&nbsp;</a></span>maxRetryInterval</h2>
  274. <div class="memitem">
  275. <div class="memproto">
  276. <table class="memname">
  277. <tr>
  278. <td class="memname">int MQTTAsync_connectOptions::maxRetryInterval</td>
  279. </tr>
  280. </table>
  281. </div><div class="memdoc">
  282. <p>The maximum automatic reconnect retry interval in seconds. </p>
  283. <p>The doubling stops here on failed retries. </p>
  284. </div>
  285. </div>
  286. <a id="a60bb7a0c6afaaff456f7fa4f18c84b66"></a>
  287. <h2 class="memtitle"><span class="permalink"><a href="#a60bb7a0c6afaaff456f7fa4f18c84b66">&#9670;&nbsp;</a></span>minRetryInterval</h2>
  288. <div class="memitem">
  289. <div class="memproto">
  290. <table class="memname">
  291. <tr>
  292. <td class="memname">int MQTTAsync_connectOptions::minRetryInterval</td>
  293. </tr>
  294. </table>
  295. </div><div class="memdoc">
  296. <p>The minimum automatic reconnect retry interval in seconds. </p>
  297. <p>Doubled on each failed retry. </p>
  298. </div>
  299. </div>
  300. <a id="a03bb9a21cbbd0f9a2258204c1890ca40"></a>
  301. <h2 class="memtitle"><span class="permalink"><a href="#a03bb9a21cbbd0f9a2258204c1890ca40">&#9670;&nbsp;</a></span>MQTTVersion</h2>
  302. <div class="memitem">
  303. <div class="memproto">
  304. <table class="memname">
  305. <tr>
  306. <td class="memname">int MQTTAsync_connectOptions::MQTTVersion</td>
  307. </tr>
  308. </table>
  309. </div><div class="memdoc">
  310. <p>Sets the version of MQTT to be used on the connect. </p>
  311. <p>MQTTVERSION_DEFAULT (0) = default: start with 3.1.1, and if that fails, fall back to 3.1 MQTTVERSION_3_1 (3) = only try version 3.1 MQTTVERSION_3_1_1 (4) = only try version 3.1.1 </p>
  312. </div>
  313. </div>
  314. <a id="a703d2a77602f3737eccf5123e16bb428"></a>
  315. <h2 class="memtitle"><span class="permalink"><a href="#a703d2a77602f3737eccf5123e16bb428">&#9670;&nbsp;</a></span>onFailure</h2>
  316. <div class="memitem">
  317. <div class="memproto">
  318. <table class="memname">
  319. <tr>
  320. <td class="memname">MQTTAsync_onFailure* MQTTAsync_connectOptions::onFailure</td>
  321. </tr>
  322. </table>
  323. </div><div class="memdoc">
  324. <p>A pointer to a callback function to be called if the connect fails. </p>
  325. <p>Can be set to NULL, in which case no indication of unsuccessful completion will be received. </p>
  326. </div>
  327. </div>
  328. <a id="a48bd502d8028bb13afbce0793ebe3c76"></a>
  329. <h2 class="memtitle"><span class="permalink"><a href="#a48bd502d8028bb13afbce0793ebe3c76">&#9670;&nbsp;</a></span>onFailure5</h2>
  330. <div class="memitem">
  331. <div class="memproto">
  332. <table class="memname">
  333. <tr>
  334. <td class="memname">MQTTAsync_onFailure5* MQTTAsync_connectOptions::onFailure5</td>
  335. </tr>
  336. </table>
  337. </div><div class="memdoc">
  338. <p>A pointer to a callback function to be called if the connect fails. </p>
  339. <p>Can be set to NULL, in which case no indication of unsuccessful completion will be received. </p>
  340. </div>
  341. </div>
  342. <a id="a99c3f6fd2c5238112a6ae90ce1013f10"></a>
  343. <h2 class="memtitle"><span class="permalink"><a href="#a99c3f6fd2c5238112a6ae90ce1013f10">&#9670;&nbsp;</a></span>onSuccess</h2>
  344. <div class="memitem">
  345. <div class="memproto">
  346. <table class="memname">
  347. <tr>
  348. <td class="memname">MQTTAsync_onSuccess* MQTTAsync_connectOptions::onSuccess</td>
  349. </tr>
  350. </table>
  351. </div><div class="memdoc">
  352. <p>A pointer to a callback function to be called if the connect successfully completes. </p>
  353. <p>Can be set to NULL, in which case no indication of successful completion will be received. </p>
  354. </div>
  355. </div>
  356. <a id="af108a647db655523e892938d3a67d6b4"></a>
  357. <h2 class="memtitle"><span class="permalink"><a href="#af108a647db655523e892938d3a67d6b4">&#9670;&nbsp;</a></span>onSuccess5</h2>
  358. <div class="memitem">
  359. <div class="memproto">
  360. <table class="memname">
  361. <tr>
  362. <td class="memname">MQTTAsync_onSuccess5* MQTTAsync_connectOptions::onSuccess5</td>
  363. </tr>
  364. </table>
  365. </div><div class="memdoc">
  366. <p>A pointer to a callback function to be called if the connect successfully completes. </p>
  367. <p>Can be set to NULL, in which case no indication of successful completion will be received. </p>
  368. </div>
  369. </div>
  370. <a id="a52a773222e567d8480c85b6a27bf36f2"></a>
  371. <h2 class="memtitle"><span class="permalink"><a href="#a52a773222e567d8480c85b6a27bf36f2">&#9670;&nbsp;</a></span>password</h2>
  372. <div class="memitem">
  373. <div class="memproto">
  374. <table class="memname">
  375. <tr>
  376. <td class="memname">const char* MQTTAsync_connectOptions::password</td>
  377. </tr>
  378. </table>
  379. </div><div class="memdoc">
  380. <p>MQTT servers that support the MQTT v3.1 protocol provide authentication and authorisation by user name and password. </p>
  381. <p>This is the password parameter. </p>
  382. </div>
  383. </div>
  384. <a id="a7f4026dad0479c6658aac68d719950a1"></a>
  385. <h2 class="memtitle"><span class="permalink"><a href="#a7f4026dad0479c6658aac68d719950a1">&#9670;&nbsp;</a></span>retryInterval</h2>
  386. <div class="memitem">
  387. <div class="memproto">
  388. <table class="memname">
  389. <tr>
  390. <td class="memname">int MQTTAsync_connectOptions::retryInterval</td>
  391. </tr>
  392. </table>
  393. </div><div class="memdoc">
  394. <p>The time interval in seconds after which unacknowledged publish requests are retried during a TCP session. </p>
  395. <p>With MQTT 3.1.1 and later, retries are not required except on reconnect. 0 turns off in-session retries, and is the recommended setting. Adding retries to an already overloaded network only exacerbates the problem. </p>
  396. </div>
  397. </div>
  398. <a id="a50f0a294c8f7311ccd7f7803b432bb69"></a>
  399. <h2 class="memtitle"><span class="permalink"><a href="#a50f0a294c8f7311ccd7f7803b432bb69">&#9670;&nbsp;</a></span>serverURIs</h2>
  400. <div class="memitem">
  401. <div class="memproto">
  402. <table class="memname">
  403. <tr>
  404. <td class="memname">char* const* MQTTAsync_connectOptions::serverURIs</td>
  405. </tr>
  406. </table>
  407. </div><div class="memdoc">
  408. <pre class="fragment">An array of null-terminated strings specifying the servers to
  409. </pre><p> which the client will connect. Each string takes the form <em>protocol://host:port</em>. <em>protocol</em> must be <em>tcp</em>, <em>ssl</em>, <em>ws</em> or <em>wss</em>. The TLS enabled prefixes (ssl, wss) are only valid if a TLS version of the library is linked with. For <em>host</em>, you can specify either an IP address or a domain name. For instance, to connect to a server running on the local machines with the default MQTT port, specify <em>tcp://localhost:1883</em>. </p>
  410. </div>
  411. </div>
  412. <a id="a04c88f4a4aba7ca2cfbd9ee5455f0850"></a>
  413. <h2 class="memtitle"><span class="permalink"><a href="#a04c88f4a4aba7ca2cfbd9ee5455f0850">&#9670;&nbsp;</a></span>ssl</h2>
  414. <div class="memitem">
  415. <div class="memproto">
  416. <table class="memname">
  417. <tr>
  418. <td class="memname"><a class="el" href="structMQTTAsync__SSLOptions.html">MQTTAsync_SSLOptions</a>* MQTTAsync_connectOptions::ssl</td>
  419. </tr>
  420. </table>
  421. </div><div class="memdoc">
  422. <p>This is a pointer to an <a class="el" href="structMQTTAsync__SSLOptions.html" title="MQTTAsync_sslProperties defines the settings to establish an SSL/TLS connection using the OpenSSL lib...">MQTTAsync_SSLOptions</a> structure. </p>
  423. <p>If your application does not make use of SSL, set this pointer to NULL. </p>
  424. </div>
  425. </div>
  426. <a id="ae6831f945c1353cd1fce5d94a5d0f54d"></a>
  427. <h2 class="memtitle"><span class="permalink"><a href="#ae6831f945c1353cd1fce5d94a5d0f54d">&#9670;&nbsp;</a></span>struct_id</h2>
  428. <div class="memitem">
  429. <div class="memproto">
  430. <table class="memname">
  431. <tr>
  432. <td class="memname">char MQTTAsync_connectOptions::struct_id[4]</td>
  433. </tr>
  434. </table>
  435. </div><div class="memdoc">
  436. <p>The eyecatcher for this structure. </p>
  437. <p>must be MQTC. </p>
  438. </div>
  439. </div>
  440. <a id="a013018a3b17149d482051a1be78ac984"></a>
  441. <h2 class="memtitle"><span class="permalink"><a href="#a013018a3b17149d482051a1be78ac984">&#9670;&nbsp;</a></span>struct_version</h2>
  442. <div class="memitem">
  443. <div class="memproto">
  444. <table class="memname">
  445. <tr>
  446. <td class="memname">int MQTTAsync_connectOptions::struct_version</td>
  447. </tr>
  448. </table>
  449. </div><div class="memdoc">
  450. <p>The version number of this structure. </p>
  451. <p>Must be 0, 1, 2, 3 4 5 6, 7 or 8. 0 signifies no SSL options and no serverURIs 1 signifies no serverURIs 2 signifies no MQTTVersion 3 signifies no automatic reconnect options 4 signifies no binary password option (just string) 5 signifies no MQTTV5 properties 6 signifies no HTTP headers option 7 signifies no HTTP proxy and HTTPS proxy options </p>
  452. </div>
  453. </div>
  454. <a id="ae03dec50fd54f49582e50883072ea81e"></a>
  455. <h2 class="memtitle"><span class="permalink"><a href="#ae03dec50fd54f49582e50883072ea81e">&#9670;&nbsp;</a></span>username</h2>
  456. <div class="memitem">
  457. <div class="memproto">
  458. <table class="memname">
  459. <tr>
  460. <td class="memname">const char* MQTTAsync_connectOptions::username</td>
  461. </tr>
  462. </table>
  463. </div><div class="memdoc">
  464. <p>MQTT servers that support the MQTT v3.1 protocol provide authentication and authorisation by user name and password. </p>
  465. <p>This is the user name parameter. </p>
  466. </div>
  467. </div>
  468. <a id="a2190db10b854d016a291ccb378c3eda2"></a>
  469. <h2 class="memtitle"><span class="permalink"><a href="#a2190db10b854d016a291ccb378c3eda2">&#9670;&nbsp;</a></span>will</h2>
  470. <div class="memitem">
  471. <div class="memproto">
  472. <table class="memname">
  473. <tr>
  474. <td class="memname"><a class="el" href="structMQTTAsync__willOptions.html">MQTTAsync_willOptions</a>* MQTTAsync_connectOptions::will</td>
  475. </tr>
  476. </table>
  477. </div><div class="memdoc">
  478. <p>This is a pointer to an <a class="el" href="structMQTTAsync__willOptions.html" title="MQTTAsync_willOptions defines the MQTT &quot;Last Will and Testament&quot; (LWT) settings for the client.">MQTTAsync_willOptions</a> structure. </p>
  479. <p>If your application does not make use of the Last Will and Testament feature, set this pointer to NULL. </p>
  480. </div>
  481. </div>
  482. <hr/>The documentation for this struct was generated from the following file:<ul>
  483. <li>MQTTAsync.h</li>
  484. </ul>
  485. </div><!-- contents -->
  486. <!-- start footer part -->
  487. <hr class="footer"/><address class="footer"><small>
  488. Generated on Thu Sep 29 2022 11:34:46 for MQTT C Client Libraries Internals by &#160;<a href="http://www.doxygen.org/index.html">
  489. <img class="footer" src="doxygen.png" alt="doxygen"/>
  490. </a> 1.8.17
  491. </small></address>
  492. </body>
  493. </html>