17. MDBPoll
GUI command
Command
Parameters/Comments
MDBPoll
[none]
RASPIVEND daemon answer
Answer
Parameters/Comments
{
"Type":"Poll",
"CurrentCreditCash":"0",
"CurrentCreditCashless":"0",
"BillStat":"0B000B00",
"CoinStat":"00000200",
"CashlessStat":"FFFFFFFF",
"CashlessID":"FFFFFFFF"
}
This command will return the current MDB module's information.
It is recommended to issue this command at least twice a
second while the transaction is opened (when the payment
systems are enabled), to check the current credit and to disable
the payment systems when the credit is the same or bigger than
the selected product price.
- <CurrentCreditCash> is the accumulated cash credit;
- <CurrentCreditCashless> is the credit available on the
customer's cashless payment media;
- <BilStat> contains the last 4 hexadecimal bill validator status
codes (according with the Table 2 on page 14). The leftmost
value is the older one.
- <CoinStat> contains the last 4 hexadecimal coin acceptor
status codes (according with the Table 3 on page 15). The
leftmost value is the older one.
- <CaslessStat> contains the last 4 hexadecimal cashless
devices status codes (according with the Table 4 on page 16).
The leftmost value is the older one.
- <CashlessID> contains the internal ID of the customer's media.
You can use this for tracking purposes.
It is recommended to keep an eye on this informations during the
transaction. When there is no transaction open it is
recommended to periodically poll this status variable to detect
payment systems jam.
If a payment system was not initialized, it's corresponding status
variable will have “FFFFFFFF” value.
18. MDBResetStatus
GUI command
Command
Parameters/Comments
MDBResetStatus
[none]
RASPIVEND daemon answer
Answer
Parameters/Comments
{"MDBResetStatus":"success"}
or
{"MDBResetStatus":"failed"}
This command will set to “00000000” all MDB payment system
status variables.
If a payment system was not initialized, it's corresponding status
variable will have “FFFFFFFF” value.
© 2016 – AUTOMATROM SRL – www.vendingtools.ro
Содержание RASPIVEND
Страница 22: ...2016 AUTOMATROM SRL www vendingtools ro...
Страница 51: ...NOTES 2016 AUTOMATROM SRL www vendingtools ro...