[Nut-upsdev] Missing portions of USB response

William R. Elliot bill at wreassoc.com
Sat Nov 23 00:28:23 GMT 2024


Hello all.

Implementation is serial protocol over USB (hey, it is what it is). I 
am able to find the device (regex) and open it, send it a command and 
get a response. The problem is that I see all of the transactions in 
my USB sniffing tool (8-byte chunks) but the buffer that is used for 
the response in 'get_interrupt' is missing one or more of the 
beginning chunks (using printf ("%s", response); to show it).

Any ideas why the response buffer would not have the complete 
response from the get_interrupt call when I can see it all on the bus?

Thanks,

Bill


-- 
This email has been checked for viruses by AVG antivirus software.
www.avg.com



More information about the Nut-upsdev mailing list