Request
Response
AT+mqttCreate=[clientID], [flags], [server address],
[server port], [security method], [cipher] [private key],
[CA], [DH key], [protocol], [blocking send], [data
format]
+mqttCreate:[index] or error
Arguments:
-client ID: MQTT client ID string
index-client handle used for all
other MQTT operations
-flags (bit mask): ip4 = IPv4 connection, ip6 = IPv6
connection, url = server address is an URL, sec =
secure connection skip_domain_verify,
skip_cert_verify, skip_date_verify
-server address: IP or URL
-server port: 0-65535
-security method: SSLV3, TLSV1, TLSV1_1,
TLSV1_2, TLSV1_1, SSLV3_TLSV1_2 (mandatory if
sec flag)
-cipher: cipher type see table
(optional)
-private key: Full path to key file (optional)
-certificate: Full path to certificate (optional)
-CA: Full path to CA (optional)
-DH key: Full path to Diffie Hellman key (optional)
-protocol: v3_1 = MQTT version 3.1, v3_1_1 = MQTT
version 3.1.1
-blocking send: 0 = do not wait for server response, 1
= wait for server response
-data format: set globally for all further commands, 0
= bin, 1 = Base64
Table 75: AT+MqttCreate
Request
Response
AT+mqttDelete=[index]
OK or error
Arguments:
index: client handle
Table 76: AT+MqttDelete
Calypso reference manual version 1.2
© April 2019
www.we-online.com/wireless-connectivity
67