Author Topic: DigiUSB Send Data  (Read 2889 times)

vaticanuk

  • Newbie
  • *
  • Posts: 1
DigiUSB Send Data
« on: July 13, 2014, 01:13:11 pm »
Hi

I'm using DigiUSB in a project that I'm working on and can send data to a PC host using methods such as DigiUSB.write, but this seems to send data as multiple 2 byte feature reports. This seems somewhat inefficient from the host point of view since every library I can find has to poll for data. I've also seen instances where I *think* that if I don't poll fast enough I can miss data (at least, that's what seems to be happening...)

It would be *much* more efficient if I could send data in the "normal" way since this would raise an event in the libraries that I've found which would remove the polling (thereby reducing the CPU usage) and also allow me to receive more data in one "read" than 2 bytes which would simplify host code.

Is there any way to do this or is FeatureReports the only way?

Thanks