<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Feb 8, 2017 8:01 PM, "Miika Turkia" <<a href="mailto:miika.turkia@gmail.com">miika.turkia@gmail.com</a>> wrote:<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">
<br>
</div>My original order of downloading seems to work now fine. However, if I<br>
first download from the OSTC and after that from air integrated Vyper,<br>
I end up with two cylinders in the used equipment tab, one with air<br>
the other with 32% mix. It still seems that only the Nitrox one is<br>
being used. With a quick look in the xml (attached) I do not spot why<br>
the air cylinder is considered as used.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">We never renumber or delete cylinders on our own - we just ignore unused cylinders at the end.</div><div dir="auto"><br></div><div dir="auto">So when you download from the OSTC first, you actually have four cylinders defined, and the second one is the one you are using. If you look at the XML, you'll see all four cylinders.</div><div dir="auto"><br></div><div dir="auto">The first cylinder is an air one that you never use, but we don't delete it just because you didn't use it. You had it in your dive computer, we keep it around.</div><div dir="auto"><br></div><div dir="auto">In fact we keep the other two around too, but we have that crazy logic where we don't show them because they are at the end and not used. We should stop doing that too, but Dirk added it for some broken dive computers that always reported eight cylinders or something like that.</div><div dir="auto"><br></div><div dir="auto">When you download from the vyper first, the 32% cylinder ends up being the first one, and you still have the other three cylinders that the OSTC reports, but now they are all at the end so they get hidden by that same crazy logic.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
BTW what is the flags in the event tag?<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Not really used any more. We used to encode the cylinder number in the flags (because libdivecomputer didn't give it any sane way), but now it's just legacy noise that doesn't get renumbered. So it was the first cylinder for the vyper, and it is still flags=1 for that one, and it was the second cylinder for the OSTC, so it's flags=2 for that one.</div><div dir="auto"><br></div><div dir="auto">        Linus </div></div>