EasyManua.ls Logo

Ublox SARA-R4 Series - Read File +URDFILE

Ublox SARA-R4 Series
307 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09
16File System
Page 174 of 307
Parameter Type Description
1: gets the free space for the specific <tag> file type
2: gets the file size expressed in bytes, belonging to <tag> type (if specified)
<tag> String Specifies the application file type. FILE TAGS table lists the allowed <tag> strings.
<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).
16.4Read file +URDFILE
+URDFILE
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
partial No No No - +CME Error
16.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.
16.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
16.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.
16.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.

Table of Contents

Other manuals for Ublox SARA-R4 Series

Related product manuals