chipweinberger / flutter_blue_plus

Flutter plugin for connecting and communicationg with Bluetooth Low Energy devices, on Android, iOS, macOS
Other
791 stars 478 forks source link

[Help]: 2 Bytes missing in advertisementData.manufacturerData #907

Closed kle-wang closed 5 months ago

kle-wang commented 5 months ago

Requirements

Have you checked this problem on the example app?

Yes

FlutterBluePlus Version

1.32.7

Flutter Version

3

What OS?

Android, iOS

OS Version

android 12

Bluetooth Module

headphones

What is your problem?

link to: https://github.com/pauldemarco/flutter_blue/issues/102 2 Bytes missing in advertisementData.manufacturerData because of my device detect by using manufacturerData. if i lost 2 Bytes,i can not discover my device correct. could any way to slove it.i want to get the begin 2 bytes data.

Logs

full :【82,83,0,1,0,1,0,11,1,100,0,209,2,3,4,5,161】
      【~~,~~,0, 1, 0, 1, 0, 11, 1, 100, 0, 209, 2, 3, 4, 5, 161】
chipweinberger commented 5 months ago

the first two bytes are the key of the map, treated as an uint16_t

i.e. manufacturer id