Raspberry PI Hat and AWS-IOT

Hi
I am using a RPI 3+ with the sixfab cellular iot hat.
I want to send data to AWS-IOT with x509 certificate using AT MQTT commands.
What’s the way to upload certificate on the BG96 : AT+QFUPL command or have to use QEFS explorer?

thank’s for help
Michel

Hi Michel,

Please follow the section 6.2 of BG96 MQTT Application note for uploading certificate.

Thanks for this information.
I am now hable to upload certificate on ufs using AT+QFUPL but now I get an error when trying to publish to AWS-IOT using AT+QMTPUB
Has anayone had a working example with AWS-IOT
Thank’s for help

Michel,

Do you have any error code or log?

Hi,
No error code, just using the following AT command and hafter sending AT+QMTOPEN I receive OK and nothing more!

Michel

AT+QSSLCFG=“ciphersuite”,1,0x0035
AT+QSSLCFG=“sslversion”,1,3
AT+QSSLCFG=“cacert”,1,“ufs:cacert.pem”
AT+QSSLCFG=“clientcert”,1,“ufs:clientcert.pem”
AT+QSSLCFG=“clientkey”,1,“ufs:clientkey.pem”
AT+QSSLCFG=“seclevel”,1,2

AT+QSSLCFG=“negotiatetime”,1,300

AT+QSSLCFG=“ignorelocaltime”,1,0
//Configure MQTT session into SSL mode.
AT+QMTCFG=”SSL”, 0, 1, 1
//Start MQTT SSL connection
AT+QMTOPEN=1, “a2xxxxxxxxxzxx.iot.us-east-1.amazonaws.com”,”8883”
AT+QMTCONN=1,”MyThing”
AT+QMTPUBEX=1,0,0,0, “$aws/things/MyThing/shadow/update”, “mydata”

Hi Mitchel,
please share a python code example, how you working with MQTT on AWS

thanks in advance,