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

Baud rate 57600 currently not supported #120

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

Baud rate 57600 currently not supported #120

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

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