At+Cmqttaccq Acquire A Client - SimCom SIM7500 Series Command Manual

Mqtt at, lte module
Hide thumbs Also See for SIM7500 Series:
Table of Contents

Advertisement

Defined Values
<err>

2.2.3 AT+CMQTTACCQ Acquire a client

AT+CMQTTACCQ is used to acquire a MQTT client . It must be called before all commands about MQTT
connect and after AT+CMQTTSTART .
AT+CMQTTACCQ Acquire a client
Test Command
AT+CMQTTACCQ=?
Read Command
AT+CMQTTACCQ?
Write Command
AT+CMQTTACCQ=<client_index>,
<clientID>[, <server_type>]
Defined Values
<client_index>
<clientID>
<server_type>
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual
OK
+CMQTTSTOP: <err>
c)If failed:
ERROR
The result code, please refer to chapter 2.3.1
Response
+CMQTTACCQ: (0-1),(1-23),(0-1)
OK
Response
+CMQTTACCQ: <client_index>, <clientID>,<server_type>
+CMQTTACCQ: <client_index>, <clientID>,<server_type>
OK
Response
a)If successfully:
OK
b)If failed:
+CMQTTACCQ: <client_index>,<err>
ERROR
c) If failed:
ERROR
A numeric parameter that identifies a client. The range of
permitted values is 0 to 1.
The UTF-encoded string. It specifies a unique identifier for the
client. The string length is from 1 to 23 bytes.
A numeric parameter that identifies the server type. The default
value is 0.
Smart Machine Smart Decision
12 / 41

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIM7500 Series and is the answer not in the manual?

This manual is also suitable for:

Sim7800 seriesSim7600 series

Table of Contents