When you are interacting with a USB thumb drive, you are normally
interacting with a USB mass storage class device, not with raw USB.
Most cheap USB boltons to hardware are done with the communications
class, and emulate an asynchronous serial port (although some may use
the human interface device (mouse/keyboard) class.
As such, the ability to write code for the thumb drive doesn't mean you
can use the same code on the wattmeter, even though the chances are that
the USB side can be treated as though it were something else.
--
David Woolley
Owner K2 06123.
On 05/09/2020 01:57, kevinr wrote:
I just wrote a little code using Posix standards under Ubuntu with g++
for my compiler. Looks like USB is treated as a normal stream of
characters. The most difficult part was finding my USB thumb drive in
the file system.
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft@mailman.qth.net
This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to arch...@mail-archive.com