9.10.1.1 +MQTTC
This command is used to read or set the MQTT configuration. This command is a configuration command which supports setting and getting parameter values. The behaviour of configuration commands is described in general in the Configuration Commands section.
Security – Default Security for the command is: GGGG
Command |
Description |
Security |
---|---|---|
|
Query all configuration elements |
|
|
Query a single element |
|
|
Set a single element |
|
Parameter Name |
Type |
Description |
---|---|---|
|
Integer |
Parameter ID number |
|
Integer String Byte Array |
Parameter value |
Response |
Description |
---|---|
|
Read response |
Element Name |
Type |
Description |
---|---|---|
|
Integer |
Parameter ID number |
|
Any |
Parameter value |
ID |
Name |
Type |
Description |
Security |
---|---|---|---|---|
1 |
|
String |
Broker domain name or IPv4 address Maximum length is 64 |
|
2 |
|
Integer |
Broker listening TCP port |
|
3 |
|
String |
MQTT client ID Maximum length is 23 |
|
4 |
|
String |
Username Maximum length is 128 |
|
5 |
|
String |
Password Maximum length is 256 |
|
6 |
|
Integer |
Keep alive time (in seconds) |
|
7 |
|
Integer |
TLS configuration index (see +TLSC) |
|
8 |
|
Integer |
MQTT protocol version, either 3 or 5
|
|
9 | <READ_THRESHOLD> | Unsigned Integer |
Subscription read threshold Unsigned 16-bit value |
|
10 | <SERVER_SELECT> | Unsigned Integer | Select server 0 – Other 1 – Azure Azure |
|