![Ublox SARA-R4 Series Скачать руководство пользователя страница 174](http://html2.mh-extra.com/html/ublox/sara-r4-series/sara-r4-series_command-manual_3309881174.webp)
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.
table lists the allowed <tag> strings.
<filename1>,..,
<filenameN>
String
File name. For file system file name and data size limits see
<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-R412M
Modules
SARA-N4
Syntax
PIN required
Settings saved Can be aborted
Response time Error reference
Attributes
partial
No
No
No
-
16.4.1 Description
Retrieves a file from the file system.
SARA-R4 / SARA-N4
If the HW flow control is disabled (
), 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
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
.
<tag>
String
The optional parameter <tag> specifies a different application file type.
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.