
File system API frames
Local File System Request - 0x3B
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
293
Success Response
Offset
Size
Frame Field
Description
5
8-bit
File System Command
File Write - 0x04
6
8-bit
Status
Success - 0x00
7
16-bit
File Handle
Value sent in request.
9
32-bit
Current Offset
Current offset of file after writing
Data
from
Request
.
File Hash - 0x08
Description
Returns a SHA256 hash to verify a file's contents without downloading the entire file. On XBee Cellular
modules, there is a response delay in order to calculate the hash of a non-secure file.
Request
Offset
Size
Frame Field
Description
5
8-bit
File System Command
File Hash - 0x08
6
16-bit
Path ID
See
for a description.
8-n
variable
File Name
Pathname relative to
Path ID
.
Success Response
Offset
Size
Frame Field
Description
5
8-bit
File System Command
File Hash - 0x08
6
8-bit
Status
Success - 0x0
7-38
32-bytes
SHA256 Hash
Hash used to verify file contents.
Directory Create - 0x10
Description
Create a directory.
Request
Offset
Size
Frame Field
Description
5
8-bit
File System Command
Directory Create - 0x10