SARA-R422 / SARA-R5 - Application note
UBX-20044809 - R03 Contents Page 3 of 17
C1-Public
Contents
Document information ................................................................................................................................ 2
Contents .......................................................................................................................................................... 3
1 AWS IoT setup ........................................................................................................................................ 4
1.1 Policy creation .............................................................................................................................................. 4
1.2 Thing creation .............................................................................................................................................. 6
1.3 Attach policy to created thing .................................................................................................................. 9
2 u-blox module setup........................................................................................................................... 10
2.1 Store certificates in module file system ..............................................................................................10
2.1.1 AT commands procedure to store the file in the module .........................................................10
2.1.2 m-center procedure to store the file in the module ...................................................................10
2.2 Check CA, CC, and PK in the file system ..............................................................................................11
2.3 Certificates manager configuration ......................................................................................................11
2.4 Security profile configuration .................................................................................................................11
3 Example of MQTT session between module and AWS IoT ................................................... 12
3.1 Module setup: start a MQTT session and subscribe to a topic .......................................................12
3.2 Configure AWS IoT: subscribe to a topic..............................................................................................13
3.3 Module: publish a message to AWS IoT ...............................................................................................13
3.4 AWS IoT: read the received message ...................................................................................................14
3.5 AWS IoT: publish a message to module ...............................................................................................14
3.6 Module read the received message .......................................................................................................14
Appendix ....................................................................................................................................................... 15
A Glossary ................................................................................................................................................. 15
Related documentation ........................................................................................................................... 16
Revision history .......................................................................................................................................... 16
Contact .......................................................................................................................................................... 17