14. MDBSetChange
GUI command
Command
Parameters/Comments
MDBSetChange(“NNNN”)
Set the value of the change that MDB module will return when
the MDBSetChangeOK command will be issued.
- 32 bit positive value
This value must be set before any change return action
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
{"MDBSetChange":"NNNN"}
This command will return the value you have sent. For safety
reasons (eliminate the communication errors), you must commit
this action with MDBSetChangeOK, after you verify that the
returned value is the same with the sent value.
15. MDBSetChangeOK
GUI command
Command
Parameters/Comments
MDBSetChangeOK
[none]
RASPIVEND daemon answer
Answer
Parameters/Comments
{"MDBSetChangeOK":"success"}
or
{"MDBSetChangeOK":"failed"}
This command will commit the MDBSetChange command and
will try to return the requested amount to the customer.
You need to check the changer status by repeatedly issuing the
MDBPoll command and parsing the changer status variable.
This variable will be described on MDBPoll section.
16. MDBCreditReset
GUI command
Command
Parameters/Comments
MDBCreditReset
[none]
RASPIVEND daemon answer
Answer
Parameters/Comments
{"MDBCreditReset":"success"}
or
{"MDBCreditReset":"failed"}
This command will set the CurerntCreditCash variable to 0.
It is recommended to use this command before activating the
payment systems on each transaction.
© 2016 – AUTOMATROM SRL – www.vendingtools.ro
Содержание RASPIVEND
Страница 22: ...2016 AUTOMATROM SRL www vendingtools ro...
Страница 51: ...NOTES 2016 AUTOMATROM SRL www vendingtools ro...