sblendid icon indicating copy to clipboard operation
sblendid copied to clipboard

BLE name is empty on Windows

Open dunda123 opened this issue 4 years ago • 6 comments

Hi. I don't know if it's a Windows problem. But when searching for a device, "name" is always empty. The same device on Mac OS has the correct name. Thx for your time. Z.

sblendid.startScanning(peripheral => {
      const { uuid, name, connectable } = peripheral;
      console.log(uuid, name, connectable);
    });

dunda123 avatar Dec 04 '19 23:12 dunda123

Hey @dunda123 sorry for the late reply, I'll look into this in the next days

LukasBombach avatar Dec 06 '19 22:12 LukasBombach

Hey @dunda123 sorry I want to finish Linux support (https://github.com/LukasBombach/sblendid/issues/4) first before I look into this bug.

LukasBombach avatar Dec 19 '19 08:12 LukasBombach

@dunda123 I am trying to investigate but I do have the same results on macOS and on Windows. Can you tell me a little bit more about your device? What is is that you are searching (scanning) for? I know that BLE devices advertising their names are often times somewhat unreliable but this may be fixed on the side of this library.

macOS Bildschirmfoto 2019-12-31 um 17 28 52

Windows Bildschirmfoto 2019-12-31 um 17 29 34

LukasBombach avatar Dec 31 '19 16:12 LukasBombach

I am going to close this for now, as I cannot confirm this. Please comment if you see this problem does persist

LukasBombach avatar Jan 05 '20 11:01 LukasBombach

Hi. I try scan my device with util: https://github.com/sensboston/BLEConsole/tree/master/BLEConsole and name is returned.

But with sblendid only on Mac OS. Device is industrial equipment. Thx for help.

dunda123 avatar Jan 05 '20 21:01 dunda123

Ah ok, I will investigate

LukasBombach avatar Jan 06 '20 08:01 LukasBombach