stephendpmurphy / shost

💻 shost - GUI, CLI and static library for connecting to FTDI MPSSE capable devices
MIT License
2 stars 1 forks source link

Utilize channel (-c) option #40

Closed stephendpmurphy closed 2 years ago

stephendpmurphy commented 2 years ago

Currently the channel is captured but we always use channel 0

stephendpmurphy commented 2 years ago

This actually refers to the interface (A, B, C, or D).. Currently we use the MPSSE call to open and receive context.. This just wraps up the Open call and check all valid PID/VID for us.. We can replicate this code and then pass the correct interface to the Open call.. This potentially also allows us to pass a serial number and connect to a specific device if two are plugged in with the same serial number.

stephendpmurphy commented 2 years ago

May change the -i option to something else, so -i / --interface can be used for this option.. Will have to find something else to call the -i.

stephendpmurphy commented 2 years ago

Potentially -t for transport layer? Options being SPI or I2C