Description
The XBee module sends this frame in response to a Local File System Request - 0x3B frame sent with a non-zero Frame ID. The contents of the variable-length Response Data field appear in the documentation for each File System Command.
Format
The following table provides the contents of the frame. For more details on frame structure, see API Frames.
| 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 |
0x3B |
4 |
8-bit |
Frame ID |
Identifies the data frame for the host to correlate with a subsequent response. |
5 |
8-bit |
File System Command |
See Local File System Requst - 0x03B for valid command values. |
6 |
8-bit |
Status |
See Status Values for description. |
7 |
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) |
0x57 |
Hardware failure |
0x58 |
Volume offline/format required |
0x59 |
Volume full |
0x5A |
Operation timed out |
0x5B |
Busy (wait for prior command to complete then try again) |
0x5C |
Resource failure (memory allocation failed, try again) |