3. Send credit to the machine - METSENDCREDIT(value)
This command sends a credit to the machine (not scaled value)
Command
Example, sending EUR1.60 to the machine
METSENDCREDIT(160)
Device response
{"DeviceResponse": "Acknowledge","MessageID": 101}
{"Error": "Syntax Error","ErrorCode": 1001}
{"Error": "Unknown command","ErrorCode": 1002}
4. Return change from the machine - METSENDCHANGE(value)
This command returns change (not scaled value)
Command
Example, return EUR1.60 from changer
METSENDCHANGE(160)
Device response
{"DeviceResponse": "Acknowledge","MessageID": 101}
{"Error": "Syntax Error","ErrorCode": 1001}
{"Error": "Unknown command","ErrorCode": 1002}
5. Get device status - METGETSTATUS
This command returns a JSON corresponding to the peripherals and counters status.
Command
METGETSTATUS
Device response
{DeviceMessage": "DeviceStatus",
"DeviceName": "PICOBRDGEXEMDB ",
"BillStatus": [144,0,128,0,144,0,128,0],
"CoinStatus": [0,1,2,0,1,0,1,0],
"CashlessStatus": [0,0,0,0,0,0,0,0],
"VMCStatus": [0,0,0,0],
"CoinsCounter": 4294967295,
"BillsCounter": 700,
"CashlessCounter": 4294967295,
"ChangeCounter": 300,
"AvailableChange": 8720,
"Button1": "NotPressed",
"Button2": "NotPressed",
"CurrentCashCredit": 0,
"CurrentCashlessCredit": 0,
"CurrentTemperature": 0.0,
"SerialNumber": "d880399756ca"}
This device has no buttons input circuits, it will always return “NotPressed” for buttons – kept for protocol compatibility
This device has no temperature sensor, it will always return 0.00 – kept for protocol compatibility
6. Device reset - METRESET
This command will reset the device
Command
METRESET
Device response
{"DeviceResponse": "Acknowledge","MessageID": 101}
{"Error": "Syntax Error","ErrorCode": 1001}
{"Error": "Unknown command","ErrorCode": 1002}
© - 2018 – AUTOMATROM SRL –