On 31-10-17 23:35, Berthold Stoeger wrote:
On Dienstag, 31. Oktober 2017 11:29:00 CET Jef Driesen wrote:

I believe you have the model number wrong. I think it should be 0x17,
and your test seems to confirm that:

Well, I put a printf directly after "rc = scubapro_g2_transfer (device,
cmd_model, sizeof (cmd_model), model, sizeof (model));" and guess what?
I got both, 0x17 *and* 0xa5 (the latter much more commonly). There seems to be
some race. Will investigate further - tomorrow.

But when manually sending 0x10 manually with my test program, I consistently
get a 0x17, which therefore seems to be the correct model. Sigh.

That's indeed strange. Probably something is still wrong. Can you share the logs? Maybe we can spot something?

Jef
_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to