Copyright © Neoway Technology Co., Ltd
15.11 Setting MQTT Parameters: +MQTTCFG
AT+MQTTCFG=<type>,<type_name><CR>
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
AT+MQTTCFG=”cacert”,”ca_cert.pem”
OK
Set the mode of MQTT connection
to MQTT over TLS
If authmode is set to 0, cacert, clientcert, and clientkey are not required anymore.