User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
17File System
Page 200 of 401
Parameter Type Description
<filename1>,..,
<filenameN>
String File name. For file system file name and data size limits see File system limits.
<free_fs_space> Number Available free space on FS in bytes.
<file_size> Number Size of the file specified with the <filename> parameter.
<param1> Number /
String
Type and supported content depend on related <op_code> (details are given above).
<param2> Number /
String
Type and supported content depend on related <op_code> (details are given above).
17.4Read file +URDFILE
+URDFILE
Modules All products
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
partial No No No - +CME Error
17.4.1Description
Retrieves a file from the file system.
SARA-R4 / SARA-N4
If the HW flow control is disabled (AT+IFC), a data loss could be experienced. So the HW flow control usage
is strongly recommended. If HW flow control is not supported, the use of +URDBLOCK is recommended.
17.4.2Syntax
Type Syntax Response Example
Set AT+URDFILE=<filename>[,<tag>] +URDFILE: <filename>,<size>,
<data>
OK
AT+URDFILE="filename"
+URDFILE: "filename",36,"these
bytes are the data of the file"
OK
17.4.3Defined values
Parameter Type Description
<filename> String File name. For file system file name and data size limits, see File system limits.
<tag> String The optional parameter <tag> specifies a different application file type. FILE TAGS
table lists the allowed <tag> strings.
<size> Number File size, in bytes.
<data> String File content.
17.4.4Notes
The returned file data is displayed as an ASCII string of <size> characters in the range [0x00,0xFF]. At
the end of the string, <CR><LF> are provided for user convenience and visualization purposes.
17.5Partial read file +URDBLOCK
+URDBLOCK
SARA-R410M-02B SARA-R410M-52B SARA-R410M-63B SARA-R410M-73B SARA-R410M-83B
SARA-R412M
Modules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
partial No No No - +CME Error
17.5.1Description
Retrieves a file from the file system.