Re: Import dives from Cressi Cartesio

2020-02-18 Thread Martin de Weger
That sort of sucks. :( I’m happy with the fact I can download the dives using USB on my Mac now, so that is a win… ;) Thanks for the help so far! I have been looking into finding the BLE packet, but am not able to find a way to do so. Kind regards, Martin De Weger > Op 18 feb. 2020, om

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Linus Torvalds
On Tue, Feb 18, 2020 at 1:43 PM Linus Torvalds wrote: > > There's two possibilities: > > (a) the Cressi protocol isn't the same on BLE as it is on a regular serial > line > > (b) the Nordic UART service needs more setup for the other end (tell > it baud-rate etc) Ugh. A quick look at some

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Linus Torvalds
On Tue, Feb 18, 2020 at 1:36 PM Martin de Weger wrote: > > With the -v parameter, the logfile is as attached. Yup, with that I see the version in the logs too. We'll try to remember to ask people to do "-v" next time. Linus ___

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Linus Torvalds
On Tue, Feb 18, 2020 at 1:33 PM Martin de Weger wrote: > > I gave it a number of tries (and checked the save logfile option). Ok, I see the several tries, and I also see the lack of replies. Oh well. There's two possibilities: (a) the Cressi protocol isn't the same on BLE as it is on a

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Martin de Weger
With the -v parameter, the logfile is as attached. log Description: Binary data Kind regards,Martin De Weger Op 18 feb. 2020, om 22:32 heeft Martin de Weger het volgende geschreven:I haven’t deleted anything from the log, I ran the command

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Martin de Weger
I gave it a number of tries (and checked the save logfile option).The Cartesio was in PC mode, so should be able to download. subsurface.log Description: Binary data log Description: Binary data Hope this will help.  Kind regards,Martin De Weger Op 18 feb. 2020, om 22:24 heeft Linus Torvalds

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Martin de Weger
I haven’t deleted anything from the log, I ran the command "Subsurface.app/Contents/MacOS/Subsurface > log 2>&1" per previous instruction. The -v parameter was not given. Can I enter “Subsurface.app/Contents/MacOS/Subsurface -v > log 2>&1”? Kind regards, Martin De Weger > Op 18 feb. 2020,

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Dirk Hohndel
> On Feb 18, 2020, at 12:39 PM, Dirk Hohndel wrote: > >> On Feb 18, 2020, at 12:36 PM, Linus Torvalds >> wrote: >> And we definitely should add our version string to the log outputs so >> that we can see that it matches the right version. Dirk? > > I can add this... Just FYI - Martin must

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Linus Torvalds
On Tue, Feb 18, 2020 at 1:17 PM Martin de Weger wrote: > > The result looks the same in de UI. .. but the log looks different. Now you have Using service "{6e41-b5a3-f393-e0a9-e50e24dcca9e}" as preferred service which is the correct Nordic UART service. So my patch did what it was

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Martin de Weger
I’m afraid it still doesn’t work. Kind regards, Martin De Weger > Op 18 feb. 2020, om 22:17 heeft Linus Torvalds > het volgende geschreven: > > Good, that's the right one. > > Let me know if that works now. And if it does, I'll just merge it into > mainline and we'll have a real build

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Linus Torvalds
Good, that's the right one. Let me know if that works now. And if it does, I'll just merge it into mainline and we'll have a real build soon. And if not, I'll take a new log-file and go back to the drawing board.. Linus On Tue, Feb 18, 2020 at 1:15 PM Martin de Weger wrote: >

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Dirk Hohndel
Running the Artifacts that GitHub creates on a Mac is really painful. That's why for master I create DMGs on my system. If you can't get this to work, I can create a one-off binary for you /D > On Feb 18, 2020, at 1:10 PM, Martin de Weger wrote: > > I have downloaded

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Martin de Weger
The result looks the same in de UI. log Description: Binary data Kind regards,Martin De Weger Op 18 feb. 2020, om 22:10 heeft Martin de Weger het volgende geschreven:I have downloaded Subsurface-4.9.3-976-gc6f73ae14456.dmg from 

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Martin de Weger
I might have solved this. Let me test again. I’m testing with: Kind regards, Martin De Weger > Op 18 feb. 2020, om 22:10 heeft Martin de Weger het > volgende geschreven: > > I have downloaded Subsurface-4.9.3-976-gc6f73ae14456.dmg from >

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Martin de Weger
I have downloaded Subsurface-4.9.3-976-gc6f73ae14456.dmg from https://github.com/Subsurface-divelog/subsurface/releases/tag/ci-release . I did download the app from the GitHub location (I’m not familiair with GitHub, so

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Linus Torvalds
On Tue, Feb 18, 2020 at 12:36 PM Linus Torvalds wrote: > > For that test-build, the version string *should* be > > Subsurface 4.9.3-959-gaa80ecc77ee9 > > and if it isn't, you're not testing with my Cressi hack in place. Actually, I take that back. The build server did a merge commit, so it

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Dirk Hohndel
> On Feb 18, 2020, at 12:36 PM, Linus Torvalds > wrote: > And we definitely should add our version string to the log outputs so > that we can see that it matches the right version. Dirk? I can add this... /D ___ subsurface mailing list

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Linus Torvalds
On Tue, Feb 18, 2020 at 12:20 PM Martin de Weger wrote: > > I’ve downloaded the new version and retried to download the dives. The > logfile is attached. Damn. No change. It still tries the other service. I wonder what went wrong. I see that Found service

