Updated on 2023-02-16 GMT+08:00

+HMSTS

This command is used to proactively transfer the module connection or disconnection status to external MCUs.

Command

Parameter

Default Parameter Processing

AT Response

Example

+HMSTS: status

status: module connection status. The value 0 indicates that the module is connected, and the value 1 indicates that the module is disconnected.

If the communication is interrupted due to a network fault, the module attempts to reconnect to the network and subscribe to the topics that have been subscribed previously.

-

-

+HMSTS:0 indicates that the module has been connected to the IoT platform.

+HMSTS:1 indicates that the module is disconnected from the IoT platform due to a network fault.