Add support for beaglebone serial ports. (#1600)

This commit is contained in:
Rony Kubat 2018-07-20 23:40:33 -04:00 • committed by Francis Gulotta
parent fb565fd345
commit 384eb379e3

View file

@ -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) {