You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>This function attempts to subscribe a client to a single topic, which may contain wildcards (see <aclass="el" href="wildcard.html">Subscription wildcards</a>). This call also specifies the <aclass="el" href="qos.html">Quality of service</a> requested for the subscription (see also <aclass="el" href="_m_q_t_t_async_8h.html#a8a956fd9eed94eeb1bf87c88abf43f9d">MQTTAsync_subscribeMany()</a>). </p><dlclass="params"><dt>Parameters</dt><dd>
2035
+
<p>This function attempts to subscribe a client to a single topic, which may contain wildcards (see <aclass="el" href="wildcard.html">Subscription wildcards</a>). This call also specifies the <aclass="el" href="qos.html">Quality of service</a> requested for the subscription (see also <aclass="el" href="_m_q_t_t_async_8h.html#ac78620b33434a187255bd1a3faec1578">MQTTAsync_subscribeMany()</a>). </p><dlclass="params"><dt>Parameters</dt><dd>
2029
2036
<tableclass="params">
2030
2037
<tr><tdclass="paramname">handle</td><td>A valid client handle from a successful call to <aclass="el" href="_m_q_t_t_async_8h.html#a5462c4618d0a229116db5fbadacf95d2">MQTTAsync_create()</a>. </td></tr>
2031
2038
<tr><tdclass="paramname">topic</td><td>The subscription topic, which may include wildcards. </td></tr>
<p>This function attempts to publish a message to a given topic (see also <aclass="el" href="_m_q_t_t_async_8h.html#a5687171e67e98f9ea590c9e3b64cde18">MQTTAsync_sendMessage()</a>). An <aclass="el" href="_m_q_t_t_async_8h.html#a7ca6d2a1813f2bbd0bc3af2771e46ba4">MQTTAsync_token</a> is issued when this function returns successfully. If the client application needs to test for successful delivery of messages, a callback should be set (see <aclass="el" href="_m_q_t_t_async_8h.html#a7b0c18a0e29e2ce73f3ea109bc32617b">MQTTAsync_onSuccess()</a> and <aclass="el" href="_m_q_t_t_async_8h.html#ab10296618e266b3c02fd117d6616b15d">MQTTAsync_deliveryComplete()</a>). </p><dlclass="params"><dt>Parameters</dt><dd>
2253
+
<p>This function attempts to publish a message to a given topic (see also <aclass="el" href="_m_q_t_t_async_8h.html#a5687171e67e98f9ea590c9e3b64cde18">MQTTAsync_sendMessage()</a>). An <aclass="el" href="_m_q_t_t_async_8h.html#a7ca6d2a1813f2bbd0bc3af2771e46ba4">MQTTAsync_token</a> is issued when this function returns successfully if the QoS is greater than 0. If the client application needs to test for successful delivery of messages, a callback should be set (see <aclass="el" href="_m_q_t_t_async_8h.html#a7b0c18a0e29e2ce73f3ea109bc32617b">MQTTAsync_onSuccess()</a> and <aclass="el" href="_m_q_t_t_async_8h.html#ab10296618e266b3c02fd117d6616b15d">MQTTAsync_deliveryComplete()</a>). </p><dlclass="params"><dt>Parameters</dt><dd>
2247
2254
<tableclass="params">
2248
2255
<tr><tdclass="paramname">handle</td><td>A valid client handle from a successful call to <aclass="el" href="_m_q_t_t_async_8h.html#a5462c4618d0a229116db5fbadacf95d2">MQTTAsync_create()</a>. </td></tr>
2249
2256
<tr><tdclass="paramname">destinationName</td><td>The topic associated with this message. </td></tr>
<p>This function attempts to publish a message to a given topic (see also MQTTAsync_publish()). An <aclass="el" href="_m_q_t_t_async_8h.html#a7ca6d2a1813f2bbd0bc3af2771e46ba4">MQTTAsync_token</a> is issued when this function returns successfully. If the client application needs to test for successful delivery of messages, a callback should be set (see <aclass="el" href="_m_q_t_t_async_8h.html#a7b0c18a0e29e2ce73f3ea109bc32617b">MQTTAsync_onSuccess()</a> and <aclass="el" href="_m_q_t_t_async_8h.html#ab10296618e266b3c02fd117d6616b15d">MQTTAsync_deliveryComplete()</a>). </p><dlclass="params"><dt>Parameters</dt><dd>
2306
+
<p>This function attempts to publish a message to a given topic (see also MQTTAsync_publish()). An <aclass="el" href="_m_q_t_t_async_8h.html#a7ca6d2a1813f2bbd0bc3af2771e46ba4">MQTTAsync_token</a> is issued when this function returns successfully if the QoS is greater than 0. If the client application needs to test for successful delivery of messages, a callback should be set (see <aclass="el" href="_m_q_t_t_async_8h.html#a7b0c18a0e29e2ce73f3ea109bc32617b">MQTTAsync_onSuccess()</a> and <aclass="el" href="_m_q_t_t_async_8h.html#ab10296618e266b3c02fd117d6616b15d">MQTTAsync_deliveryComplete()</a>). </p><dlclass="params"><dt>Parameters</dt><dd>
2300
2307
<tableclass="params">
2301
2308
<tr><tdclass="paramname">handle</td><td>A valid client handle from a successful call to <aclass="el" href="_m_q_t_t_async_8h.html#a5462c4618d0a229116db5fbadacf95d2">MQTTAsync_create()</a>. </td></tr>
2302
2309
<tr><tdclass="paramname">destinationName</td><td>The topic associated with this message. </td></tr>
<p>Waits for a request corresponding to a token to complete.</p>
2415
+
<p>Waits for a request corresponding to a token to complete. This only works for messages with QoS greater than 0. A QoS 0 message has no MQTT token. This function will always return <aclass="el" href="_m_q_t_t_async_8h.html#afe0cffcce8efe25186f79c51ac44e16f">MQTTASYNC_SUCCESS</a> for a QoS 0 message.</p>
2409
2416
<dlclass="params"><dt>Parameters</dt><dd>
2410
2417
<tableclass="params">
2411
2418
<tr><tdclass="paramname">handle</td><td>A valid client handle from a successful call to <aclass="el" href="_m_q_t_t_async_8h.html#a5462c4618d0a229116db5fbadacf95d2">MQTTAsync_create()</a>. </td></tr>
0 commit comments