mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-25 18:37:19 +00:00
Add support for beaglebone serial ports. (#1600)
This commit is contained in:
parent
fb565fd345
commit
384eb379e3
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ const Readline = require('@serialport/parser-readline');
|
|||
|
||||
// get only serial port names
|
||||
function checkPathOfDevice(path) {
|
||||
return (/(tty(S|ACM|USB|AMA|MFD)|rfcomm)/).test(path) && path;
|
||||
return (/(tty(S|ACM|USB|AMA|MFD|O)|rfcomm)/).test(path) && path;
|
||||
}
|
||||
|
||||
function propName(name) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue