Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manipulation of Advertisement Package #8

Open
smokingfish opened this issue Dec 8, 2017 · 3 comments
Open

Manipulation of Advertisement Package #8

smokingfish opened this issue Dec 8, 2017 · 3 comments

Comments

@smokingfish
Copy link

Hi again :)

and another thing I would like to know more about is in what ways I can manipulate the advertisement package.

There is the BluetoothLEAdvertisementPublisher which has all the options I would need. Is there any way to use this together with the GattServiceProvider or in other ways manipulate what is being advertised?

If that is in any way possible, it would be great to add it to this sample!

@mxi1
Copy link

mxi1 commented Dec 3, 2018

Hello there, any updates from Windows UWP APIs for this basic feature?
This is one very common scenario for GATT Service provider, Apple and Google has already provided the APIs on their platforms.
Can microsoft provide one API for combinated advertising parameters (manufacture data & gatt service uuid)?
Thanks

@FrankGorgenyi
Copy link
Contributor

FrankGorgenyi commented Dec 4, 2018

We've completed the backlog request to specify the ServiceData bytes when using the GATT Service provider to publish a service. While this is not manufacture data, and not as flexible as the BluetoothLEAdvertisementPublisher, we believe it will meet many of the scenarios backlogged against it. I can't comment on the release timeline until the code hits a release branch I'll reply when it does.

Can microsoft provide one API for combinated advertising parameters (manufacture data & gatt service uuid)?

Is there any way to use this together with the GattServiceProvider or in other ways manipulate what is being advertised?

@mxi1 Can you please tell us the scenario for Manufacture Data in the GATT Service provider so we can decide if we should create a backlog item for it?

@mxi1
Copy link

mxi1 commented Dec 14, 2018

We've completed the backlog request to specify the ServiceData bytes when using the GATT Service provider to publish a service. While this is not manufacture data, and not as flexible as the BluetoothLEAdvertisementPublisher, we believe it will meet many of the scenarios backlogged against it. I can't comment on the release timeline until the code hits a release branch I'll reply when it does.

Can microsoft provide one API for combinated advertising parameters (manufacture data & gatt service uuid)?

Is there any way to use this together with the GattServiceProvider or in other ways manipulate what is being advertised?

@mxi1 Can you please tell us the scenario for Manufacture Data in the GATT Service provider so we can decide if we should create a backlog item for it?

Sorry for my late reply.
It's very common to use one single advertisements to contain both manufacture data and Service UUID and other data. Developers can use the manufacture data to broadcast the status of wearable devices without connecting it to the mobile phone; and also provide the ability to connect when necesary.

Anyway, whether it's common or not, we can see what android and ios handle this case. Android just provide the APIs (AdvertiseData.Builder) , and don't limit what developers should do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants