The goal of this question is to find the Teensy boards that are communiticating over RAWHID and programmed to run a particular application.
For example, one Teensy might be programmed to act as a spectrometer (with a CCD), Another might be programmed to act as an analog i/o device.
In the python HIDAPI there is an enumerator that returns a dictionary object for each HID device, with the following fields (see https://trezor.github.io/cython-hidapi/api.html)
‘path’
‘vendor_id’
‘product_id’
‘serial_number’
‘release_number’
‘manufacturer_string’
‘product_string’
‘usage_page’
‘usage’
‘interface_number’
The enumerator is an attractive way to find the Teensy boards because it does not "open" the device.
So, can any of these fields be customized in an easy way in the Teensy? I think I would leave the vendor and perhaps the product alone. The serial number, or either of the strings seems most interesting for this purpose.
For example, one Teensy might be programmed to act as a spectrometer (with a CCD), Another might be programmed to act as an analog i/o device.
In the python HIDAPI there is an enumerator that returns a dictionary object for each HID device, with the following fields (see https://trezor.github.io/cython-hidapi/api.html)
‘path’
‘vendor_id’
‘product_id’
‘serial_number’
‘release_number’
‘manufacturer_string’
‘product_string’
‘usage_page’
‘usage’
‘interface_number’
The enumerator is an attractive way to find the Teensy boards because it does not "open" the device.
So, can any of these fields be customized in an easy way in the Teensy? I think I would leave the vendor and perhaps the product alone. The serial number, or either of the strings seems most interesting for this purpose.