Re: SUMP meta data command
Reply #8 –
[quote author="rsdio"]
[quote author="ian"]The key thing I guess is something to test it with, a client to support it (or develop in conjunction).[/quote]
Since I have the OLS, then I can help with the USB design and Mac OS X client, once you get to that stage. I don't know what would work on Windows, though, although libusb seems to be what people are using (on both OSs).
[/quote]
It's actually really easy to write test clients -- libusb + pyusb (python bindings for libusb) lets you interface directly with USB in a couple of lines of code. This may look like pseudocode, but it actually runs:
import usb
device = usb.core.find(idVendor=0x0483, idProduct=0x5721)
device.set_configuration()
device.write(2, "hello USB device") # endpoint 2
However, I will use the sigrok driver to test this functionality, so that it's supported right away.
So the conversation having drifted into the one part of my suiggestion that is not so easy to implement, does that mean you guys agree on the need to a more elaborate version/capability reporting system in the sump protocol?