On 09 January, 2020 - Gaetan Bisson wrote: > Hi Anton, > > [2020-01-09 20:47:59 +0100] Anton Lundin: > > So, can you re-run this and provide a libdivecomptuer logfile? I'd like > > to see what the device actually says. > > Please find the log file attached. Let me know if there's anything else > you'd like to know/have. >
> Subsurface: v4.9.3-733-g042799eb2a4e, built with libdivecomputer > v0.7.0-devel-Subsurface-NG (4eb34b1466e7dff3ee2c0dfbeeef3642c2166d8c) > INFO: Open: name=/dev/ttyUSB0 > INFO: Configure: baudrate=115200, databits=8, parity=0, stopbits=0, > flowcontrol=0 > INFO: Timeout: value=3000 > INFO: Sleep: value=300 > INFO: Purge: direction=3 > INFO: Write: size=1, data=BB > INFO: Read: size=1, data=BB > INFO: Read: size=1, data=4D > INFO: Write: size=1, data=60 > INFO: Read: size=1, data=60 > INFO: Read: size=5, data=000A000000 > INFO: Read: size=1, data=4D > INFO: Write: size=1, data=69 > INFO: Read: size=1, data=69 > INFO: Read: size=64, > data=090A03074857204F5354432020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020 > INFO: Read: size=1, data=4D > Event: model=10 (0x0000000a), firmware=775 (0x00000307), serial=2569 > (0x00000a09) The mind boggles. This device clearly identifies itself as a OSTC 3. How can strcmp(data->product, "OSTC 4") == 0 be true then? //Anton - Goes back to fever dreaming -- Anton Lundin +46702-161604 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
