Perdix on Android

Dirk Hohndel dirk at hohndel.org
Thu Jun 29 10:29:12 PDT 2017


On Thu, Jun 29, 2017 at 07:17:57PM +0200, Jan Mulder wrote:
> On 29-06-17 19:06, Dirk Hohndel wrote:
> > Linus,
> > 
> > I finally had a chance to try the latest Android APK to download from my
> > Perdix AI.
> > 
> > I bonded with it from the Nordic app. Looking at the AppLog in
> > Subsurface-mobile, I see that it is 'paired' (shows up as Perdix).
> > 
> > connecting to Uuid "{00001101-0000-1000-8000-00805f9b34fb}"
> > 
> > but then... connecting via insecure rfcomm - so that's not LE
> > 
> > So what am I missing to make sure this is using BLE instead of BT?
> > Do I need to recognize this as BLE only dive computer during scanning?
> > Since it calls itself Perdix (and there is an older BT only Perdix), I
> > wonder what the right way would be to do this?
> > 
> > /D
> 
> An idea that I had ... instead of only adding the classic BT address to the
> fake vendor "Paired BT Devices", add the devices that can do both BT and LE,
> twice. One normal BT address and one with LE: prefixed. Ok, a hack on a
> hack, but I expect this to work.

Hackish indeed, but I'll do that for testing until I come up with
something better. I think we'll need to look at UUIDs or something like
that, but I don't understand that code well enough, yet.

/D


More information about the subsurface mailing list