structMQTTAsync__successData5.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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_successData5 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_successData5 Struct Reference</div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <p>The data returned on completion of a successful API call in the response callback onSuccess.
  70. <a href="structMQTTAsync__successData5.html#details">More...</a></p>
  71. <p><code>#include &lt;MQTTAsync.h&gt;</code></p>
  72. <div class="dynheader">
  73. Collaboration diagram for MQTTAsync_successData5:</div>
  74. <div class="dyncontent">
  75. <div class="center"><img src="structMQTTAsync__successData5__coll__graph.png" border="0" usemap="#MQTTAsync__successData5_coll__map" alt="Collaboration graph"/></div>
  76. <map name="MQTTAsync__successData5_coll__map" id="MQTTAsync__successData5_coll__map">
  77. <area shape="rect" title="The data returned on completion of a successful API call in the response callback onSuccess." alt="" coords="5,377,191,404"/>
  78. <area shape="rect" href="structMQTTAsync__message.html" title="A structure representing the payload and attributes of an MQTT message." alt="" coords="162,288,317,315"/>
  79. <area shape="rect" href="structMQTTProperties.html" title="MQTT version 5 property list." alt="" coords="39,199,157,225"/>
  80. <area shape="rect" href="structMQTTProperty.html" title="Structure to hold an MQTT version 5 property of any type." alt="" coords="45,109,151,136"/>
  81. <area shape="rect" href="structMQTTLenString.html" title="The data for a length delimited string." alt="" coords="41,5,155,32"/>
  82. </map>
  83. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  84. <table class="memberdecls">
  85. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  86. Data Fields</h2></td></tr>
  87. <tr class="memitem:a25e5058a92e35c2cb7c86a5de45cba9d"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__successData5.html#a25e5058a92e35c2cb7c86a5de45cba9d">struct_id</a> [4]</td></tr>
  88. <tr class="memdesc:a25e5058a92e35c2cb7c86a5de45cba9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The eyecatcher for this structure. <a href="structMQTTAsync__successData5.html#a25e5058a92e35c2cb7c86a5de45cba9d">More...</a><br /></td></tr>
  89. <tr class="separator:a25e5058a92e35c2cb7c86a5de45cba9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:a52c4260e2005d2067f3cccc70d7b4758"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__successData5.html#a52c4260e2005d2067f3cccc70d7b4758">struct_version</a></td></tr>
  91. <tr class="memdesc:a52c4260e2005d2067f3cccc70d7b4758"><td class="mdescLeft">&#160;</td><td class="mdescRight">The version number of this structure. <a href="structMQTTAsync__successData5.html#a52c4260e2005d2067f3cccc70d7b4758">More...</a><br /></td></tr>
  92. <tr class="separator:a52c4260e2005d2067f3cccc70d7b4758"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:ab31fe8cffc2ff14c1ebaee1a12feb787"><td class="memItemLeft" align="right" valign="top">MQTTAsync_token&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__successData5.html#ab31fe8cffc2ff14c1ebaee1a12feb787">token</a></td></tr>
  94. <tr class="memdesc:ab31fe8cffc2ff14c1ebaee1a12feb787"><td class="mdescLeft">&#160;</td><td class="mdescRight">A token identifying the successful request. <a href="structMQTTAsync__successData5.html#ab31fe8cffc2ff14c1ebaee1a12feb787">More...</a><br /></td></tr>
  95. <tr class="separator:ab31fe8cffc2ff14c1ebaee1a12feb787"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:a966b7fc75d0b1fbbc9791aa3eeef06a5"><td class="memItemLeft" align="right" valign="top"><a id="a966b7fc75d0b1fbbc9791aa3eeef06a5"></a>
  97. enum MQTTReasonCodes&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__successData5.html#a966b7fc75d0b1fbbc9791aa3eeef06a5">reasonCode</a></td></tr>
  98. <tr class="memdesc:a966b7fc75d0b1fbbc9791aa3eeef06a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">MQTT V5 reason code returned. <br /></td></tr>
  99. <tr class="separator:a966b7fc75d0b1fbbc9791aa3eeef06a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:ac425dfec67b3245e95a3e415d93ba5bf"><td class="memItemLeft" align="right" valign="top"><a id="ac425dfec67b3245e95a3e415d93ba5bf"></a>
  101. <a class="el" href="structMQTTProperties.html">MQTTProperties</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__successData5.html#ac425dfec67b3245e95a3e415d93ba5bf">properties</a></td></tr>
  102. <tr class="memdesc:ac425dfec67b3245e95a3e415d93ba5bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">MQTT V5 properties returned, if any. <br /></td></tr>
  103. <tr class="separator:ac425dfec67b3245e95a3e415d93ba5bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:ab8c810f026ac58874c1fd0b112bdda71"><td class="memItemLeft" ><a id="ab8c810f026ac58874c1fd0b112bdda71"></a>
  105. union {</td></tr>
  106. <tr class="memitem:a673181db77396816225030fe78a5fc60"><td class="memItemLeft" >
  107. &#160;&#160;&#160;struct {</td></tr>
  108. <tr class="memitem:af8b7c987d5bf5de5e56fc2d89fb3dd83"><td class="memItemLeft" >
  109. &#160;&#160;&#160;&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#a0bfa041c9ce783614786235c650a80aa">reasonCodeCount</a></td></tr>
  110. <tr class="memdesc:af8b7c987d5bf5de5e56fc2d89fb3dd83"><td class="mdescLeft">&#160;</td><td class="mdescRight">the number of reason codes in the reasonCodes array <br /></td></tr>
  111. <tr class="separator:af8b7c987d5bf5de5e56fc2d89fb3dd83"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a204f58f152cfaf7bdd0d88195b30fa6b"><td class="memItemLeft" >
  113. &#160;&#160;&#160;&#160;&#160;&#160;enum MQTTReasonCodes *&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#abe4fb1e0907a7a1e77fdb6851879b605">reasonCodes</a></td></tr>
  114. <tr class="memdesc:a204f58f152cfaf7bdd0d88195b30fa6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">an array of reasonCodes <br /></td></tr>
  115. <tr class="separator:a204f58f152cfaf7bdd0d88195b30fa6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a673181db77396816225030fe78a5fc60"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#ab3131c77b8bf772ea06ee580816ebc32">sub</a></td></tr>
  117. <tr class="memdesc:a673181db77396816225030fe78a5fc60"><td class="mdescLeft">&#160;</td><td class="mdescRight">For subscribeMany, the list of reasonCodes returned by the server. <br /></td></tr>
  118. <tr class="separator:a673181db77396816225030fe78a5fc60"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:aedd989795c34a16fb88dcf3b49e81611"><td class="memItemLeft" >
  120. &#160;&#160;&#160;struct {</td></tr>
  121. <tr class="memitem:aecef95a290d24c186e4576c820218c66"><td class="memItemLeft" >
  122. &#160;&#160;&#160;&#160;&#160;&#160;<a class="el" href="structMQTTAsync__message.html">MQTTAsync_message</a>&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#a83d34de369f169d5c1ee099720b964cf">message</a></td></tr>
  123. <tr class="memdesc:aecef95a290d24c186e4576c820218c66"><td class="mdescLeft">&#160;</td><td class="mdescRight">the message being sent to the server <br /></td></tr>
  124. <tr class="separator:aecef95a290d24c186e4576c820218c66"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a51f3ff3f91a31077da6c2427252dfc70"><td class="memItemLeft" >
  126. &#160;&#160;&#160;&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#a3aa03bcf1e08deeaacb237d014181e80">destinationName</a></td></tr>
  127. <tr class="memdesc:a51f3ff3f91a31077da6c2427252dfc70"><td class="mdescLeft">&#160;</td><td class="mdescRight">the topic destination for the message <br /></td></tr>
  128. <tr class="separator:a51f3ff3f91a31077da6c2427252dfc70"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:aedd989795c34a16fb88dcf3b49e81611"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#a7e75879a42ba01477a3c921487e3c564">pub</a></td></tr>
  130. <tr class="memdesc:aedd989795c34a16fb88dcf3b49e81611"><td class="mdescLeft">&#160;</td><td class="mdescRight">For publish, the message being sent to the server. <br /></td></tr>
  131. <tr class="separator:aedd989795c34a16fb88dcf3b49e81611"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a52b23be288374e963315844e7f9b6af2"><td class="memItemLeft" >
  133. &#160;&#160;&#160;struct {</td></tr>
  134. <tr class="memitem:a613aa488e03239b4b30395ddb79738c8"><td class="memItemLeft" >
  135. &#160;&#160;&#160;&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#ad5af721250d01a2d0a4d1cd7932b81eb">serverURI</a></td></tr>
  136. <tr class="memdesc:a613aa488e03239b4b30395ddb79738c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">the connection string of the server <br /></td></tr>
  137. <tr class="separator:a613aa488e03239b4b30395ddb79738c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:ad570481b4c7e8b0111e5fb45af221ef5"><td class="memItemLeft" >
  139. &#160;&#160;&#160;&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#a2a1956f782970dfdc24bb521bd90452b">MQTTVersion</a></td></tr>
  140. <tr class="memdesc:ad570481b4c7e8b0111e5fb45af221ef5"><td class="mdescLeft">&#160;</td><td class="mdescRight">the version of MQTT being used <br /></td></tr>
  141. <tr class="separator:ad570481b4c7e8b0111e5fb45af221ef5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:afb05bc4b2541129625d483952f53b187"><td class="memItemLeft" >
  143. &#160;&#160;&#160;&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#ab8a0f5e336f3abe06921a22a5a134ab2">sessionPresent</a></td></tr>
  144. <tr class="memdesc:afb05bc4b2541129625d483952f53b187"><td class="mdescLeft">&#160;</td><td class="mdescRight">the session present flag returned from the server <br /></td></tr>
  145. <tr class="separator:afb05bc4b2541129625d483952f53b187"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a52b23be288374e963315844e7f9b6af2"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;&#160;&#160;<b>connect</b></td></tr>
  147. <tr class="separator:a52b23be288374e963315844e7f9b6af2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a1903a74495c6fd6018b4ab781ae5de17"><td class="memItemLeft" >
  149. &#160;&#160;&#160;struct {</td></tr>
  150. <tr class="memitem:a1e7afb26e9b1b0a196441b4945091481"><td class="memItemLeft" >
  151. &#160;&#160;&#160;&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#a0bfa041c9ce783614786235c650a80aa">reasonCodeCount</a></td></tr>
  152. <tr class="memdesc:a1e7afb26e9b1b0a196441b4945091481"><td class="mdescLeft">&#160;</td><td class="mdescRight">the number of reason codes in the reasonCodes array <br /></td></tr>
  153. <tr class="separator:a1e7afb26e9b1b0a196441b4945091481"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:a689052297f412cd2785967fb10752966"><td class="memItemLeft" >
  155. &#160;&#160;&#160;&#160;&#160;&#160;enum MQTTReasonCodes *&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#abe4fb1e0907a7a1e77fdb6851879b605">reasonCodes</a></td></tr>
  156. <tr class="memdesc:a689052297f412cd2785967fb10752966"><td class="mdescLeft">&#160;</td><td class="mdescRight">an array of reasonCodes <br /></td></tr>
  157. <tr class="separator:a689052297f412cd2785967fb10752966"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:a1903a74495c6fd6018b4ab781ae5de17"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData5.html#a8f6209416359018b215c22008f08bc9c">unsub</a></td></tr>
  159. <tr class="memdesc:a1903a74495c6fd6018b4ab781ae5de17"><td class="mdescLeft">&#160;</td><td class="mdescRight">For unsubscribeMany, the list of reasonCodes returned by the server. <br /></td></tr>
  160. <tr class="separator:a1903a74495c6fd6018b4ab781ae5de17"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:ab8c810f026ac58874c1fd0b112bdda71"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__successData5.html#ab8c810f026ac58874c1fd0b112bdda71">alt</a></td></tr>
  162. <tr class="memdesc:ab8c810f026ac58874c1fd0b112bdda71"><td class="mdescLeft">&#160;</td><td class="mdescRight">A union of the different values that can be returned for subscribe, unsubscribe and publish. <br /></td></tr>
  163. <tr class="separator:ab8c810f026ac58874c1fd0b112bdda71"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. </table>
  165. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  166. <div class="textblock"><p>The data returned on completion of a successful API call in the response callback onSuccess. </p>
  167. </div><h2 class="groupheader">Field Documentation</h2>
  168. <a id="a25e5058a92e35c2cb7c86a5de45cba9d"></a>
  169. <h2 class="memtitle"><span class="permalink"><a href="#a25e5058a92e35c2cb7c86a5de45cba9d">&#9670;&nbsp;</a></span>struct_id</h2>
  170. <div class="memitem">
  171. <div class="memproto">
  172. <table class="memname">
  173. <tr>
  174. <td class="memname">char MQTTAsync_successData5::struct_id[4]</td>
  175. </tr>
  176. </table>
  177. </div><div class="memdoc">
  178. <p>The eyecatcher for this structure. </p>
  179. <p>Will be MQSD. </p>
  180. </div>
  181. </div>
  182. <a id="a52c4260e2005d2067f3cccc70d7b4758"></a>
  183. <h2 class="memtitle"><span class="permalink"><a href="#a52c4260e2005d2067f3cccc70d7b4758">&#9670;&nbsp;</a></span>struct_version</h2>
  184. <div class="memitem">
  185. <div class="memproto">
  186. <table class="memname">
  187. <tr>
  188. <td class="memname">int MQTTAsync_successData5::struct_version</td>
  189. </tr>
  190. </table>
  191. </div><div class="memdoc">
  192. <p>The version number of this structure. </p>
  193. <p>Will be 0 </p>
  194. </div>
  195. </div>
  196. <a id="ab31fe8cffc2ff14c1ebaee1a12feb787"></a>
  197. <h2 class="memtitle"><span class="permalink"><a href="#ab31fe8cffc2ff14c1ebaee1a12feb787">&#9670;&nbsp;</a></span>token</h2>
  198. <div class="memitem">
  199. <div class="memproto">
  200. <table class="memname">
  201. <tr>
  202. <td class="memname">MQTTAsync_token MQTTAsync_successData5::token</td>
  203. </tr>
  204. </table>
  205. </div><div class="memdoc">
  206. <p>A token identifying the successful request. </p>
  207. <p>Can be used to refer to the request later. </p>
  208. </div>
  209. </div>
  210. <hr/>The documentation for this struct was generated from the following file:<ul>
  211. <li>MQTTAsync.h</li>
  212. </ul>
  213. </div><!-- contents -->
  214. <!-- start footer part -->
  215. <hr class="footer"/><address class="footer"><small>
  216. 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">
  217. <img class="footer" src="doxygen.png" alt="doxygen"/>
  218. </a> 1.8.17
  219. </small></address>
  220. </body>
  221. </html>