Subsurface-mobile with BT and BLE support [was Re: updates to libdc with ABI change]

Jan Mulder jlmulder at xs4all.nl
Fri Jun 30 01:46:59 PDT 2017


On 30-06-17 00:31, Anton Lundin wrote:

> I tested this to, against a OSTC4, and I actually got some data back.
> It looks scrambled, and haven't had the time to decipher what might
> be wrong.
>
Checked your btle_ostc4.txt and see that you are connecting to the wrong service. You need to connect to
the service starting with 0000fefb (which is the Stollmann Terminal IO thingy). And yes, the
current master selects the wrong service, so you have to adapt the code for that. In addition, you need
to select the proper characteristic to receive notifications. I have added a patch from Linus (from yesterday)
the takes care of selecting the proper characteristic, and one of mine to select the proper service (and
mine contains also a lot of debug crap, so be careful if you want to apply this).

And the bad news is .... with all this I still cannot get downloaded data from my OSTC3 (but it
selects download mode correctly).

--jan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 973 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170630/970a09e4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-jlm.diff
Type: text/x-patch
Size: 1934 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170630/970a09e4/attachment-0001.bin>


More information about the subsurface mailing list