help needed: Android devices and FTDI dive computers

Matt Thompson mathomp at gmail.com
Thu Aug 9 08:48:51 PDT 2018


On Thu, Aug 9, 2018, 09:59 Dirk Hohndel <dirk at hohndel.org> wrote:

> On Thu, Aug 09, 2018 at 08:14:00AM -0500, Matt Thompson wrote:
> > >
> > I was able to download from my D4i as well so I'm not sure what's going
> on
> > with the 750.
>
> Well, since I am on a run having you test completely untested code...
> here's one that's even more untested...
>
You caught me working from home for a few days so I have ready access to my
dive computers. :D


>
>
> http://subsurface-divelog.org/downloads/test/Subsurface-mobile-4.8.1.161-arm.apk
>
> This tries to
> a) get your i750TC recognized (not sure if that will help with download)
> b) switch to the Download page even if Subsurface-mobile wasn't running
> when you plugged in your device
>
> So far I can tell you "it compiles". I might have completely broken things
> and nothing might work anymore... but if you happen to have a moment, I'd
> appreciate more testing :-)
>
> /D
>
It was a good run but not much success this time.

For some reason Subsurface still does not pop up as an option when I plug
in the i750.  Also, Subsurface does not switch to the download page
automatically with either of my other two computers even if the app is
currently running so a bit of a regression.  Downloading does still work
from the Cobalt and the D4i but does not work for the i750.  Logs from the
failed i750 attempt are below.

