chipweinberger / flutter_blue_plus

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

[Help]: E/ScanRecord(14160): unable to parse scan record: [2, 1, 6, 3, 3, 0, -81, 2, -1, 43, 9, 9, 77, 70, 53, 54, 56, 50, 50, 50] #521

Closed chikramullah92 closed 1 year ago

chikramullah92 commented 1 year ago

FlutterBluePlus Version

flutter_blue_plus: ^1.14.11

Flutter Version

3.7.11

What OS?

Android

OS Version

13

What happened?

why this keep calling when i disconnect all the devices while it is still scanning, but it appears when i disconnect last device

Logs

I/flutter (14160): connected devices length: 0
V/studio.transport(14160): Agent handling command (id:143 type:APP_INSPECTION) for pid:14160.
V/studio.transport(14160): Agent handling command (id:144 type:APP_INSPECTION) for pid:14160.
E/ScanRecord(14160): unable to parse scan record: [2, 1, 6, 3, 3, 0, -81, 2, -1, 43, 9, 9, 77, 70, 53, 54, 56, 50, 50, 50]
E/ScanRecord(14160): unable to parse scan record: [2, 1, 6, 3, 3, 0, -81, 2, -1, 43, 9, 9, 77, 70, 53, 54, 56, 50, 50, 50]
E/ScanRecord(14160): unable to parse scan record: [2, 1, 6, 3, 3, 0, -81, 2, -1, 43, 9, 9, 77, 70, 53, 54, 56, 50, 50, 50] and so on until i stop the and re run.
chipweinberger commented 1 year ago

that log comes from android, not FBP.

nothing we can do about it

chipweinberger commented 1 year ago

more info https://github.com/PhilipsHue/flutter_reactive_ble/issues/521

chikramullah92 commented 1 year ago

Thanks for your quick response.i found the reason. it was due to invalid advertising data.