ble_monitor icon indicating copy to clipboard operation
ble_monitor copied to clipboard

Periodic dongle restart

Open osctobe opened this issue 3 years ago • 3 comments

It seems that my BT dongle stops receiving advertisements now and then. Could there be a feature that allows periodically to restart the dongle (or after 10 minutes without a message from any device)? (e.g. btloetoothctl power down + power up seems to fix the issue for couple of days)

osctobe avatar Jan 24 '22 07:01 osctobe

Do you get errors, when your BT dongle stops receiving advertisements? There is already an option that resets the BT, in case of errors. It only uses the bluetoothctl power on command. but not bluetoothctl power off. This can be enabled in the BLE monitor settings (Automatically restart Bluetooth adapter on failure) but only works BLE monitor starts to generate errors when it fails. If you don't see errors, it won't get activated.

Ernst79 avatar Jan 24 '22 07:01 Ernst79

There have been made some improvements to the reset functionality in 7.5.0, which might reset the dongle automatically, if an error occurs. But it depends on whether you get an error, when it stops responding.

Ernst79 avatar Feb 02 '22 19:02 Ernst79

To what Ernst said, I want to add that 7.6.0-beta was published today with changes in the "reset" procedure - among other things, now it does not depend on the initial state of the adapter, that is, the power cycle will be performed anyway. @osctobe, I ask you to try 7.6.0-beta if possible, it looks pretty stable.

Magalex2x14 avatar Feb 06 '22 20:02 Magalex2x14