
File system API frames
Local File System Request - 0x3B
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
297
Request
Offset
Size
Frame Field
Description
5
8-bit
File System
Command
Get Path ID - 0x1C
6
16-bit
Path ID
Either 0x0000 to create a new
Path ID
, or an existing
Path
ID
to update its location.
8-n
variable
Pathname
Pathname relative to
Path ID
.
Success Response
Offset
Size
Frame Field Description
5
8-bit
File System
Command
Get Path ID x 0x1C
6
8-bit
Status
0x00 - Success
7
16-bit
Path ID
Value to use in later
File System Requests
with relative
pathnames.
9-n
variable
Full
Pathname
If short enough to fit in the frame, the full pathname (starting
with "/flash"). Deep subdirectories may return an empty field
instead of their
Full Pathname
. The
Full Pathname
will never
exceed 255 characters.
Delete - 0x2F
Description
Delete files or a directory. The entry must delete all files in a directory before you can delete the
directory.
Request
Offset
Size
Frame Field
Description
5
8-bit
File System Command
Delete - 0x2F
6
16-bit
Path ID
See
for description
8-n
variable
Path Name
Pathname
of file or empty directory to delete.
Volume Info - 0x40
Description
Get volume information: used space, available space, and unusable bytes on volume.