Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-09 Thread Miika Turkia via subsurface
On Mon, Mar 9, 2020 at 8:37 AM Dirk Hohndel wrote: > > > > On Mar 8, 2020, at 4:18 PM, Miika Turkia wrote: > > > > I failed to download from Suunto Vyper Air. This might be due to Chinese > USB-serial adaptor i use. As the cable I have is serial DL cable. The > status got stuck to Connecting...

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-08 Thread Dirk Hohndel via subsurface
> On Mar 8, 2020, at 4:18 PM, Miika Turkia wrote: > > I failed to download from Suunto Vyper Air. This might be due to Chinese > USB-serial adaptor i use. As the cable I have is serial DL cable. The status > got stuck to Connecting... If you tried the first beta, that was lacking timeout

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-08 Thread Miika Turkia via subsurface
I failed to download from Suunto Vyper Air. This might be due to Chinese USB-serial adaptor i use. As the cable I have is serial DL cable. The status got stuck to Connecting... I should have a Suunto USB cable at home as well, but I don't remember if I was able to soldier it together or not

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-08 Thread Dirk Hohndel via subsurface
I need to close that PR and need to remove the Cobalt from the list of dive computers offered. The way we talk to it will not work on any modern Android device. /D > On Mar 8, 2020, at 10:31 AM, Christof Arnosti via subsurface > wrote: > > Hi Matt, > > Thanks for testing! :-) > >

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-08 Thread Christof Arnosti via subsurface
Hi Matt, Thanks for testing! :-) Unfortunately the Atomic Aquatics Cobalt 2 doesn't use a USB-to-Serial interface, so this change doesn't do anything for it. There is some (unrelated) work done by Dirk to fix the support for directly connected USB devices in

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-08 Thread Matt Thompson via subsurface
On Sat, Mar 7, 2020 at 2:12 PM Dirk Hohndel via subsurface < subsurface@subsurface-divelog.org> wrote: > > > > On Mar 7, 2020, at 8:46 AM, Stephen Goodall < > stephen.goodal...@googlemail.com> wrote: > > > > Hi Christof, > > The Cressi worked  > > The Suunto said there was an error (attached) -

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-07 Thread Dirk Hohndel via subsurface
> On Mar 7, 2020, at 8:46 AM, Stephen Goodall > wrote: > > Hi Christof, > The Cressi worked  > The Suunto said there was an error (attached) - I've not used this on my > phone before as it's my partner's computer so it's possible that I'm doing > something wrong with it! It did read it and

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-07 Thread Christof Arnosti via subsurface
Hi Stephen, On 07.03.20 17:46, Stephen Goodall wrote: > Hi Christof, > The Cressi worked  Good to hear! > The Suunto said there was an error (attached) - I've not used this on > my phone before as it's my partner's computer so it's possible that > I'm doing something wrong with it! It did read

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-07 Thread Christof Arnosti via subsurface
Hi Stephen, I hope that it will work with most computers using usb-to-serial interfaces. The underlying usb-serial-for-android implementation supports quite some chipsets. I'd love for you to test the implementation! You can grab a CI-Built apk from

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-07 Thread Christof Arnosti via subsurface
On 07.03.20 17:12, Dirk Hohndel wrote: > > >> On Mar 7, 2020, at 5:27 AM, Christof Arnosti > > wrote: >> >> Hi Dirk, >> >> I did the integration of the Icon HD VID/PID pair, so if the testing >> is successful I think there is nothing left for me to do before a merge. >> >

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-07 Thread Stephen Goodall via subsurface
Will this affect all USB computers with Android? Very exciting!! I had a look but made no progress (C++ is not something I've worked with so it would have been a miracle if I had made progress :D ) I've got a Cressi Leonardo and a Suunto Zoop, and an Android 9 phone if you want me to test those

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-07 Thread Dirk Hohndel via subsurface
> On Mar 7, 2020, at 5:27 AM, Christof Arnosti wrote: > > Hi Dirk, > > I did the integration of the Icon HD VID/PID pair, so if the testing is > successful I think there is nothing left for me to do before a merge. > I will play with this in a couple of hours and most likely merge your

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-07 Thread Christof Arnosti via subsurface
Hi Dirk, I did the integration of the Icon HD VID/PID pair, so if the testing is successful I think there is nothing left for me to do before a merge. Someone just tested with an Mares Nemo Wide (Serial < 5), and it did also work. Just for clarification about the possible UI changes (now

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Dirk Hohndel via subsurface
> On Mar 6, 2020, at 5:03 PM, Christof Arnosti wrote: >> And here you are losing me again :-) >> Are you suggesting that we could walk through the list of devices and try to >> populate the dropdowns on the download page accordingly? That sounds like a >> great idea. > Yes, that's exactly

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Christof Arnosti via subsurface
Am 07.03.20 um 00:30 schrieb Dirk Hohndel via subsurface: > >> On Mar 6, 2020, at 3:23 PM, Christof Arnosti > > wrote: There is a driver with CdcAcmSerialDriver in usb-serial-for-android! That's exactly the use case I had in mind when I proposed

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Dirk Hohndel via subsurface
> On Mar 6, 2020, at 3:23 PM, Christof Arnosti wrote: >>> There is a driver with CdcAcmSerialDriver in usb-serial-for-android! >>> >>> That's exactly the use case I had in mind when I proposed >>> driverclass-selection in the UI ;-) >>> >> >> I understand - but Subsurface-mobile would never

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Christof Arnosti via subsurface
Hi Dirk, Am 06.03.20 um 23:32 schrieb Dirk Hohndel: > (oops. I dropped the mailing list by mistake) > >> On Mar 6, 2020, at 2:12 PM, Christof Arnosti > > wrote: >> Am 06.03.20 um 22:59 schrieb Dirk Hohndel: >>> >>> On Mar 6, 2020, at 1:54 PM, Christof Arnosti >>>

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Dirk Hohndel
(oops. I dropped the mailing list by mistake) > On Mar 6, 2020, at 2:12 PM, Christof Arnosti wrote: > Am 06.03.20 um 22:59 schrieb Dirk Hohndel: >> >> >>> On Mar 6, 2020, at 1:54 PM, Christof Arnosti >> > wrote: No popup at all as no one has that PID/VID

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Christof Arnosti
Hi Dirk, Am 06.03.20 um 20:02 schrieb Dirk Hohndel: > Very, very exciting. I was able to download from my FTDI OSTC 3 on a > Pixel 3 XL with Android 10. I am trying to revive a couple of my > other, older USB serial dive computers to provide some more testing, > but I will admit that this single

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Christof Arnosti
Just crossed our mails. Am 06.03.20 um 22:50 schrieb Dirk Hohndel: > >> On Mar 6, 2020, at 1:47 PM, Christof Arnosti wrote: >> >> Interesting. The Puck Pro I'm using for testing actually uses the >> mares_iconhd.c implementation, so I would guess that it should be quite >> similar. Does it work

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Christof Arnosti
Hi Dirk, Interesting. The Puck Pro I'm using for testing actually uses the mares_iconhd.c implementation, so I would guess that it should be quite similar. Does it work on subsurface desktop? Does Android ask you for any applications to use for the USB device, or no popup at all? Can you maybe

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Dirk Hohndel
> On Mar 6, 2020, at 1:47 PM, Christof Arnosti wrote: > > Interesting. The Puck Pro I'm using for testing actually uses the > mares_iconhd.c implementation, so I would guess that it should be quite > similar. Does it work on subsurface desktop? Does Android ask you for > any applications to

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Dirk Hohndel
> On Mar 6, 2020, at 11:21 AM, Dirk Hohndel wrote: > > > >> On Mar 6, 2020, at 11:02 AM, Dirk Hohndel wrote: >> >> I will see if I can get at least one other dive computer with a different >> chipset to play with (I have, err, a few), but I'm planning to clean up your >> PR (you added

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Dirk Hohndel
> On Mar 6, 2020, at 11:02 AM, Dirk Hohndel wrote: > > I will see if I can get at least one other dive computer with a different > chipset to play with (I have, err, a few), but I'm planning to clean up your > PR (you added fixes for the things I pointed out at the end - I prefer to > just

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Dirk Hohndel
Very, very exciting. I was able to download from my FTDI OSTC 3 on a Pixel 3 XL with Android 10. I am trying to revive a couple of my other, older USB serial dive computers to provide some more testing, but I will admit that this single test with the OSTC already has me ridiculously excited...

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Christof Arnosti
Hi Dirk, Thanks for your answer. On 06.03.20 17:06, Dirk Hohndel wrote: > Christof, > > I'm excited to see the progress! > Unfortunately my 'main' computer is currently being repaired which > makes it harder for me to create Android beta builds, but it should be > possible to do the testing with

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Dirk Hohndel
Christof, I'm excited to see the progress! Unfortunately my 'main' computer is currently being repaired which makes it harder for me to create Android beta builds, but it should be possible to do the testing with builds from the CI system. > On Mar 6, 2020, at 6:19 AM, Christof Arnosti wrote:

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Christof Arnosti
Hi together, So I just added the missing PID / VID and prepared a pull request at https://github.com/Subsurface-divelog/subsurface/pull/2647, in the hope that some more people see the changes and maybe install the CI-generated android package so that we can more easily get feedback from people

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-06 Thread Christof Arnosti
Hi Anton, Thanks for your feedback! On 06.03.20 08:43, Anton Lundin wrote: > On 05 March, 2020 - Christof Arnosti wrote: > >> Hi together, >> >> So I continued on my quest to support USB-to-Serial adapters in >> subsurface-mobile for android. >> >> I focused on implementing the

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-05 Thread Anton Lundin
On 05 March, 2020 - Christof Arnosti wrote: > Hi together, > > So I continued on my quest to support USB-to-Serial adapters in > subsurface-mobile for android. > > I focused on implementing the usb-serial-for-android driver. It works > with my computer (TM), but there are still some problems in

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-05 Thread Christof Arnosti
Hi together, So I continued on my quest to support USB-to-Serial adapters in subsurface-mobile for android. I focused on implementing the usb-serial-for-android driver. It works with my computer (TM), but there are still some problems in the code and I can't test with other computers. The Code

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-02 Thread Christof Arnosti
On 01.03.20 22:09, Anton Lundin wrote: > On 01 March, 2020 - Dirk Hohndel wrote: > >>> On Mar 1, 2020, at 10:32 AM, Christof Arnosti wrote: >>> >>> Soo... I own a Mares Puck Pro, and I want to use Subsurface Mobile to >>> transfer dives from the computer. >>> >>> I found that currently for

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-01 Thread Anton Lundin
On 01 March, 2020 - Dirk Hohndel wrote: > > > On Mar 1, 2020, at 10:32 AM, Christof Arnosti wrote: > > > > Soo... I own a Mares Puck Pro, and I want to use Subsurface Mobile to > > transfer dives from the computer. > > > > I found that currently for android a libftdi / libusb-based driver >

Re: Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-01 Thread Dirk Hohndel
> On Mar 1, 2020, at 10:32 AM, Christof Arnosti wrote: > > Soo... I own a Mares Puck Pro, and I want to use Subsurface Mobile to > transfer dives from the computer. > > I found that currently for android a libftdi / libusb-based driver > (serial_ftdi.{c,h}) is available for FTDI based serial

Subsurface Mobile: Adding mares USB (cp210x) support; how to proceed

2020-03-01 Thread Christof Arnosti
Hi together, Soo... I own a Mares Puck Pro, and I want to use Subsurface Mobile to transfer dives from the computer.  I found that currently for android a libftdi / libusb-based driver (serial_ftdi.{c,h}) is available for FTDI based serial converters. The Mares USB cable uses a cp210x based