<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 5 Jul. 2017 4:09 am, "Linus Torvalds" <<a href="mailto:torvalds@linux-foundation.org">torvalds@linux-foundation.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On Tue, Jul 4, 2017 at 6:31 AM, Dirk Hohndel <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>> wrote:<br>
>> 07-04 19:19:20.268  2423  2520 D /data/newandroid/subsurface/<wbr>qt-models/messagehandlermodel.<wbr>cpp: INFO: Creating Android Central/Client support for BTLE<br>
>> 07-04 19:19:20.272  2423  2520 D /data/newandroid/subsurface/<wbr>qt-models/messagehandlermodel.<wbr>cpp: INFO: qt_ble_open( 00:13:43:0E:6B:D0 )<br>
>> 07-04 19:19:20.394  5484 32204 D BtGatt.GattService: clientConnect(org.<wbr>subsurfacedivelog.mobile) - address = 00:13:43:0E:6B:D0, isDirect=true transport =2 set own addr = false own addr type:0, clientIf: 4<br>
>> 07-04 19:19:20.877  2423  2423 D /data/newandroid/subsurface/<wbr>qt-models/messagehandlermodel.<wbr>cpp: INFO: "LocalDeviceBroadcastReceiver:<wbr>:onReceive() - event: android.bluetooth.device.<wbr>action.ACL_CONNECTED"<br>
>> 07-04 19:19:20.898  2423  2520 D /data/newandroid/subsurface/<wbr>qt-models/messagehandlermodel.<wbr>cpp: INFO: Connection updated: error: QLowEnergyController::Error(<wbr>NoError) oldState: QLowEnergyController::<wbr>ControllerState(<wbr>ConnectingState) newState: QLowEnergyController::<wbr>ControllerState(<wbr>ConnectedState)<br>
>> 07-04 19:19:21.000  2423  2520 D /data/newandroid/subsurface/<wbr>qt-models/messagehandlermodel.<wbr>cpp: INFO: connected to the controller for device 00:13:43:0E:6B:D0<br>
>> 07-04 19:19:21.001  2423  2520 D /data/newandroid/subsurface/<wbr>qt-models/messagehandlermodel.<wbr>cpp: INFO:   .. discovering services<br>
>> 07-04 19:19:21.006  2423  2520 D /data/newandroid/subsurface/<wbr>qt-models/messagehandlermodel.<wbr>cpp: INFO: Service discovery initiated<br>
>> 07-04 19:19:33.409  2423  2520 D /data/newandroid/subsurface/<wbr>qt-models/messagehandlermodel.<wbr>cpp: INFO:  .. done discovering services<br>
>> 07-04 19:19:33.409  2423  2520 D /data/newandroid/subsurface/<wbr>qt-models/messagehandlermodel.<wbr>cpp: INFO: failed to find suitable service on 00:13:43:0E:6B:D0<br>
>> 07-04 19:19:33.420  5484 27635 D BtGatt.GattService: clientDisconnect(org.<wbr>subsurfacedivelog.mobile) - address=00:13:43:0E:6B:D0, connId=4, clientIf: 4<br>
>> 07-04 19:19:33.439  5484 27630 D BtGatt.GattService: clientDisconnect(org.<wbr>subsurfacedivelog.mobile) - address=00:13:43:0E:6B:D0, connId=null, clientIf: 4<br>
><br>
> That's odd. Not sure if Linus will have a moment to look at this.<br>
<br>
</div>It doesn't seem to be discovering any services at all, much less one<br>
that is write/notify. So it gives up.<br>
<br>
I have no idea why. Testing with the Nordic nRF app would be good, and<br>
maybe making sure it's bonded there and shows all services..</blockquote></div></div></div><div dir="auto">I downloaded the Nordic nRF Connect app. It shows the Petrel (2) as bonded and I can connect with it. But the DC screen still continues with its countdown.</div><div dir="auto">3 client primary service's are shown:</div><div dir="auto">Generic access 0x1800</div><div dir="auto">Device incformation 0x180a</div><div dir="auto">Unknown service fe25c237-0ece-443c-b0aa-e02033e7209d</div><div dir="auto"><br></div><div dir="auto">Interestingly, the device list shows the Petrel as type: ble only. That is consistent with the subsurface-mobile logcat output. But i have definitely used it as traditional Bluetooth. </div><div dir="auto"><br></div><div dir="auto">Cheers?</div><div dir="auto">Rick</div><div dir="auto"><br></div></div>