debgz
debgz

Reputation: 123

How to create a beacon with C# and windows 10 anniversary update

For a prototype I am currently trying to create a Bluetooth beacon with C#. I found a few promising examples

for UWP. Problem is... none of these seem to work.

When calling _bluetoothLEAdvertisementPublisher.Start();on either of the examples I am getting a exception with the message saying:

"Die Daten sind unzulässig. Es wurde eine ungültige Anzeigennutzlast erkannt."

which means:

"Invalid data. Invalid (display?) payload detected".

First question that comes to my mind is if I should set ManufacturerData or DataSections on _bluetoothLEAdvertisementPublisher.Advertisement? Or Both? Second question: Did Windows anniversary update may killed the above examples?

Upvotes: 0

Views: 1324

Answers (1)

debgz
debgz

Reputation: 123

Found a working example. So calling this resolved.

http://tomipaananen.azurewebsites.net/?p=111

Upvotes: 0

Related Questions