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

[BUG] #8

Open
Olloxan opened this issue Dec 1, 2021 · 0 comments
Open

[BUG] #8

Olloxan opened this issue Dec 1, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Olloxan
Copy link

Olloxan commented Dec 1, 2021

Hi,
I am not able to add a dictionary containing manufacturer data into the advertising package, I will get a bluez error when it trys to parse the advertising package. What comes into the dictionary?

public static async Task RegisterSampleAdvertisement(ServerContext serverContext)
{
Dictionary<string, object> dic = new Dictionary<string, object>();
dic.Add("0ffe", ""); // <-- what comes in here?
var advertisementProperties = new AdvertisementProperties
{
Type = "peripheral",
ManufacturerData = dic, // this produces the error when the package is parsed
LocalName = "Hue filament bulb",
};

        await new AdvertisingManager(serverContext).CreateAdvertisement(advertisementProperties);
@Olloxan Olloxan added the bug Something isn't working label Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants