in Education by
I'm trying to publish my data to Amazon web services using BG96 (NB-IoT device that use AT commands) I'm following the official documentation (Quectel) so I configure SSL parameters ( with the command : at+ qsslcfg=...) and start MQTT SSL connection successfully (AT+QMTOPEN=...) but when I try to connect to MQTT server( AT+QMTCONN=...), the connection is closed immediately Please help,how can I fix this problem and publish my data to Amazon web services ? AT+QSSLCFG="ciphersuite",1,0x0035 OK AT+QSSLCFG="sslversion",1,3 OK AT+QSSLCFG="cacert",1,"ufs:cacert.pem" OK AT+QSSLCFG="clientcert",1,"ufs:clientcert.pem" OK AT+QSSLCFG="clientkey",1,"ufs:clientkey.pem" OK AT+QSSLCFG="seclevel",1,2 OK AT+QSSLCFG="negotiatetime",1,300 OK AT+QSSLCFG="ignorelocaltime",1,0 OK //Configure MQTT session into SSL mode. AT+QMTCFG=”SSL”, 0, 1, 1 //Start MQTT SSL connection AT+QMTOPEN=0, "a2xxxxxxxxxzxx.iot.us-east-1.amazonaws.com",”8883” OK // ok +QMTOPEN: 0,0 // means the connction is starts succsesfully //Connect to MQTT server AT+QMTCONN=0,"bg96" ok +QMTSTAT 0,1 //but this message means that the connection is closed JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
I had the same problem here with BG96, MQTTS over port 8883. My solution with this modem is to force the MQTT version to "v4", according to the AT MQTT Manual. So, after your AT+QMTCFG=”SSL”, 0, 1, 1, try using AT+QMTCFG="version",0,4, then open the connection and authenticate.

Related questions

0 votes
    What are different layers of the IoT protocol stack? Write the classification of IoT protocols?...
asked Jan 18, 2023 in Technology by JackTerrance
0 votes
    I'm trying to set up an Amazon Linux AMI(ami-f0091d91) and have a script that runs a copy command to copy ... what is going on? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I am trying to use aws container service as per the documentation in http://docs.aws.amazon.com/AmazonECS/latest/ ... in a console? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I'm trying to deploy a Docker container image to AWS using ECS, but the EC2 instance is not being created. I have ... , to begin with!! Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    Hello I am trying to upload some files to the amazon S3 bucket but I am facing an error that the key is ... 't exist Please help. Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    Amazon S3 can be integrated with Jenkins using __ feature. Publish artifacts Extract artifacts All of the options Read artifacts Select the correct answer from above options...
asked Dec 17, 2021 in Education by JackTerrance
0 votes
    SSH for my AWS server is not working for Filezilla and Putty. Error: Disconnected : No supported authentication ... /authorized_keys - Select the correct answer from above options...
asked Jan 24, 2022 in Education by JackTerrance
0 votes
    I have neo4j-server installed on remote linux server. This server using nginx and has virtual host. Here is ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 5, 2022 in Education by JackTerrance
0 votes
    ____________ is the NiFi element that is utilized to monitor incoming data, pull data from outside sources, publish data ... the options (2)Connection (3)Processor (4)Relationship...
asked Apr 18, 2021 in Technology by JackTerrance
0 votes
    I have an Android paho MQTT client that listens for sensor data and alerts the user in case of any ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    I am using MQTT client library from this link https://www.hivemq.com/blog/mqtt-client-library-encyclopedia- ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 9, 2022 in Education by JackTerrance
0 votes
    I am new to VSTS and I am trying to get a msbuild task to publish a SQL Server project using a ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 21, 2022 in Education by JackTerrance
0 votes
    I am trying to fetch some data from the GitHub GraphQL but I get a GaphQLError. I have tried the ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 19, 2022 in Education by JackTerrance
0 votes
    I'm getting this error when trying to add products to google content, my google account seems ok the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 13, 2022 in Education by JackTerrance
...