HI there!
I use the Thnigsboard platform, with one way SSL, with just one certificate and an acces token “ZTVQUhvnRAPYRbw9O20x”
Using Mosquitto on Win10 I can connect to the platform with:
mosquitto_pub -d -h “thingsboard_server_address” -t “v1/devices/me/telemetry” -u “ZTVQUhvnRAPYRbw9O20x” -f “telemetry-data-as-object.json” -d --cafile mqttserver.pub.pem -p 8883 --insecure
With BG96, 06:08:17.488 → Quectel BG96, Revision: BG96MAR02A07M1G
AT+QMTCFG=“SSL”, 0, 1, 2
AT+QFUPL=“ufs:mqttserver.pub.pem”,1258,100
AT+QSSLCFG=“cacert”,2,“ufs:mqttserver.pub.pem”
AT+QSSLCFG=“seclevel”,2,1
AT+QSSLCFG=“sslversion”,2,4
AT+QMTCFG=“version”,0,4
AT+QSSLCFG=“ciphersuite”,2,0XFFFF
AT+QSSLCFG=“ignorelocaltime”,1
AT+QMTOPEN=2, “thingsboard_server_address”,8883
AT+QMTCONN=2,“thingsboard_server_address”, “ZTVQUhvnRAPYRbw9O20x”
I get the error “+QMTSTAT: 2,1” I’m not sure if I use the proper connection method
These commands do not work either, but they are correct?
AT+QMTSUB=2,1,$v1/devices/me/attributes",2
AT+QMTPUB=2,0,0,0,v1/devices/me/telemetry"
All the best!