Skip to main content

Read File

Limited functionality

This request is only available on the P6X terminal family.

HeaderLengthData
0x390x05
1 byteFile Address
2 bytesOffset 0x0000 - 0xFFFF
2 bytesLength 0x0000 - 0xFFFF

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.

Response

Read File Response