10. MDBSetMaxCredit
GUI command
Command
Parameters/Comments
MDBSetMaxCredit(“NNNN”)
Maximum MDB credit accepted
- 32 bit positive value
When there is a bill in escrow, where <current_MDB_Credit> +
<MDB_escrow_bill_value> is bigger than NNNN, then that bill wil
be returned to the customer.
For coins, your application must disable the coin
acceptor/changer, once the maximum credit is reached.
The value is multiplied by the 100 scaling factor (for example, for
1EUR you have to set this value to 100).
RASPIVEND daemon answer
Answer
Parameters/Comments
{"MDBSetMaxCredit":"NNNN"}
This command will return the value you have sent. For safety
reasons (eliminate the communication errors), you must commit
this action with MDBSetMaxCreditOK, after you verify that the
returned value is the same with the sent value.
11. MDBSetMaxCreditOK
GUI command
Command
Parameters/Comments
MDBSetMaxCreditOK
[none]
RASPIVEND daemon answer
Answer
Parameters/Comments
{"MDBSetMaxCreditOK":"success"}
or
{"MDBSetMaxCreditOK":"failed"}
This command will commit the change of the MaxCredit variable
on the RASPIVEND board.
© 2016 – AUTOMATROM SRL – www.vendingtools.ro
Содержание RASPIVEND
Страница 22: ...2016 AUTOMATROM SRL www vendingtools ro...
Страница 51: ...NOTES 2016 AUTOMATROM SRL www vendingtools ro...