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

[serial ports] Filter serial ports #656

Open
sgallou opened this issue Feb 11, 2020 · 0 comments
Open

[serial ports] Filter serial ports #656

sgallou opened this issue Feb 11, 2020 · 0 comments
Assignees
Milestone

Comments

@sgallou
Copy link
Contributor

sgallou commented Feb 11, 2020

Provide a way to plugin to describe an serial port filtering schema to restricts serial ports list proposed to user, to only compatible serial ports. Limited to USB-serial adapter ports. Filter on device USB information.

Schema can be something like :

"AutodetectedSerialPort": {
  "type": "enum",
  "values": {
    "__Binding__": {
      "type": "system",
      "query": "serialPorts",
      "content": {
        "oneOfUsbToSerialAdapter": [
          {
            "vendorId": 1027,
            "productId": 24577,
            "manufacturerLabel": "RFXCOM",
            "productLabel": "RFXtrx433" 
          }
        ]
      }
    }
  }
}
@sgallou sgallou added this to the 2.5 milestone Feb 11, 2020
@sgallou sgallou self-assigned this Feb 11, 2020
@sgallou sgallou modified the milestones: 2.5, 2.6 Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant