I have system working in php, I try to get the data from scale TOLEDO S60 , in a Form HTML Using JAVASCRIPT, I try with Web USB API , but does't work
this is my code:
<a href="#" onclick="conectar()">CONECTAR</a>
<script type="text/javascript">
function conectar(){
navigator.usb.requestDevice({ filters: [{ vendorId:'0eb8' }] })
.then(device => {
console.log(device.productName);
console.log(device.manufacturerName);
})
.catch(error => { console.log(error); });
}
</script>
I got this response from Chrome: enter image description here
this is the Scale Information: enter image description here
this is the scale webpage --> https://www.mt.com/us/en/home/phased_out_products/Transport_and_Logistics_Solutions/postal_scales_transp_log/PS_family_transp_logistic/PS60_Scale.html