Directory Open - 0X11 - Digi XBee 3 Cellular LTE-M User Manual

Smart modem
Table of Contents

Advertisement

File system API frames
Offset
Size
6
16-bit
8-n
variable

Directory Open - 0x11

Description
Used with
Directory Read
directory:
1. Send a Directory Open Request.
2. Parse multiple entries from the Response.
3. If the last entry has the ENTRY_IS_LAST flag set, the listing is complete and the Directory
Handle was automatically released.
4. If the listing is not complete, do one of the following:
Send a
n
Send a
n
Request
Offset
Size
5
8-bit
6
16-bit
8-n
variable
Success Response
A Directory Open Request sends a response identical to a
directory returns a single entry with only the ENTRY_IS_LAST flag set, and a 0-byte Entry Name. A
response ending with an ENTRY_IS_LAST flag automatically closes the Directory Handle.
Offset
Size
5
8-bit
6
16-bit
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
Frame Field
Path ID
Directory Name
to list files and directories in a given directory. To get a listing of entries in a
Directory Read Request
to get additional directory entries
Directory Close Request
to release the Directory Handle.
Frame Field
Description
File System
Directory Open 0x10
Command
Path ID
See command
Directory Name
Pathname relative to Path ID, or empty to get a file
listing for the Path ID.
Frame Field
File System
Command
Status
Local File System Request - 0x3B
Description
See command
description.
Pathname relative to Path ID. The
parent directory of the directory to
create must exist, for example, you must
create all intermediate directories via
separate requests.
Get Path ID - 0x1C
Directory Read
Description
Directory Read - 0x13 or Directory Open - 0x11,
depending on request.
Success - 0x00
Get Path ID - 0x1C
for
for description.
Request. An empty
294

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents