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.
Format
| Offset | Size | Frame Field | Description |
|---|---|---|---|
5 |
8-bit |
File System Command |
File Hash - 0x08 |
6 |
16-bit |
Path ID |
See Get Path ID - 0x1C 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 - 0x00 |
7-38 |
32-bytes |
SHA256 Hash |
Hash used to verify file contents. |