User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
Contents
Page 9 of 401
16.1Introduction...................................................................................................................................................187
16.2GPIO select configuration command +UGPIOC.................................................................................... 192
16.3GPIO read command +UGPIOR................................................................................................................ 194
16.4GPIO set command +UGPIOW................................................................................................................. 195
17File System.................................................................................................................... 196
17.1File tags..........................................................................................................................................................196
17.2Download file +UDWNFILE........................................................................................................................198
17.3List files information +ULSTFILE............................................................................................................ 199
17.4Read file +URDFILE....................................................................................................................................200
17.5Partial read file +URDBLOCK...................................................................................................................200
17.6Delete file +UDELFILE................................................................................................................................201
17.7Partial download file +UDWNBLOCK......................................................................................................202
17.8File system limits....................................................................................................................................... 202
18DNS..................................................................................................................................204
18.1Resolve name / IP number through DNS +UDNSRN............................................................................204
19Internet protocol transport layer...........................................................................206
19.1Introduction..................................................................................................................................................206
19.2IPv4/IPv6 addressing................................................................................................................................. 206
19.3Create Socket +USOCR............................................................................................................................ 207
19.4SSL/TLS/DTLS mode configuration on TCP/UDP socket +USOSEC...............................................208
19.5Set socket option +USOSO......................................................................................................................209
19.6Get Socket Option +USOGO......................................................................................................................211
19.7Close Socket +USOCL................................................................................................................................ 212
19.8Get Socket Error +USOER.........................................................................................................................213
19.9Connect Socket +USOCO..........................................................................................................................213
19.10Write socket data +USOWR................................................................................................................... 214
19.11SendTo command (UDP only) +USOST.................................................................................................216
19.12Read Socket Data +USORD.....................................................................................................................218
19.13Receive From command (UDP only) +USORF......................................................................................219
19.14Set Listening Socket +USOLI................................................................................................................. 221
19.15HEX mode configuration +UDCONF=1..................................................................................................222
19.16Set socket in Direct Link mode +USODL.............................................................................................222
19.17UDP Direct Link Packet Size configuration +UDCONF=2................................................................. 224
19.18UDP Direct Link Sending timer configuration +UDCONF=3............................................................ 225
19.19Timer Trigger configuration for Direct Link +UDCONF=5................................................................225
19.20Data Length Trigger configuration for Direct Link +UDCONF=6...................................................226
19.21Character trigger configuration for Direct Link +UDCONF=7..........................................................226
19.22Direct Link disconnect DSR line handling +UDCONF=10................................................................. 227
19.23Socket control +USOCTL........................................................................................................................227
19.24Configure Dormant Close Socket Behavior +USOCLCFG................................................................ 229
20Device and data security......................................................................................... 230
20.1Introduction................................................................................................................................................. 230
20.2Device security...........................................................................................................................................230
20.3Data security.............................................................................................................................................. 233
21FTP................................................................................................................................... 254
21.1FTP service configuration +UFTP............................................................................................................254
21.2FTP command +UFTPC.............................................................................................................................257
21.3FTP error +UFTPER................................................................................................................................... 260
22HTTP................................................................................................................................261
22.1HTTP control +UHTTP............................................................................................................................... 261
22.2HTTP advanced control+UHTTPAC.......................................................................................................264
22.3HTTP command +UHTTPC......................................................................................................................265
22.4HTTP protocol error +UHTTPER.............................................................................................................267
23Positioning.................................................................................................................... 269
23.1NMEA............................................................................................................................................................ 269