cordovarduino icon indicating copy to clipboard operation
cordovarduino copied to clipboard

Baud rate 57600 currently not supported

Open joeyoyo opened this issue 5 years ago • 0 comments

Describe the bug I try to connect the board,but the baud rate 57600 is not supported. because my board is set to be baud rate 57600

var openSe = document.getElementById('openSe'); var errorCallback = function(message) { alert('Error: ' + message); }; openSe.onclick = function() { serial.requestPermission( function(successMessage) { serial.open({ baudRate: 57600 }, function(successMessage) { open = true; }, errorCallback ); }, errorCallback ); };

To Reproduce

  1. cordova Version 9.0.0
  2. Serial port communication of Lora device gateway by mobile OTG
  3. Huawei mate 30 pro

Thanks

joeyoyo avatar Jul 17 '20 10:07 joeyoyo