[TEST REQUEST] Windows Bluetooth LE build

Lubomir I. Ivanov neolit123 at gmail.com
Sat Jun 9 18:29:11 PDT 2018


On 10 June 2018 at 04:18, Dirk Hohndel <dirk at hohndel.org> wrote:
>
>> On Jun 9, 2018, at 6:15 PM, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>>> Thanks for working on this. I was surprised that this is built against Qt 5.9.5
>>> Somehow I assumed that you would be working on 5.10 or even 5.11 :-)
>>>
>>> Anyway, I got all excited and got all four of my BLE dive computers, installed
>>> as instructed and gave it a try...
>>>
>>> There is nothing interesting on the console (just the -v -v startup stuff). I'm
>>> too lazy to figure out how to copy this on Windows - trust me, it's just the
>>> default output.
>>>
>>> I did everything you suggest above, click on 'Scan' and after a few moments
>>> I get
>>>
>>> "Device discovery error: The Bluetooth adaptor is powered off, power it on
>>> before doing discovery."
>>>
>>> I went to Settings, confirmed that BT was on (even turned it off and then on
>>> again, just to be sure). Same error.
>>>
>>> Not sure what else to try.
>>>
>>
>> i will post an update soon.
>>
>> i would like to point out that this same Win32-BLE stack is apparently
>> used in "production" by at least one person (the original
>> contributor), so he says it works for him. Alex also says it works.
>> also my tests about reading / writing GATT characteristics /
>> descriptors, discovering devices and services etc, also work.
>
> So I assume that on your system the BT stack is detected as "powered on".
> Not sure what else to try here, though. This seems to be a pretty basic problem :-)
>

"Device discovery error: The Bluetooth adaptor is powered off, power it on
before doing discovery."

so i think this is a about the driver on Windows. it's currently
disable somehow.
have you used BLE on this machine before?

a couple of things:
1) newer Windows has this thing on the bottom right of the task menu
that looks like a chat bubble, where you can quickly turn on/off
services like Airplane mode, Wifi, Bluetooth.
see if Bluetooth is listed there if not - 2)
2) open the start menu and type "Device manager"
- See if a Bluetooth entry is present.
- expand it and there should be things like "Bluetooth LE generic
attribute service", "BLE Enumerator"
^ if these are missing then a BLE driver has to be installed.

This tool can be used to debug device connectivity and BLE services /
characteristics etc:
https://www.microsoft.com/en-us/p/bluetooth-le-explorer/9n0ztkf1qd98

if the above tool doesn't work then it's a OS level problem.

lubomir
--


More information about the subsurface mailing list