homebridge-mi-hygrothermograph icon indicating copy to clipboard operation
homebridge-mi-hygrothermograph copied to clipboard

Bluetooth: hci0 advertising data length corrected

Open tomky opened this issue 4 years ago • 5 comments

After I installed this plugin on my RP3, the system log shows the following errors repeatedly in a crazy speed, which seems a bad thing so I removed it right away:

Bluetooth: hci0 advertising data length corrected

It seems this is caused by Bluetooth overload, which I assume is caused by continuous BLE scanning. I wonder if this can be solved by reducing the scanning rate, and if so how? BTW, adjusting updateInterval doesn’t help.

tomky avatar Mar 22 '20 17:03 tomky

I can't see why this would be caused by scanning for BLE devices. A quick googling suggests that people see this error due to using an under-dimensioned power supply. I would recommend trying a 3A power supply.

hannseman avatar Mar 22 '20 19:03 hannseman

That is what I originally suspect. Nevertheless, I tried the official RP power supply and other 3A+ power supply and no luck so far.

In the error messages I can see that the error happens so often that it is even suppressed by the system, which I believe is caused by the scanning as no other BE applications I used cause the same error.

tomky avatar Mar 22 '20 20:03 tomky

Did you ever manage to track down this issue?

hannseman avatar Jul 10 '20 18:07 hannseman

I tried to edit the scanning speed in noble package directly. In general, when the scanning speed is reduced, the error happens much less frequently. Unfortunately, the devices cannot be found if I change the scanning speed, which makes this trick useless.

tomky avatar Jul 11 '20 14:07 tomky

Same message here with a RP3.

vbarba avatar Jan 12 '21 18:01 vbarba