1 | initial version |
AT+CGATT=1 AT+CGDCONT=1,"IP","<apn name="">","0.0.0.0",0,0
AT+SMCONF="URL","<aws iot="" endpoint="">" AT+SMCONF="Port",<mqtts port=""> AT+SMCONF="Cli","<client id="">" AT+SMCONF="User","<username>" AT+SMCONF="Pass","<password>" AT+SMCONF="Lwt","<topic>,<message>,<qos>,<retain>"
AT+WSSSL=1
AT+SMCONN
AT+SMPUB="<topic>","<message>",<qos>,<retain>
AT+SMSUB="<topic>",<qos>
Note: Make sure to replace the placeholders with actual values, and use the appropriate AT command syntax for your module.