Auto-port-search finally fixed!
- had to rewrite both (html+JS) functions to async !
- added try-catch for error handling
- response naming changed to
path ! (had to debug for hours...)
- added logs to both browser's console & node-red-log (console)
Available Ports: [
{
path: 'COM3',
manufacturer: 'Microsoft',
serialNumber: '6&35CA52AB&0&0000',
pnpId: 'USB\\VID_2E8A&PID_00C0&MI_00\\6&35CA52AB&0&0000',
locationId: '0000.0014.0000.001.000.000.000.000.000',
friendlyName: 'Soros USB-eszköz (COM3)',
vendorId: '2E8A',
productId: '00C0'
}
]
1 Like