Non-volatile memory Configuration MQTT Client Client Options
March 25, 2024 at 8:45 AMOptions for the MQTT client
Address : 0289
(bank 2, register 89
)
Size : 6 bytes
Default : 5314030A1E1E
Remark
For AWS, value shall be set to 5614030A1E1E
Content
Byte 0 : Settings
Bit | Role | Values |
---|---|---|
7-6 | QoS used for subscribing | 0 : QoS_01 : QoS_12 : QoS_23 : RFU |
5-4 | QoS used for publishing | 0 : QoS_01 : QoS_12 : QoS_23 : RFU |
3 | RFU | |
2 | Shall we create the topics before subscribing to them? | 0 : Disable Create before Subscribe1 : Enable Create before Subscribe |
1 | Does the server accept a Last Will Message? | 0 : Disable Last Will Message1 : Enable Last Will Message |
0 | Does the server accept Retained Messages? | 0 : Disable Retained Messages1 : Enable Retained Messages |
Byte 1 : Connection timeout
Remark : Timeout when connecting to the server, in seconds
Byte 2 : Response timeout
Remark : Timeout when waiting for a response from the server, in seconds
Byte 3 : Keep alive interval
Remark : Interval between PINGREQ/PINGRES, in seconds
Byte 4 : Status publish interval
Remark : Interval between publications in the status
topic, in seconds
Byte 5 : Reconnect interval
Remark : Interval before reconnecting to the server if the connection is lost, in seconds