Title
Create new category
Edit page index title
Edit category
Edit link
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
Master | Action | Slave |
|---|---|---|
D,2 | Enable Master Mode - Selection First | |
d,STATUS,RESET | Master got "Just Reset" response from Reader | |
Enable Cashless Slave | C,1 | |
Cashless Slave is On, waiting for Cashless Master to query | c,STATUS,INACTIVE | |
c,1 | ||
c,STATUS,INACTIVE | ||
r,ACK | ||
Cashless Slave is disabled | c,STATUS,DISABLED | |
r,ACK | ||
r,ACK | ||
d,STATUS,INIT,1 | INIT,1 tells you that the reader IS always idle capable | |
D,READER,1 | Enable the Reader | |
d,STATUS,IDLE | Reader is in Idle mode | |
Reader has been enabled by the Cashless Master | c,STATUS,ENABLED | |
D,REQ,1,5 | Request 1€ for product 5 from Reader | |
d,STATUS,VEND | Terminal waiting for payment | |
Master requested 1€ Credit for product 5 | c,STATUS,VEND,1.00,5 | |
Give Credit to Master | C,VEND,1,5 | |
r,ACK | ||
d,STATUS,RESULT,1,1.00 | When card is presented and the transaction authorized, "RESULT,1,<value> | |
D,END | VEND SUCCESS | |
d,STATUS,IDLE | Cashless Master back to Idle mode | |
Successful VEND | c,VEND,SUCCESS | |
Cashless Slave back to Idle State | c,STATUS,IDLE | |
Cashless Slave back to Enabled State | c,STATUS,ENABLED | |
r,ACK |
Authorization First/Credit from Card
Master | Action | Slave |
|---|---|---|
D,1 | Enable Master Mode - Authorization First | |
d,STATUS,RESET | Master got "Just Reset" response from Reader | |
Enable Cashless Slave | C,1 | |
Cashless Slave is On, waiting for Cashless Master to query | c,STATUS,INACTIVE | |
c,1 | ||
c,STATUS,INACTIVE | ||
r,ACK | ||
Cashless Slave is disabled | c,STATUS,DISABLED | |
r,ACK | ||
r,ACK | ||
d,STATUS,INIT,0 | INIT,0 tells you that the reader IS NOT always idle capable | |
D,READER,1 | Enable the Reader | |
d,STATUS,IDLE | Reader is in Idle mode | |
Reader has been enabled by the Cashless Master | c,STATUS,ENABLED | |
Give credit to the machine | C,START,1 | |
Ongoing Vending Session with 1 Credit | c,STATUS,IDLE,1 | |
r,ACK | ||
d,STATUS,CREDIT,1.00,-1 | 1 Euro have been authorized when card was swiped | |
D,REQ,1,5 | Request 1€ for product 5 from Reader | |
d,STATUS,VEND | Terminal waiting for payment | |
Master requested 1€ Credit for product 5 | c,STATUS,VEND,1.00,5 | |
Give Credit to Master | C,VEND,1 | |
r,ACK | ||
d,STATUS,RESULT,1,1.00 | When card is presented and the transaction authorized, "RESULT,1,<value> | |
D,END | VEND SUCCESS | |
d,STATUS,IDLE | Cashless Master back to Idle mode | |
Successful VEND | c,VEND,SUCCESS | |
Cashless Slave back to Idle State | c,STATUS,IDLE | |
Cashless Slave back to Enabled State | c,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
Always Idle
(C) 2024 Qibixx AG - contact us with any questions: info@qibixx.com