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

[Help]: What are the keys used in ScanResult.AdvertisementData.ManufacturerData? #694

Closed
1 task done
claudeJURA opened this issue Nov 21, 2023 · 1 comment
Closed
1 task done
Labels
help Questions, help, observations, or possible bugs

Comments

@claudeJURA
Copy link

Requirements

  • I've looked at the README 'Common Problems' section

Have you checked this problem on the example app?

No

FlutterBluePlus Version

1.20.17

Flutter Version

3.13.8

What OS?

Android

OS Version

Android 13

Bluetooth Module

unknown

What is your problem?

When scanning for BLE devices we receive a map containing all advertisement data (ScanResult.AdvertisementData.ManufacturerData).

I assumed the keys in this map correspond to the BLE standard keys (https://www.bluetooth.com/wp-content/uploads/Files/Specification/Assigned_Numbers.pdf?id=3).

For instance Manufacturer Specific Data has the Flag 0xFF (dec:255) but I am receiving key 0xAB (dec:171) instead.

Is this an error or am I misinterpreting the meaning of the key? If so, what is the meaning of the key? Is the data provided in ScanResult.AdvertisementData.ManufacturerData already only the data marked with the 0xFF Flag? If so, can we somehow get access to the full list of advertisement data somehow?

Logs

no logs
@claudeJURA claudeJURA added the help Questions, help, observations, or possible bugs label Nov 21, 2023
@chipweinberger
Copy link
Collaborator

manufacturer id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help Questions, help, observations, or possible bugs
Projects
None yet
Development

No branches or pull requests

2 participants