On 12/3/25 02:57, Piotr Ślatała wrote:
> FYI - I forwarded you the logs (including debug logs). I have tried it a while
> back and repeated the test today, and still no luck with my geo air. When I
> force it to allow any computers, it attempts to connect to geo air and then
> reports something to the tune of "all dives have been downloaded"
The download fails because subsurface fails to report the bluetooth device name:
[139.175641] INFO: Ioctl: request=0x40006200 (dir=1, type=98, nr=0, size=0)
[139.175646] INFO: Ioctl read: size=9, data=000000000000000000
[139.175650] WARNING: Bluetooth device name unavailable. [in
src/oceanic_atom2.c:821 (oceanic_atom2_ble_handshake)]
This bluetooth device name is used for some kind of Oceanic specific
authentication. We try to continue without, but that doesn't work for the Geo.
During the bluetooth discovery the bluetooth device name is available:
Discovered new device: 'GK000118' [LE:{f3807b03-c722-5ac1-3fbd-6a4490384518}]:
not recognized as dive computer
But when trying to connect, the bluetooth device name is empty:
163.095: setting btName to
Because subsurface doesn't recognize the name as a dive computer, you need to
enable that "Temporary show all bluetooth devices" option. But apparently, it
also considers only the recognized dive computers when looking up the bluetooth
device name.
To fix this, subsurface should consider all bluetooth devices for the lookup.
Otherwise this will never work for devices for which you need to enable that
"Temporary show all bluetooth devices" option.
The easiest solution is of course to simply add the Geo Air to this list of
recognized dive computers:
https://github.com/subsurface/subsurface/blob/master/core/btdiscovery.cpp#L25-L41
See also this PR:
https://github.com/subsurface/subsurface/pull/4470
Jef