Timeout


Timeout settings provide five parameters, and the unit of the settings is in seconds.

Timeout Description Default Value Order
CONNECT Timeout for MQTT CONNECT request 4 1
PUBLISH Timeout for MQTT PUBLISH request 2 2
SUBSCRIBE Timeout for MQTT SUBSCRIBE / UNSUBSCRIBE request 2 3
PINGREQ Timeout for MQTT PINGREQ packet 2 4
Keep Alive Timeout for Keep Alive (PINGREQ intevals) 30 5

Timeout Setting: +MCT

AT+MCT=<CONNECT>,<PUBLISH>,<SUBSCRIBE>,<PINGREQ>,<Keep Alive>

Examples

at+mct=4,2,2,2,30
OK

at+mct=4
OK

at+mct=,2
OK

at+mct=,,2
OK

at+mct=,,,2
OK

at+mct=,,,,30
OK