Open sarathjasrin opened 5 years ago
Sample code you used?
I used the example code from the repo.
const { CCNet } = require('cashcode-bv');
let device = new CCNet.BillValidator('COM3');
async function init (){
await device.connect();
console.log(device.info);
console.log(device.billTable);
}
init()
.then(function () {
console.log('Ok.');
})
.catch(function (error) {
console.error(error);
});
Yes, there were problems with this; at the time of its creation the library did not have to correct this. In addition, the behavior of the device does not correspond to the documentation. In the second version it should be improved, but when I finish, I don’t know. There is no time allocated for this project. The new version is in the "refactoring" branch, but it is not ready.
First of all thanks for the project. You already put good amount of time creating this project hopefully you will finish soon. Till I have to wait and I have no choice. God bless you.
I tried to connect cashcode bill validator using ccnet protocol implemented in node js. I tried to enable
billTypes
it's showing any error. When I tried to print theBillTypes
it's showingenabled
asfalse
.My bill validator model: MSM-QA1112