@ TWIMC - Using strait forward, all in the same code file, RawDevice USB Host on a CerbuinoBee or CerbuinoNet it is all going fine, even initalising the connected dusb device, but when I get to the endpoint and setup the pipe, I must do it with a fixed 5 seconds timer to perform the pipe.transfer that is stable and runs I expect forever. Now looking at the incoming data I’m suspecting it misses some. There is this FF FF data that inits a measurement but comes only at the beginning and than no more, so I guess I’m missing data/ usb reports of always 8 byte long … :think:
Going below the 5 seconds, if gives me errors 2 from the controller.getlasterror, the shorter the time the more errors. :wall:
If I implement it, like the codeshare https://www.ghielectronics.com/community/codeshare/entry/939 or https://www.ghielectronics.com/community/codeshare/entry/940, in a seperate class, it freaks out immediately with those same errors … again wall banging :wall:
Q: In the endpoint there is this Interval how is that to take, since when I use it, in my case bInterval = 1, as milliseconds the Controller throws errors of number 2. Whatever that means ?
So I chose to implement it with the 5 second timer, but that doesn’t give a correct result if comparing to the protocoll details of the sensor hub @ https://github.com/ejeklint/WLoggerDaemon/blob/master/Station_protocol.md
Anyone any idea what is wrong here ?