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. > [5.261126] ERROR: Failed to open the serial port. [in > ../../libdivecomputer/src/hw_ostc3.c:344 (hw_ostc3_device_open)] yeah, /tmp/ttyS1 is not going to work :-) Thanks for your work on this! /D _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
