<div dir="ltr">Hi there,<div><br></div><div>Unfortunately I could not reproduce the problem because I don't have a Petrel device but using the call stack from Rick Walsh I figure out why he receives a SEGV.</div><div>Apparently the return check of  <b>dc_serial_native_open</b> method from <b>shearwater_common_open</b> was not correct (my mistake :-) ).</div><div>The first patch attached should fix the issue. It should be applied on Subsurface-branch from libdivecomputer branch.</div><div><br></div><div>Also I created two patches which should improve the Subsurface UX. The scope is to save the user's choice about Bluetooth download mode option from the last dive computer download session. </div><div>In this way, the user doesn't need to open the Bth selection dialog to choose a dive computer device if it is the same as the one from his last session.</div><div><br></div><div>Claudiu</div></div>