Ratio ix3m Pro on Android

Dirk Hohndel dirk at hohndel.org
Thu Sep 12 10:02:38 PDT 2019


On Thu, Sep 12, 2019 at 06:49:39PM +0200, liquid tcp wrote:
> > So that's one of the chips that we already detect. When you plug this into
> > your phone, are you asked if you want to open Subsurface-mobile?
> >
> Yes! so this is a good sign then :-)

Yes - it doesn't mean, though, that your Android device does allow access
to the way we want to access that device :-(

> > It's quite easy to create a beta version of Subsurace that includes the
> > Ratio dive computers as supported on Android to make it possile for you to
> > test this. Do all "Pro" computers use the same cable?
> 
> For all I know all [Pro] are the same hardware (and upgradeable by firmware
> (except of an additional chip for Rebreather)) but I'd wait for Riccardo's
> response so we can be sure.
> @Riccardo: Do you use the same chip on all devices? and do you have a list
> of them? I do find references to an  iX3M My16 edition online which are not
> yet on the list...

Interesting. What are the differences to the others? What's its model
number?

> @Dirk: I have to build me a new dev. Environment on Linux before I can
> compile it if I remember you correctly. Any recommendations on a good DE?

I tend to use Qt Creator on Linux or macOS. Native building under Windows
isn't supported at all. Creating the Android binaries is easiest done
using our hand crafted docker build container. You can look at our Travis
instructions for Android to see how you can do that.

Check the files in subsurface/scripts/android

> (been using VS so far...), so I might not make it tonight. but I understand
> the changes would be like:
> ---    {"Ratio",      "iX3M Pro Deep", DC_FAMILY_DIVESYSTEM_IDIVE, 0x34,
> DC_TRANSPORT_SERIAL, NULL},
> +++ {"Ratio",      "iX3M Pro Deep", DC_FAMILY_DIVESYSTEM_IDIVE, 0x34,
> DC_TRANSPORT_SERIAL, dc_filter_divesystem },

No, that's not it at all...

I need to add code to have these dive computers listsed on Android
devices. I'll do that in a moment and maybe I can just tether through my
phone and upload the binaries. Then you'll be able to install this via the
Google Play Beta channel for Subsurfae-mobile.

Fingers crossed you'll have something there in a few hours.

/D


More information about the subsurface mailing list