
RYZ014 Modules Use Cases with AT Commands
R19AN0075EU0150 Rev.1.50 Page 2 of 76
Mar.15.22
4.2 Use Cases .......................................................................................................................................23
4.2.1 Synchronous Upgrade using HTTPS Protocol.................................................................................23
4.2.2 Synchronous Upgrade using HTTPS Protocol with Certificates.......................................................24
4.2.3 Synchronous Upgrade using HTTPS Protocol and Credentials.......................................................24
4.2.4 Asynchronous Upgrade using HTTPS Protocol...............................................................................25
4.2.5 Cancel Asynchronous Upgrade with HTTPS Protocol.....................................................................26
4.2.6 Asynchronous Upgrade using FTP Protocol....................................................................................27
4.2.7 Cancel Asynchronous Upgrade with FTP protocol..........................................................................27
4.2.8 Asynchronous Upgrade though FTP using a Specific Port ..............................................................28
4.3 Error Handling..................................................................................................................................28
5. Data over UART................................................................................................................28
5.1 How to Send Data with UDP ............................................................................................................29
5.1.1 Feature Description........................................................................................................................29
5.1.2 Use Cases in Online Mode.............................................................................................................30
5.1.3 Use Cases in Command Mode.......................................................................................................30
5.1.4 Accept Any Remote Option ............................................................................................................31
5.1.5 Error Handling................................................................................................................................32
5.2 How to Send Data with TCP.............................................................................................................33
5.2.1 Feature Description........................................................................................................................33
5.2.2 Use Cases in Online Mode.............................................................................................................33
5.2.3 Use Cases in Command Mode with Text Data................................................................................35
5.2.4 Use Cases in Command Mode with Hex Data................................................................................35
5.2.5 Error Handling................................................................................................................................36
5.3 How to Send Data on HTTP Connection...........................................................................................36
5.3.1 Feature Description........................................................................................................................36
5.3.2 Use Cases with +SQNHTTP Commands........................................................................................36
5.3.3 Use Case with +SQNFGET Command...........................................................................................38
5.3.4 Use Case with +SQNFPUT Command...........................................................................................39
5.3.5 Error Handling................................................................................................................................40
5.4 How to Setup a Secure Socket Connection ......................................................................................40
5.4.1 Feature Description........................................................................................................................40
5.4.2 Use Cases.....................................................................................................................................40
5.4.3 Use Cases with Private Keys..........................................................................................................42
5.5 How to Use HTTPS AT Commands..................................................................................................42
5.5.1 Feature Description........................................................................................................................42
5.5.2 Use Cases with Certificate Validation..............................................................................................42
5.5.3 Test with no certificate in filesystem................................................................................................43
5.6 How to Use TFTP AT Commands....................................................................................................44
5.6.1 Feature Description........................................................................................................................44
5.6.2 Use Case.......................................................................................................................................44