Does anyone successfully connected BC660K-GL with MQTTS server? I was able to connect to an MQTTS connection with BC66. But with the same certificate and combining it with MQTT and SSL Application notes for BC660 is not working for BC660K-GL. The response i get after AT+QMTCONN=<TCP_connectID>,[,[,]] is +QMTSTAT: <TCP_connectID>,1
error code is 1 which means “Connection is closed or reset by its remote peer” as per MQTT Application note.
I’ve verified the server with MQtt.fx software and it connects without any error. Also i’ve added the AT command you mensioned. But it shows the same error - +QMTOPEN: 3,-1
I have connected it. The BC660K-GL works differently than the BC66. When you send a message. It expects a prompt, then send the message, but it looks like you are having problems with the certificate.
'qsslcfg=1,5,"cacert"', # Send a cert
'qsslcfg=1,5,"seclevel",1', # Set security to client cert (1 server cert required)
'qmtcfg="ssl",0,1,1,5', # Turn on SSL
'qmtopen=0,"test.mosquitto.org",8883', # Open the MQTT broker
'qmtconn=0,"{}"',
I tested with the public Eclipse broker. and it worked on both.
I’ve also worked with BC66 with the above commands and i was able to connect to mqtts server and send messages. But now i upgraded to BC660K-GL and with the same procedure i did for BC66. but it fails on BC660K-GL
That is client specific information. I cannot share it publically. The system works the same as the publically available mqtt broker server broker.emqx.io. That is why i tried with this → Free Public MQTT Broker for IoT Testing | EMQ. There they have their specific certificates also.