FW version reported incorrectly in Subsurface

Legacy OSTC's
Post Reply
jb2cool
Posts: 142
Joined: Tuesday 21. January 2014, 21:19

FW version reported incorrectly in Subsurface

Post by jb2cool »

In Subsurface i can see a tab with 'extra data'. In 3.0.2 the FW version is reported to Subsurface as 3.2
glance
Posts: 51
Joined: Thursday 6. March 2014, 10:00

Re: FW version reported incorrectly in Subsurface

Post by glance »

This was indeed a formating bug in Subsurface/libdivecomputer. I suggest you report problems with subsurface in the future on http://trac.subsurface-divelog.org/


//Anton
jb2cool
Posts: 142
Joined: Tuesday 21. January 2014, 21:19

Re: FW version reported incorrectly in Subsurface

Post by jb2cool »

I wasn't sure if Subsurface was showing it incorrectly or whether the OSTC was outputting the wrong info. In fact I'm still not sure about that now, any way I can check? Can I perform a raw dump and examine that?
jb2cool
Posts: 142
Joined: Tuesday 21. January 2014, 21:19

Re: FW version reported incorrectly in Subsurface

Post by jb2cool »

I think Anton has isolated this as a Subsurface issue rather than a Heinrichs Weikamp issue so problem solved.
glance
Posts: 51
Joined: Thursday 6. March 2014, 10:00

Re: FW version reported incorrectly in Subsurface

Post by glance »

If you would like to check for your self, you can start by reading the protocol documentation at:
https://bitbucket.org/heinrichsweikamp/ ... at=default

I would recommend against it, because its quit a bit of work.


The problem is that libdivecomputer communicated firmware versions as single integers. Subsurface tries to untangle that into a firmware version string as the one presented to users. In that code there was a small issue which now is fixed.

//Anton
Post Reply