You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, sorry to bother you, but I'm really racking my brain, I'm using your code to try to read banknotes from a BV20 bill acceptor, I configure the correct port to which a USB TTL adapter with Tx + RX + GNT correct cables and bill acceptor configured for SSP however I can't make it work, it gives me the timeout message: Port opened!
WITH <- 7f0001116608 null 0
TIMEOUT SYNC
my code .. :
Ubuntu 22 node 19.9.0
Hello, sorry to bother you, but I'm really racking my brain, I'm using your code to try to read banknotes from a BV20 bill acceptor, I configure the correct port to which a USB TTL adapter with Tx + RX + GNT correct cables and bill acceptor configured for SSP however I can't make it work, it gives me the timeout message: Port opened!
WITH <- 7f0001116608 null 0
TIMEOUT SYNC
my code .. :
const { SerialPort } = require('serialport');
const sspLib = require('encrypted-smiley-secure-protocol');
//const sspLib = require('./src/index');
letport;
let eSSP;
async function findDevice(vendorId = '067b') {
console.log(" LOG SerialManager Find VENDORID",vendorId);
}
async function setupSSP(devicePath) {
devicePath = '/dev/ttyUSB1';
console.log('LOG SERIAL MANAGER SETUP-SSP DEVICE = .' , devicePath);
THE SYSTEM STOP HERE HERE IS A PROBLEM >>>>>>>>>>>>>>>>>>>>>> >>");
await eSSP.open(devicePath);
console.log("SERIAL MANAGER >> TRY >> THEN OPEN >>");
}
function closeSSP() {
if (eSSP) {
eSSP.close();
eSSP = null;
}
}
module.exports = { findDevice, setupSSP, closeSSP }; Please help me!
The text was updated successfully, but these errors were encountered: