Mistake on this page?
Report an issue in GitHub or email us
Macros
mqtt_opts.h File Reference

MQTT client options. More...

#include "lwip/opt.h"

Go to the source code of this file.

Macros

#define MQTT_OUTPUT_RINGBUF_SIZE   256
 Output ring-buffer size, must be able to fit largest outgoing publish message topic+payloads. More...
 
#define MQTT_VAR_HEADER_BUFFER_LEN   128
 Number of bytes in receive buffer, must be at least the size of the longest incoming topic + 8 If one wants to avoid fragmented incoming publish, set length to max incoming topic length + max payload length + 8. More...
 
#define MQTT_REQ_MAX_IN_FLIGHT   4
 Maximum number of pending subscribe, unsubscribe and publish requests to server . More...
 
#define MQTT_CYCLIC_TIMER_INTERVAL   5
 Seconds between each cyclic timer call. More...
 
#define MQTT_REQ_TIMEOUT   30
 Publish, subscribe and unsubscribe request timeout in seconds. More...
 
#define MQTT_CONNECT_TIMOUT   100
 Seconds for MQTT connect response timeout after sending connect request. More...
 

Detailed Description

MQTT client options.

Definition in file mqtt_opts.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.