weliem / bluez_inc

A C library for Bluez (BLE) that hides all DBus communication. It doesn't get easier than this. This library can also be used in C++.
MIT License
89 stars 22 forks source link

Functionality request related to Advertising #2

Closed FcoFabra closed 2 years ago

FcoFabra commented 2 years ago

Thank you for this amazing library. I am using it in a Raspberry Pi to connect using Android, and it works fine.

I also tried to connect from Windows using "Bluetooth LE Explorer" and I was unable to do that. Moreover, in the advertising I include the device name. Android is able to find and parse the name, but the previous application not.

The next step was to use "BLE Scanner" in Android to analize the advertising, and I found that it includes the name of the device, but it does not includes the flags section (data type 0x01). I know that the standard makes this section optional, but it would be great to configure it in order to prepare a more "typical" advertisement.

Are you planning to implement this feature? Is it possible at all?

Thank you for your support. Best regards.

weliem commented 2 years ago

Hi, no concrete plans to add this. As far as I am aware, using Flags can be done but that functionality is marked 'experimental'.

Generally speaking I am staying away of experimental features. But perhaps there is a way to support it without breaking stuff for people that have not enabled experimental features.....

FcoFabra commented 2 years ago

Thank you. I understand.

May be in the future. Have a nice day.