[PATCH] Bluetooth support for Android

2015-07-13 Thread Claudiu Olteanu
Hi there, I attached some patches which can be used to fix the issues related to Bluetooth connectivity on Android platforms. On Android, a connection to a service cannot be established using a port. The first patch should fix this issue using the uuid of the SPP service on the connection step.

Re: [PATCH] Bluetooth support for Android

2015-07-14 Thread Thiago Macieira
On Monday 13 July 2015 23:53:56 Claudiu Olteanu wrote: > I attached some patches which can be used to fix the issues > related to Bluetooth connectivity on Android platforms. > > On Android, a connection to a service cannot be established > using a port. The first patch should fix this issue usi

Re: [PATCH] Bluetooth support for Android

2015-07-15 Thread Claudiu Olteanu
Hi Thiago, > Is this method supposed to work elsewhere too? Is there a reason not to > use it > everywhere? > This method should work on every supported platforms but I cannot obtain the correct result using it on Linux. I mentioned before that I believe there is a bug on the QtBluetooth library

Re: [PATCH] Bluetooth support for Android

2015-07-15 Thread Thiago Macieira
On Wednesday 15 July 2015 22:08:48 Claudiu Olteanu wrote: > This method should work on every supported platforms but > I cannot obtain the correct result using it on Linux. > I mentioned before that I believe there is a bug on the > QtBluetooth library because when I start a full SDP > discovery

Re: [PATCH] Bluetooth support for Android

2015-07-15 Thread Claudiu Olteanu
> > It's July. Alex may be on his 4-week vacation. > > Ping him again next week to see if he's back. Ok, thanks for the info! Then I will wait for Alex to finish his vacation and I will welcome him with some potential bugs on QtBluetooth library:-). __

Re: [PATCH] Bluetooth support for Android

2015-07-15 Thread Rick Walsh
Hi Claudiu, On 16 Jul 2015 5:09 am, "Claudiu Olteanu" < olteanu.vasilica.clau...@gmail.com> wrote: > > Hi Thiago, > >> >> Is this method supposed to work elsewhere too? Is there a reason not to use it >> everywhere? > > > This method should work on every supported platforms but > I cannot obtain t

Re: [PATCH] Bluetooth support for Android

2015-07-15 Thread Claudiu Olteanu
> > I can test on my Galaxy s6, which apparently run on Android 5.02. Well I > could test it if I knew how. > It will be a great help. First you should pair the devices manually. Then you can download and install the application from here [1] (this is the version which doesn't wait for scanning p

Re: [PATCH] Bluetooth support for Android

2015-07-15 Thread Rick Walsh
On 16 Jul 2015 8:32 am, "Claudiu Olteanu" < olteanu.vasilica.clau...@gmail.com> wrote: >> >> I can test on my Galaxy s6, which apparently run on Android 5.02. Well I could test it if I knew how. > > > It will be a great help. > > First you should pair the devices manually. And that's where it went

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Claudiu Olteanu
> > And that's where it went wrong. They wouldn't pair. The Petrel says "bt > init fail". I'm off to work now. Might get a chance this evening to work > out pairing. > This is strange. Do you have other smart device (with Android/iOS) where you can try the pairing step? It could be a problem with

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Rick Walsh
On 16 July 2015 at 17:06, Claudiu Olteanu < olteanu.vasilica.clau...@gmail.com> wrote: > And that's where it went wrong. They wouldn't pair. The Petrel says "bt >> init fail". I'm off to work now. Might get a chance this evening to work >> out pairing. >> > This is strange. Do you have other sma

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Claudiu Olteanu
> > I'm sure it's possible, but I couldn't work it out in the 3 minutes I > tried while brushing my teeth before I left late for work (a little bike > race is keeping me up late, so getting up in the morning is a bit harder). > I'll try again this evening, and if that fails I'll check I can pair my

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Rick Walsh
Hi Claudiu, On 16 July 2015 at 08:32, Claudiu Olteanu < olteanu.vasilica.clau...@gmail.com> wrote: > I can test on my Galaxy s6, which apparently run on Android 5.02. Well I >> could test it if I knew how. >> > > It will be a great help. > > First you should pair the devices manually. > I downlo

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Claudiu Olteanu
> > The scan works, and scrolling across tells me that it knows the Petrel is > paired. But the save button is greyed out so quit is the only way I can > leave this dialog. > I observed that when you select an item the signal is not always raised (QListWidget::itemActivated). Probably on Android

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Claudiu Olteanu
> That's brilliant. It works! Screenshot attached. > > Well nearly. The ok button is off the screen so I can't save them. > Great :-). It works when you wait for the scanning process to end or it doesn't matter? And yes, currently not all buttons are on the screen. I changed the UI only for the d

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Rick Walsh
On 16 July 2015 at 20:42, Claudiu Olteanu < olteanu.vasilica.clau...@gmail.com> wrote: > > That's brilliant. It works! Screenshot attached. >> >> Well nearly. The ok button is off the screen so I can't save them. >> > > Great :-). It works when you wait for the scanning process to end > or it does

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Claudiu Olteanu
> > It works fine if it's still in scanning mode. The only thing delaying me > is that it's really difficult to double click a little item in a list on a > phone screen. Or I have fat fingers. > Hmm..then I have to figure out if there is a problem with Android 5.1.1 or with my HW dive computers.

Re: [PATCH] Bluetooth support for Android

2015-07-16 Thread Dirk Hohndel
On Thu, Jul 16, 2015 at 01:56:08PM +0300, Claudiu Olteanu wrote: > > > > It works fine if it's still in scanning mode. The only thing delaying me > > is that it's really difficult to double click a little item in a list on a > > phone screen. Or I have fat fingers. > > > > Hmm..then I have to fi