Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error:Baud rate 57600 currently not supported #119

Closed
joeyoyo opened this issue Jul 17, 2020 · 0 comments
Closed

Error:Baud rate 57600 currently not supported #119

joeyoyo opened this issue Jul 17, 2020 · 0 comments

Comments

@joeyoyo
Copy link

joeyoyo commented Jul 17, 2020

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 joeyoyo closed this as completed Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant