User Manual

Table Of Contents
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R11
Contents
Page 9 of 308
16.6Delete file +UDELFILE................................................................................................................................ 176
16.7Partial download file +UDWNBLOCK.......................................................................................................177
16.8File system limits........................................................................................................................................178
17DNS................................................................................................................................... 179
17.1Resolve name / IP number through DNS +UDNSRN.............................................................................179
18Internet protocol transport layer............................................................................ 181
18.1Introduction................................................................................................................................................... 181
18.2IPv4/IPv6 addressing...................................................................................................................................181
18.3Create Socket +USOCR.............................................................................................................................182
18.4SSL/TLS mode configuration on TCP socket +USOSEC....................................................................183
18.5Set socket option +USOSO...................................................................................................................... 184
18.6Get Socket Option +USOGO.....................................................................................................................185
18.7Close Socket +USOCL................................................................................................................................187
18.8Get Socket Error +USOER........................................................................................................................ 188
18.9Connect Socket +USOCO..........................................................................................................................188
18.10Write socket data +USOWR................................................................................................................... 189
18.11SendTo command (UDP only) +USOST..................................................................................................191
18.12Read Socket Data +USORD.................................................................................................................... 193
18.13Receive From command (UDP only) +USORF......................................................................................194
18.14Set Listening Socket +USOLI................................................................................................................. 195
18.15HEX mode configuration +UDCONF=1.................................................................................................. 196
18.16Set socket in Direct Link mode +USODL..............................................................................................197
18.17UDP Direct Link Packet Size configuration +UDCONF=2..................................................................198
18.18UDP Direct Link Sending timer configuration +UDCONF=3.............................................................199
18.19Timer Trigger configuration for Direct Link +UDCONF=5................................................................ 199
18.20Data Length Trigger configuration for Direct Link +UDCONF=6...................................................200
18.21Character trigger configuration for Direct Link +UDCONF=7.......................................................... 201
18.22Congestion timer configuration for Direct Link +UDCONF=8.........................................................201
18.23Socket control +USOCTL....................................................................................................................... 202
18.24Configure Dormant Close Socket Behavior +USOCLCFG................................................................203
19SSL/TLS.........................................................................................................................204
19.1Introduction..................................................................................................................................................204
19.2SSL/TLS certificates and private keys manager +USECMNG..........................................................204
19.3SSL/TLS security layer profile manager +USECPRF.......................................................................... 207
19.4AT+USECMNG command example.........................................................................................................210
19.5Notes.............................................................................................................................................................. 211
20FTP...................................................................................................................................212
20.1FTP service configuration +UFTP............................................................................................................212
20.2FTP command +UFTPC............................................................................................................................ 214
20.3FTP error +UFTPER................................................................................................................................... 217
21HTTP.................................................................................................................................218
21.1HTTP control +UHTTP................................................................................................................................218
21.2HTTP advanced control+UHTTPAC........................................................................................................ 221
21.3HTTP command +UHTTPC...................................................................................................................... 222
21.4HTTP protocol error +UHTTPER............................................................................................................. 224
22GNSS...............................................................................................................................225
22.1NMEA............................................................................................................................................................ 225
22.2GNSS power management +UGPS........................................................................................................ 225
22.3Assisted GNSS unsolicited indication +UGIND................................................................................... 227
22.4GNSS profile configuration +UGPRF..................................................................................................... 228
22.5Aiding server configuration +UGSRV....................................................................................................230
22.6GNSS aiding request command +UGAOS.............................................................................................231
22.7Send of UBX string +UGUBX................................................................................................................... 232
22.8GNSS indications timer +UGTMR..........................................................................................................233
22.9Get GNSS time and date +UGZDA........................................................................................................ 233
22.10Get GNSS fix data +UGGGA.................................................................................................................. 234