Vending Sessions Examples

This section will provide several tutorials to use Qibixx' products for the most typical use cases.

Capital "C" messages are sent out to the MDB Interface/Pi Hat and are used to control Cashless Slave

Lower Case "c" messages are answers from the Cashless Slave on the MDB Interface/Pi Hat

Capital "D" messages are sent out to the MDB Interface/Pi Hat and are used to control Cashless Master

Lower Case "d" messages are answers from the Cashless Master on the MDB Interface/Pi Hat

"r,ACK" Messages are part of the Cashless Slave replies, meaning that the VMC (Cashless Master) sent some query to the Slave.

Selection First/Always Idle Mode

MasterActionSlave
D,2Enable Master Mode - Selection First
d,STATUS,RESETMaster got "Just Reset" response from Reader
Enable Cashless SlaveC,1
Cashless Slave is On, waiting for Cashless Master to queryc,STATUS,INACTIVE
c,1
c,STATUS,INACTIVE
r,ACK
Cashless Slave is disabledc,STATUS,DISABLED
r,ACK
r,ACK
d,STATUS,INIT,1INIT,1 tells you that the reader IS always idle capable
D,READER,1Enable the Reader
d,STATUS,IDLEReader is in Idle mode
Reader has been enabled by the Cashless Masterc,STATUS,ENABLED
D,REQ,1,5Request 1€ for product 5 from Reader
d,STATUS,VENDTerminal waiting for payment
Master requested 1€ Credit for product 5c,STATUS,VEND,1.00,5
Give Credit to MasterC,VEND,1,5
r,ACK
d,STATUS,RESULT,1,1.00When card is presented and the transaction authorized, "RESULT,1,<value>
D,ENDVEND SUCCESS
d,STATUS,IDLECashless Master back to Idle mode
Successful VENDc,VEND,SUCCESS
Cashless Slave back to Idle Statec,STATUS,IDLE
Cashless Slave back to Enabled Statec,STATUS,ENABLED
r,ACK

Authorization First/Credit from Card

MasterActionSlave
D,1Enable Master Mode - Authorization First
d,STATUS,RESETMaster got "Just Reset" response from Reader
Enable Cashless SlaveC,1
Cashless Slave is On, waiting for Cashless Master to queryc,STATUS,INACTIVE
c,1
c,STATUS,INACTIVE
r,ACK
Cashless Slave is disabledc,STATUS,DISABLED
r,ACK
r,ACK
d,STATUS,INIT,0INIT,0 tells you that the reader IS NOT always idle capable
D,READER,1Enable the Reader
d,STATUS,IDLEReader is in Idle mode
Reader has been enabled by the Cashless Masterc,STATUS,ENABLED
Give credit to the machineC,START,1
Ongoing Vending Session with 1 Creditc,STATUS,IDLE,1
r,ACK
d,STATUS,CREDIT,1.00,-11 Euro have been authorized when card was swiped
D,REQ,1,5Request 1€ for product 5 from Reader
d,STATUS,VENDTerminal waiting for payment
Master requested 1€ Credit for product 5c,STATUS,VEND,1.00,5
Give Credit to MasterC,VEND,1
r,ACK
d,STATUS,RESULT,1,1.00When card is presented and the transaction authorized, "RESULT,1,<value>
D,ENDVEND SUCCESS
d,STATUS,IDLECashless Master back to Idle mode
Successful VENDc,VEND,SUCCESS
Cashless Slave back to Idle Statec,STATUS,IDLE
Cashless Slave back to Enabled Statec,STATUS,ENABLED
r,ACK

How to give credit to a machine on Authorization First/Always Idle

Commands sequence:

  • D,1 or D,2
  • C,1
  • D,READER,1
  • C,START,1 - run this command or swipe the card

MDB 4.3 Remote Product Selection

This is only possible if the vending machine is compliant with MDB 4.3

Cashless Peripheral
Copy

Always Idle

Always Idle
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard