structMQTTClient__createOptions.html 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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: MQTTClient_createOptions 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">MQTTClient_createOptions Struct Reference</div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <p>Options for the <a class="el" href="MQTTClient_8c.html#ade24f717a9b39d38b081e1d5e0db1661" title="A version of :MQTTClient_create() with additional options.">MQTTClient_createWithOptions</a> call.
  70. <a href="structMQTTClient__createOptions.html#details">More...</a></p>
  71. <p><code>#include &lt;MQTTClient.h&gt;</code></p>
  72. <table class="memberdecls">
  73. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  74. Data Fields</h2></td></tr>
  75. <tr class="memitem:ada7ad105de2fd2307a48a75fa598854f"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTClient__createOptions.html#ada7ad105de2fd2307a48a75fa598854f">struct_id</a> [4]</td></tr>
  76. <tr class="memdesc:ada7ad105de2fd2307a48a75fa598854f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The eyecatcher for this structure. <a href="structMQTTClient__createOptions.html#ada7ad105de2fd2307a48a75fa598854f">More...</a><br /></td></tr>
  77. <tr class="separator:ada7ad105de2fd2307a48a75fa598854f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ae94f345f0f147ed31b8fbd0cb6ebc784"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTClient__createOptions.html#ae94f345f0f147ed31b8fbd0cb6ebc784">struct_version</a></td></tr>
  79. <tr class="memdesc:ae94f345f0f147ed31b8fbd0cb6ebc784"><td class="mdescLeft">&#160;</td><td class="mdescRight">The version number of this structure. <a href="structMQTTClient__createOptions.html#ae94f345f0f147ed31b8fbd0cb6ebc784">More...</a><br /></td></tr>
  80. <tr class="separator:ae94f345f0f147ed31b8fbd0cb6ebc784"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:ae15c5b3e67be5967deb87d2830805565"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTClient__createOptions.html#ae15c5b3e67be5967deb87d2830805565">MQTTVersion</a></td></tr>
  82. <tr class="memdesc:ae15c5b3e67be5967deb87d2830805565"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the MQTT version is 3.1, 3.1.1, or 5. <a href="structMQTTClient__createOptions.html#ae15c5b3e67be5967deb87d2830805565">More...</a><br /></td></tr>
  83. <tr class="separator:ae15c5b3e67be5967deb87d2830805565"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. </table>
  85. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  86. <div class="textblock"><p>Options for the <a class="el" href="MQTTClient_8c.html#ade24f717a9b39d38b081e1d5e0db1661" title="A version of :MQTTClient_create() with additional options.">MQTTClient_createWithOptions</a> call. </p>
  87. </div><h2 class="groupheader">Field Documentation</h2>
  88. <a id="ae15c5b3e67be5967deb87d2830805565"></a>
  89. <h2 class="memtitle"><span class="permalink"><a href="#ae15c5b3e67be5967deb87d2830805565">&#9670;&nbsp;</a></span>MQTTVersion</h2>
  90. <div class="memitem">
  91. <div class="memproto">
  92. <table class="memname">
  93. <tr>
  94. <td class="memname">int MQTTClient_createOptions::MQTTVersion</td>
  95. </tr>
  96. </table>
  97. </div><div class="memdoc">
  98. <p>Whether the MQTT version is 3.1, 3.1.1, or 5. </p>
  99. <p>To use V5, this must be set. MQTT V5 has to be chosen here, because during the create call the message persistence is initialized, and we want to know whether the format of any persisted messages is appropriate for the MQTT version we are going to connect with. Selecting 3.1 or 3.1.1 and attempting to read 5.0 persisted messages will result in an error on create. <br />
  100. </p>
  101. </div>
  102. </div>
  103. <a id="ada7ad105de2fd2307a48a75fa598854f"></a>
  104. <h2 class="memtitle"><span class="permalink"><a href="#ada7ad105de2fd2307a48a75fa598854f">&#9670;&nbsp;</a></span>struct_id</h2>
  105. <div class="memitem">
  106. <div class="memproto">
  107. <table class="memname">
  108. <tr>
  109. <td class="memname">char MQTTClient_createOptions::struct_id[4]</td>
  110. </tr>
  111. </table>
  112. </div><div class="memdoc">
  113. <p>The eyecatcher for this structure. </p>
  114. <p>must be MQCO. </p>
  115. </div>
  116. </div>
  117. <a id="ae94f345f0f147ed31b8fbd0cb6ebc784"></a>
  118. <h2 class="memtitle"><span class="permalink"><a href="#ae94f345f0f147ed31b8fbd0cb6ebc784">&#9670;&nbsp;</a></span>struct_version</h2>
  119. <div class="memitem">
  120. <div class="memproto">
  121. <table class="memname">
  122. <tr>
  123. <td class="memname">int MQTTClient_createOptions::struct_version</td>
  124. </tr>
  125. </table>
  126. </div><div class="memdoc">
  127. <p>The version number of this structure. </p>
  128. <p>Must be 0 </p>
  129. </div>
  130. </div>
  131. <hr/>The documentation for this struct was generated from the following file:<ul>
  132. <li>MQTTClient.h</li>
  133. </ul>
  134. </div><!-- contents -->
  135. <!-- start footer part -->
  136. <hr class="footer"/><address class="footer"><small>
  137. 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">
  138. <img class="footer" src="doxygen.png" alt="doxygen"/>
  139. </a> 1.8.17
  140. </small></address>
  141. </body>
  142. </html>