Read File
Limited functionality
This request is only available on the P6X terminal family.
Header | Length | Data | ||||||
---|---|---|---|---|---|---|---|---|
0x39 | 0x05 |
|
Usage
- This command can be used by the vending machine to request the read of a file from the vending machine e.g. to read logging information. The read is controlled by the terminal which will read until the vending machine returns a response with less data then requested in the length parameter.
- The vending machine can optionally use the address field to select which data to read.
- If there is only one file to read then only a value of 0 should be accepted by the Vending Machine.
The offset indicates the start position in the data to start reading. I.e. The returned data should be length bytes starting from offset.