Skip to content

Commit 263fc55

Browse files
Update coreMQTT submodule pointer (#77)
* Update coreMQTT submodule pointer * Update core_mqtt_config.h * Update lexicon.txt
1 parent 0a9b068 commit 263fc55

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

lexicon.txt

+1
Original file line numberDiff line numberDiff line change
@@ -285,4 +285,5 @@ usernamelength
285285
utest
286286
uxcontrolandlengthbytes
287287
willinfo
288+
writev
288289
www

source/dependency/coreMQTT

Submodule coreMQTT updated 58 files

test/unit-test/config/core_mqtt_config.h

+12-15
Original file line numberDiff line numberDiff line change
@@ -137,28 +137,25 @@
137137

138138

139139
/**
140-
* @brief The maximum duration between non-empty network transmissions while
141-
* sending an MQTT packet via the #MQTT_ProcessLoop or #MQTT_ReceiveLoop
142-
* API functions.
140+
* @brief The maximum duration allowed to send an MQTT packet over the transport
141+
* interface.
143142
*
144-
* When sending an MQTT packet, the transport send function may be called multiple
145-
* times until all of the required number of bytes are sent.
146-
* This timeout represents the maximum duration that is allowed for no data
147-
* transmission over the network through the transport send function.
143+
* When sending an MQTT packet, the transport send or writev functions may be
144+
* called multiple times until all of the required number of bytes are sent.
145+
* This timeout represents the maximum duration that is allowed to send the MQTT
146+
* packet while calling the transport send or writev functions.
148147
*
149-
* If the timeout expires, the #MQTT_ProcessLoop and #MQTT_ReceiveLoop functions
150-
* return #MQTTSendFailed.
148+
* If the timeout expires, #MQTTSendFailed will be returned by the public API
149+
* functions.
151150
*
152151
* @note If a dummy implementation of the #MQTTGetCurrentTimeFunc_t timer function,
153-
* is supplied to the library, then #MQTT_SEND_RETRY_TIMEOUT_MS MUST be set to 0.
152+
* is supplied to the library, then #MQTT_SEND_TIMEOUT_MS MUST be set to 0.
154153
*
155-
* <b>Possible values:</b> Any positive 32 bit integer. Recommended to use a small
156-
* timeout value. <br>
157-
* <b>Default value:</b> `10`
154+
* <b>Possible values:</b> Any positive 32 bit integer. <br>
155+
* <b>Default value:</b> `20000`
158156
*
159157
*/
160-
161-
#define MQTT_SEND_RETRY_TIMEOUT_MS ( 10U )
158+
#define MQTT_SEND_TIMEOUT_MS ( 10U )
162159

163160

164161
/**

0 commit comments

Comments
 (0)