20. Cashless VEND REQUEST
<HEADER>
<CMD>
<SUBCMD>
<PARAMETERS>
<CRC>
0xFE
0x53
0x05
<CASHLESS NUMBER> 1 byte (0x01 = cashless #1,
0x02 = cashless #2)
<VEND VALUE> - 4 bytes - the value of the selected
product to sell - MSB (for example, 0x00 0x00 0x04 0xE2
representing 1250 cents or 12.50EUR/12.50USD)
CRC
RASPIVEND answer
0xFE
0x53
0x05
0xFB – command execution failed
0xFC – command successfully executed
0xFD – command CRC error
CRC
This command will send ask the permission to sell a product using cashless. This
command requires to use POLL command to obtain the answer from the cashless device
(according to Table 5).
21. Cashless VEND SUCCESS
<HEADER>
<CMD>
<SUBCMD>
<PARAMETERS>
<CRC>
0xFE
0x53
0x06
<CASHLESS NUMBER> (0x01 = cashless #1, 0x02 =
cashless #2)
CRC
RASPIVEND answer
0xFE
0x53
0x06
0xFB – command execution failed
0xFC – command successfully executed
0xFD – command CRC error
CRC
This command must be sent after a successful vend using cashless. Following this
command, the RASPIVEND will substract the product value from the cashless credit, and
the cashless device will be instructed to substract th same amount from the customer's
credit.
22. Cashless VEND FAIL
<HEADER>
<CMD>
<SUBCMD>
<PARAMETERS>
<CRC>
0xFE
0x53
0x07
<CASHLESS NUMBER> (0x01 = cashless #1, 0x02 =
cashless #2)
CRC
RASPIVEND answer
0xFE
0x53
0x07
0xFB – command execution failed
0xFC – command successfully executed
0xFD – command CRC error
CRC
This command must be sent after a failed sale situation (due to VMC error). The cashless
will be instructed to refund the product price to the customer's account.
© 2016 – AUTOMATROM SRL – www.vendingtools.ro