Re: Import dives from Cressi Cartesio

2020-02-18 Thread Martin de Weger
log Description: Binary data Hi Linus,I’ve downloaded the new version and retried to download the dives. The logfile is attached. Kind regards,Martin De Weger Op 17 feb. 2020, om 22:18 heeft Martin de Weger het volgende geschreven:I’ll save your head from more injuries

Re: Import dives from Cressi Cartesio

2020-02-17 Thread Martin de Weger
I’ll save your head from more injuries tonight. In my part of the woods it’s way past bed time... 浪 I’ll try tomorrow after work. Thanks again, Martin > Op 17 feb. 2020 om 22:11 heeft Linus Torvalds > het volgende geschreven: > > On Mon, Feb 17, 2020 at 1:09 PM Linus Torvalds > wrote:

Re: Import dives from Cressi Cartesio

2020-02-17 Thread Linus Torvalds
On Mon, Feb 17, 2020 at 1:09 PM Linus Torvalds wrote: > > and once the OS X build has finished, you should be able to pick up > the (unsigned) App from there (look for the "Mac / desktopBuild" > thing, once it is complete and successful, you should find a download > link when you press it). And

Re: Import dives from Cressi Cartesio

2020-02-17 Thread Linus Torvalds
On Mon, Feb 17, 2020 at 12:58 PM Martin de Weger wrote: > > I’m glad you can make sense out of this. ;) Trust me, you don't want to understand BLE GATT protocol and the odd service names etc. I've spent more time than is healthy on figuring it out. I'd rather not know, but nobody else wanted to

Re: Import dives from Cressi Cartesio

2020-02-17 Thread Martin de Weger
I’m glad you can make sense out of this. ;) Kind regards, Martin De Weger > Op 17 feb. 2020, om 21:47 heeft Linus Torvalds > het volgende geschreven: > > On Mon, Feb 17, 2020 at 12:08 PM Martin de Weger wrote: >> >> It looks like it is not recognized as dive computer. > > No, that

Re: Import dives from Cressi Cartesio

2020-02-17 Thread Linus Torvalds
On Mon, Feb 17, 2020 at 12:08 PM Martin de Weger wrote: > > It looks like it is not recognized as dive computer. No, that part is ok. But the logs look a bit garbled, but that is just an artifact of the asynchronous device discovery. So there's a few random Found new device: ""

Re: Import dives from Cressi Cartesio

2020-02-17 Thread Martin de Weger
It looks like it is not recognized as dive computer. log Description: Binary data Kind regards, Martin De Weger > Op 16 feb. 2020, om 22:48 heeft Dirk Hohndel het volgende > geschreven: > > > >> On Feb 16, 2020, at 1:44 PM, Linus Torvalds >> wrote: >> >> Hmm. I just realized that

Re: Import dives from Cressi Cartesio

