On Thu, Jun 01, 2017 at 02:46:35PM -0700, Dirk Hohndel wrote:
> On Thu, Jun 01, 2017 at 09:43:32PM +0200, Robert Helling wrote:
> > Hi,
> > 
> > I finally managed to build and run the mobile app for iOS with bluetooth 
> > enabled. Here is a patch to make that work:
> 
> Nice work. Thanks.
> 
> > When I run it and ask the phone to download dives, I get the following on 
> > the console:
> > 
> > Starting download from BT
> > Starting the thread 0
> > INFO: FTDI disabled
> > Failed to connect to device /tmp/ttyS1 . Device state 
> > QBluetoothSocket::UnconnectedState . Error: QBluetoothSocket::SocketError( 
> > -2 )
> 
> So that tells me that it didn't find your BT dive computer - the device
> name should be the BT addr xx:xx:xx:xx:xx:xx
> I noticed that you didn't add the BT capability to the Info.plist file.
> I just pushed a commit that does just that, but haven't had a chance to
> actually test the result myself.

So after a bit of frustration and searching the net it turns out that the
matrix http://doc.qt.io/qt-5/qtbluetooth-index.html is rather misleading.
Apparently iOS devices do not support classic BT at all, period. So no,
the current code will NOT work on iOS :-(

Back to work on getting BLE support in place, I guess.

/D
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to