SimpleBLE icon indicating copy to clipboard operation
SimpleBLE copied to clipboard

Advertising name not available

Open didjado opened this issue 3 years ago • 1 comments

I dont think im missing anything but it seams under python on windows10 the advertising name is not available

didjado avatar Oct 16 '22 11:10 didjado

Hey @didjado, thanks for the report!

So far I think this bug is related to this issue: https://github.com/OpenBluetoothToolbox/SimpleBLE/issues/111

Can you tell me which device you're looking for? I'm trying to replicate this consistently for testing.

kdewald avatar Oct 16 '22 16:10 kdewald

Its a custom product with a Nordic service uuid nus_service = "6e400001-b5a3-f393-e0a9-e50e24dcca9e" nus_char_tx = "6e400003-b5a3-f393-e0a9-e50e24dcca9e" nus_char_rx = "6e400002-b5a3-f393-e0a9-e50e24dcca9e"

but im finding that in the scans there are few items with names

didjado avatar Oct 24 '22 07:10 didjado

Peripheral devices names (AD identifier 0x09 Complete Local Name or 0x08 Shortened Local Name) come either in the regular advertisment packet or in the scan response packet. Due to issue #111 the scan response is currently not supported by the lib and hence you would only see names for devices with the name in the regular advertisment but not if in scan response. So, this issue is very likely the same as issue #111.

eriklins avatar Nov 04 '22 15:11 eriklins

Fixed in #128

kdewald avatar Nov 07 '22 04:11 kdewald