2020-02-16 Thread Dirk Hohndel
> On Feb 16, 2020, at 1:44 PM, Linus Torvalds > wrote: > > Hmm. I just realized that we've seem to have lost a lot of the Qt BLE > debugging output. The "libdivecomputer logfile" shows the actual > communication part, but you're not getting far enough for that to > matter. > > Dirk, where

Re: Import dives from Cressi Cartesio

2020-02-16 Thread Linus Torvalds
On Sun, Feb 16, 2020 at 1:33 PM Martin de Weger wrote: > > It does show the computer, but when I’m trying to download, it states > “unsupported operation” Ok, not entirely surprising. We've had good luck with our "pseudo-generic serial service over BLE" code, but BLE serial really isn't

Re: Import dives from Cressi Cartesio

2020-02-16 Thread Martin de Weger
I did download from the site Dirk mentioned. It is unsigned though, but it runs (at least on my Mac). And I forgot to thank you guys for the quick fix of the download issue! Kind regards, Martin De Weger > Op 16 feb. 2020, om 22:39 heeft Dirk Hohndel het volgende > geschreven: > > > >>

Re: Import dives from Cressi Cartesio

2020-02-16 Thread Dirk Hohndel
> On Feb 16, 2020, at 12:59 PM, Linus Torvalds > wrote: > > On Sun, Feb 16, 2020 at 12:54 PM Dirk Hohndel wrote: >> >> The CI should create working Windows and Mac builds as well as an AppImage. > > I think Martin wanted it for iOS, but hopefully he should be able to > at least do the "see

Re: Import dives from Cressi Cartesio

2020-02-16 Thread Martin de Weger
It does show the computer, but when I’m trying to download, it states “unsupported operation”.What logfiles do you need to look into this? Kind regards, Martin De Weger > Op 16 feb. 2020, om 21:54 heeft Dirk Hohndel het volgende > geschreven: > > > >> On Feb 16, 2020, at 9:07 AM, Linus

Re: Import dives from Cressi Cartesio

2020-02-16 Thread Linus Torvalds
On Sun, Feb 16, 2020 at 12:54 PM Dirk Hohndel wrote: > > The CI should create working Windows and Mac builds as well as an AppImage. I think Martin wanted it for iOS, but hopefully he should be able to at least do the "see if it works, or send us logs" on his Mac. Where do the builds show up?

Re: Import dives from Cressi Cartesio

2020-02-16 Thread Dirk Hohndel
> On Feb 16, 2020, at 9:07 AM, Linus Torvalds > wrote: > > On Sun, Feb 16, 2020 at 7:20 AM Martin de Weger wrote: >> >> Were the screenshots for the bluetooth of any help? > > So now that the basic downloading works, let's try bluetooth. > > I've created a pull request for just adding the

Re: Import dives from Cressi Cartesio

2020-02-16 Thread Linus Torvalds
On Sun, Feb 16, 2020 at 7:20 AM Martin de Weger wrote: > > Were the screenshots for the bluetooth of any help? So now that the basic downloading works, let's try bluetooth. I've created a pull request for just adding the BLE names and the knowledge that "yes, we can try a BLE connection" at

Re: Import dives from Cressi Cartesio

2020-02-16 Thread Martin de Weger
Thanks for the help guys, this works like a charm. Were the screenshots for the bluetooth of any help? Kind regards, Martin De Weger > Op 15 feb. 2020, om 16:17 heeft Martin de Weger het > volgende geschreven: > > Thanks, will try tomorrow. > > Met vriendelijke groet, > > Martin de

Re: Import dives from Cressi Cartesio

2020-02-15 Thread Martin de Weger
Thanks, will try tomorrow. Met vriendelijke groet, Martin de Weger > Op 14 feb. 2020 om 19:31 heeft Dirk Hohndel het volgende > geschreven: > > Mac binaries are usually included in the CI releases. The URL for those > changes after every push, > the easiest way to get to them is to go to

Re: Import dives from Cressi Cartesio

2020-02-14 Thread Dirk Hohndel
Mac binaries are usually included in the CI releases. The URL for those changes after every push, the easiest way to get to them is to go to https://github.com/Subsurface-divelog/subsurface/releases/tag/ci-release and

Re: Import dives from Cressi Cartesio

