EasyManua.ls Logo

Neoway N11 V2 - Setting MQTT Parameters: +MQTTCFG

Neoway N11 V2
134 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
103
15.11 Setting MQTT Parameters: +MQTTCFG
Description
To set MQTT parameters
Format
AT+MQTTCFG=<type>,<type_name><CR>
Parameter
Type: parameter type
authmode: authentication mode
cacert: CA certificate
clientcert: client certificate
clientkey: client key
Type_name: value of the parameter
authmode:
0: No authentication
1: Manage server authentication
2: Manage server and client authentication if requested by the remote server
cacert: string, CA certificate
clientcert: string, client certificate
clientkey: string, client key
Return Value
<CR><LF>OK<CR><LF>
Example
AT+MQTTCFG=cacert,ca_cert.pem
OK
Set the mode of MQTT connection
to MQTT over TLS
Remarks
If authmode is set to 0, cacert, clientcert, and clientkey are not required anymore.

Table of Contents

Related product manuals