Skip to content

Does not work on windows #1

Description

The com ports are simply named "com1", "com2" and so on on windows.
So this will not work.

var eligiblePorts = ports.filter(function(port) {
    return !port.match(/[Bb]luetooth/) && port.match(/\/dev\/tty/);
 });

but this will

var eligiblePorts = ports.filter(function(port) {
    return !port.match(/[Bb]luetooth/);
  });

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions