
File system API frames
Local File System Response - 0xBB
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
299
Offset
Size
Frame Field
Description
0
8-bit
Start Delimiter
Indicates the start of an
API frame.
1
16-bit
Length
Number of bytes between the
length and checksum.
3
8-bit
Frame type
Local File System Response -
0xBB
4
8-bit
Frame ID
Frame ID value from the
corresponding Local File System
Request.
5
8-bit
File System Command
See
for
valid command values.
6
8-bit
Status
See
for description.
7-n
variable
Response Data
Variable content based on
File
System Command
. Only present
if
Status
is 0 and the command
has additional data to provide.
EOF
8-bit
Checksum
0xFF minus the 8-bit sum of bytes
from offset 3 to this byte
(between length and checksum).
Status Values
Value
Command
0x00
Success
0x01
Error
0x02
Invalid File System Command
0x03
Invalid command parameter
0x50
Access denied
0x51
File/Directory already exists
0x52
File/Directory does not exist
0x53
Invalid name
0x54
File operation on directory
0x55
Cannot delete non-empty directory
0x56
Attempt to read past EOF (end of file)