PhilipsHue / flutter_reactive_ble

Flutter library that handles BLE operations for multiple devices.
https://developers.meethue.com/
Other
662 stars 326 forks source link

manufacturerData is not being updated fast enough #817

Open Laestry opened 10 months ago

Laestry commented 10 months ago

Describe the bug I have a ble device that advertises every second, one of the data it's advertising is the frame count in other words the amount of advertised packets (hope my terminology is correct). But using this library I'm not seeing a change every second but only about 5-7 seconds. The frame changes like this 1, 5, 10, 17. The data is stored in the manufacturerData.

To Reproduce Steps to reproduce the behavior:

  1. scan for devices
  2. check for changes in manufacturerData

Expected behavior The frame changes like this 1, 5, 10, 17 but I should be receiving changes in an order of 1, 2, 3, 4, 5, etc. On windows I'm using a program to scan for devices and during it's scan phase I'm getting constant one second updates, so the fault is not with the ble device.

Smartphone / tablet

Peripheral device

Additional context The rssi is changing constantly, is there maybe a way to get the manufacturerData to update in the same interval as the rssi value?