2020-02-13 Thread Linus Torvalds
On Thu, Feb 13, 2020 at 10:45 AM Linus Torvalds wrote: > > I started trying to generalize our "field cache" code (which includes > the string interface code) so I'll try to finish that up first. But > Jef's updates look simple to merge. Ok, done, and pushed out. I can't test Jef's changes, but

Re: Import dives from Cressi Cartesio

2020-02-13 Thread Linus Torvalds
On Thu, Feb 13, 2020 at 8:10 AM Dirk Hohndel wrote: > > Linus, would you please take a look and merge this into our branch? Will do. I started trying to generalize our "field cache" code (which includes the string interface code) so I'll try to finish that up first. But Jef's updates look

Re: Import dives from Cressi Cartesio

2020-02-13 Thread Dirk Hohndel
> On Feb 13, 2020, at 7:29 AM, Jef Driesen wrote: > > On 2020-02-13 12:49, Martin de Weger wrote: >> Where can I download the build for the Mac so I can test it? >> I know there have been some issues with the daily build on the site. > > At the moment there is no build with the fix yet. I

Re: Import dives from Cressi Cartesio

2020-02-13 Thread Jef Driesen
On 2020-02-13 12:49, Martin de Weger wrote: Where can I download the build for the Mac so I can test it? I know there have been some issues with the daily build on the site. At the moment there is no build with the fix yet. Jef ___ subsurface

Re: Import dives from Cressi Cartesio

2020-02-13 Thread Martin de Weger
Thanks Jeff, Where can I download the build for the Mac so I can test it? I know there have been some issues with the daily build on the site. Martin de Weger > Op 13 feb. 2020 om 11:15 heeft Jef Driesen het > volgende geschreven: > > On 2020-02-11 09:01, Martin de Weger wrote: >> It is

Re: Import dives from Cressi Cartesio

2020-02-13 Thread Jef Driesen
On 2020-02-11 09:01, Martin de Weger wrote: It is correct. This was the first trip I’ve used this computer (as a backup computer), and I thought I did set up the gas mixture correctly. I have pushed a fix for the incorrect depth, and implemented the gas switches too. Jef

Re: Import dives from Cressi Cartesio

2020-02-11 Thread Martin de Weger
It is correct. This was the first trip I’ve used this computer (as a backup computer), and I thought I did set up the gas mixture correctly. Martin > Op 11 feb. 2020 om 08:58 heeft Jef Driesen het > volgende geschreven: > > On 2020-02-08 10:46, Martin de Weger wrote: >> Yep, here it is. >

Re: Import dives from Cressi Cartesio

2020-02-10 Thread Jef Driesen
On 2020-02-08 10:46, Martin de Weger wrote: Yep, here it is. It looks like there are gas switches in the dives that fail to parse. Is that correct? Two of those dives are a bit unusual, so I want to double check with you. For example the dive on 2020-01-27 14:51:00 starts with Air. After

Re: Import dives from Cressi Cartesio

2020-02-07 Thread Jef Driesen
On 5/02/2020 21:33, Martin de Weger wrote: Here is the logfile and the print from the Cressi App. I also added screenshots from the nRF Connect app, hop this is what you wnt. The weird thing is, They iPhone is able to connect using BT, not the macbook (with the Cressi app).. Can you export

Re: Import dives from Cressi Cartesio

2020-02-05 Thread Jef Driesen
On 2020-02-05 13:35, Martin de Weger wrote: I’ll have a look. When using the dum-file option (in the Beta version of subsurface) an error is thrown (something went wrong). I wanted to install the stable version from the website, but that link is broken

Re: Import dives from Cressi Cartesio

2020-02-05 Thread Martin de Weger
Hi Linus, I’ll have a look. When using the dum-file option (in the Beta version of subsurface) an error is thrown (something went wrong). I wanted to install the stable version from the website, but that link is broken (https://subsurface-divelog.org/download/Subsurface-4.9.3.dmg

Re: Import dives from Cressi Cartesio

2020-02-04 Thread Linus Torvalds
On Mon, Feb 3, 2020 at 6:57 PM Martin de Weger wrote: > > I’ve purchased a Cressi Cartesio with the (bluetooth enabled) interface. I’ve > ran into a few issues with this setup on Subsurface: > > I’m unable to download the dives on my Mac and on my iPhone using Bluetooth > with Subsurface. When