---------- subsurface.log ----------
Empty filename passed to function
"0.003: Failed to open logfile /storage/emulated/0/subsurface.log at Thu
Aug 9 10:35:15 2018 error: Permission denied"
"0.003: Failed to open logfile /storage/emulated/0/Documents/subsurface.log
at Thu Aug 9 10:35:15 2018 error: Permission denied"
"0.003: Successfully opened logfile
/storage/emulated/0/Android/data/org.subsurfacedivelog.mobile/files/Documents/subsurface.log
at Thu Aug 9 10:35:15 2018"
"0.004: Starting Subsurface-mobile:2.1.1(4.8.1.161):Android
(8.1):arm:en-US"
"0.004: built with libdivecomputer v0.7.0-devel-Subsurface-NG
(bb985eedbb3e686e5a71bf2aa234fb49f8cab653)"
"0.004: built with Qt Version 5.11.1, runtime from Qt Version 5.11.1"
"0.004: built with libgit2 0.26.0"
localBtDevice isn't valid or not connectable
"Created position source android"
"0.010: Created position source android"
"Set GPS service update interval to 300 s"
"0.011: Set GPS service update interval to 300 s"
"0.015: location service is available"
"0.374: Synchronising data file"
"0.376: Load dives from local cache"
"0.484: Successfully opened dive data"
"0.506: AppState changed to active with save ongoing and no unsaved changes"
"0.508: 321 dives loaded from cache"
"0.509: have cloud credentials, trying to connect"
"0.509: Have credentials, let's see if they are valid"
Completed connection with cloud storage backend, response "[OK]"
"Set GPS service update interval to 300 s"
"0.994: Set GPS service update interval to 300 s"
checkPendingIntents
Using the following font: Roboto
qqwindow devicePixelRatio 2.62613 2.62613
Supported dive computers:
"Aeris: 500 AI (SERIAL), A300 (SERIAL), A300 AI (SERIAL), A300CS (SERIAL),
Atmos 2 (SERIAL), Atmos AI (SERIAL), Atmos AI 2 (SERIAL), Compumask
(SERIAL), Elite (SERIAL), Elite T3 (SERIAL), Epic (SERIAL), F10 (SERIAL),
F11 (SERIAL), Manta (SERIAL), XR-1 NX (SERIAL), XR-2 (SERIAL)"
"Aqualung: i200 (SERIAL), i300 (SERIAL), i450T (SERIAL), i550 (SERIAL),
i750TC (SERIAL, BT)"
"Atomic Aquatics: Cobalt (USB), Cobalt 2 (USB)"
"Beuchat: Mundial 2 (SERIAL), Mundial 3 (SERIAL), Voyager 2G (SERIAL)"
"Cochran: Commander I (SERIAL), Commander II (SERIAL), Commander TM
(SERIAL), EMC-14 (SERIAL), EMC-16 (SERIAL), EMC-20H (SERIAL)"
"Cressi: Drake (SERIAL), Giotto (SERIAL), Leonardo (SERIAL), Newton
(SERIAL)"
"Genesis: React Pro (SERIAL), React Pro White (SERIAL)"
"Heinrichs Weikamp: Frog (SERIAL, BT), OSTC (SERIAL), OSTC 2 (SERIAL, BT,
BLE), OSTC 2 TR (SERIAL, BT, BLE), OSTC 2C (SERIAL), OSTC 2N (SERIAL), OSTC
3 (SERIAL), OSTC 4 (SERIAL, BT, BLE), OSTC Mk2 (SERIAL), OSTC Plus (SERIAL,
BT, BLE), OSTC Sport (SERIAL, BT, BLE), OSTC cR (SERIAL)"
"Hollis: DG02 (SERIAL), DG03 (SERIAL), TX1 (SERIAL)"
"Mares: Puck Pro (SERIAL, BLE), Quad (SERIAL, BLE), Quad Air (SERIAL, BLE),
Smart (SERIAL, BLE)"
"Oceanic: Atom 1.0 (SERIAL), Atom 2.0 (SERIAL), Atom 3.0 (SERIAL), Atom 3.1
(SERIAL), Datamask (SERIAL), F10 (SERIAL), F11 (SERIAL), Geo (SERIAL), Geo
2.0 (SERIAL), OC1 (SERIAL), OCS (SERIAL), OCi (SERIAL), Pro Plus 2
(SERIAL), Pro Plus 2.1 (SERIAL), Pro Plus 3 (SERIAL), VT 4.1 (SERIAL), VT
Pro (SERIAL), VT3 (SERIAL), VT4 (SERIAL), VTX (SERIAL), Veo 1.0 (SERIAL),
Veo 180 (SERIAL), Veo 2.0 (SERIAL), Veo 200 (SERIAL), Veo 250 (SERIAL), Veo
3.0 (SERIAL), Versa Pro (SERIAL)"
"Scubapro: Aladin Sport Matrix (BLE), Aladin Square (USBHID), G2 (USBHID,
BLE), G2 Console (USBHID, BLE)"
"Seemann: XP5 (SERIAL)"
"Shearwater: Nerd (SERIAL, BT), Nerd 2 (BLE), Perdix (SERIAL, BT, BLE),
Perdix AI (BLE), Petrel (SERIAL, BT), Petrel 2 (SERIAL, BT, BLE), Predator
(SERIAL, BT)"
"Sherwood: Amphos (SERIAL), Amphos Air (SERIAL), Insight (SERIAL), Insight
2 (SERIAL), Vision (SERIAL), Wisdom (SERIAL), Wisdom 2 (SERIAL), Wisdom 3
(SERIAL)"
"Subgear: XP-Air (SERIAL)"
"Suunto: Cobra (SERIAL), Cobra 2 (SERIAL), Cobra 3 (SERIAL), D3 (SERIAL),
D4 (SERIAL), D4f (SERIAL), D4i (SERIAL), D6 (SERIAL), D6i (SERIAL), D9
(SERIAL), D9tx (SERIAL), DX (SERIAL), EON Core (USBHID, BLE), EON Steel
(USBHID, BLE), Eon (SERIAL), Gekko (SERIAL), HelO2 (SERIAL), Mosquito
(SERIAL), Solution (SERIAL), Solution Alpha (SERIAL), Solution Nitrox
(SERIAL), Spyder (SERIAL), Stinger (SERIAL), Vyper (SERIAL), Vyper 2
(SERIAL), Vyper Air (SERIAL), Vyper Novo (SERIAL), Vytec (SERIAL), Zoop
(SERIAL), Zoop Novo (SERIAL)"
"Tecdiving: DiveComputer.eu (SERIAL, BT)"
"Tusa: Element II (IQ-750) (SERIAL), Zen (IQ-900) (SERIAL), Zen Air
(IQ-950) (SERIAL)"
"Uwatec: Aladin Air Twin (SERIAL), Aladin Air Z (SERIAL), Aladin Air Z
Nitrox (SERIAL), Aladin Air Z O2 (SERIAL), Aladin Pro (SERIAL), Aladin Pro
Ultra (SERIAL), Aladin Sport Plus (SERIAL), Memomouse (SERIAL)"
qqwindow screen has ldpi/pdpi 71.9691 153.059
"2.230: Synchronising data file"
"2.240: Sync with cloud storage"
"2.642: Successful cloud connection, fetch remote"
"3.050: Done syncing with cloud storage"
"3.064: Cloud sync shows local cache was current"
"13.754: DCDownloadThread started for Aqualung i750TC on "
Starting download from  BT
connecting to Uuid "{00001101-0000-1000-8000-00805f9b34fb}"
connectToService() "00:00:00:00:00:00"
"{00001101-0000-1000-8000-00805f9b34fb}"
Connnecting via insecure rfcomm
Connecting socket
The connection step took more than expected. Wait another 20 seconds
Falling back to reverse uuid workaround.
Workaround failed
Failed to connect to device   . Device state
QBluetoothSocket::UnconnectedState . Error:
QBluetoothSocket::ServiceNotFoundError
"18.914: Unsupported operation"
Finishing download thread: "Unable to open  Aqualung (i750TC)"
no new dives downloaded
"18.952: DCDownloadThread finished"
"22.782: DCDownloadThread started for Aqualung i750TC on FTDI"
Starting download from  ftdi
"22.786: Unsupported operation"
Finishing download thread: "Unable to open ftdi Aqualung (i750TC)"
no new dives downloaded
"22.815: DCDownloadThread finished"



---------- libdivecomputer.log ----------
Subsurface: v4.8.1-161-ga73d7352e680, built with libdivecomputer
v0.7.0-devel-Subsurface-NG (bb985eedbb3e686e5a71bf2aa234fb49f8cab653)
INFO: Open: name=ftdi
ERROR: No such file or directory (2) [in
/data/android/subsurface/libdivecomputer/src/serial_posix.c:295
(dc_serial_open)]
---------- finish ----------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20180809/61407625/attachment-0001.html>


More information about the subsurface mailing list