You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
The text was updated successfully, but these errors were encountered:
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",
};
The text was updated successfully, but these errors were encountered: