14. Poll credit and devices status
<HEADER>
<CMD>
<SUBCMD>
<PARAMETERS>
<CRC>
0xFE
0x50
0x01
[none]
0xAF
RASPIVEND answer
0xFE
0x50
0x01
- <CURRENT CREDIT CASH> - 4 bytes MSB (for
example, 0x00 0x00 0x04 0xE2 representing 1250 cents
or 12.50EUR/12.50USD)
- <CURRENT CREDIT CASHLESS> - 4 bytes MSB (for
example, 0x00 0x00 0x04 0xE2 representing 1250 cents
or 12.50EUR/12.50USD)
- <BILL validator status> - 4 byte, according to MDB bill
validators status (see Table 3) – this register contains last
4 bill validator status. If the register has the value
0xFFFFFFFF, then the bill validator is not initialized. The
rightmost byte of this register is the last status.
- <COIN acceptor/changer status> - 4 bytes, according to
MDB coin acceptors/changers status (see Table 4)
- <CASHLESS #1 status> - 4 bytes, according to the
MDB cashless status (see Table 5)
- <CASHLESS #2 status> - 4 bytes, according to the
MDB cashless status (see Table 5)
- <CASHLESS MEDIA ID> - 4 bytes, card/tag serial
number
CRC
This command must be run periodically, at least one per second, to interrogate the
payment systems status and to take all needed decisions.
© 2016 – AUTOMATROM SRL – www.vendingtools.ro