BLE Disconnecting Once clicked run trains
I connect the hubs then the BLE server disconnects when I click run all hubs on the layout would you know how to fix?
Can you upload the logs? They can be found here:
Windows: %APPDATA%/Godot/app_userdata/brickrail-gui/logs
Linux: ~/.local/share/godot/app_userdata/brickrail-gui/logs
Probably the newest ones, if you encountered the issue the last time you opened brickrail.
It should include the "brickrail" and "ble-server" logs (2 files)
Ok I have put the ones from today below.
ble-server_2025-05-01_18.09.59.log ble-server_2025-05-01_18.27.23.log ble-server_2025-05-01_18.31.21.log brickrail.log
Which OS are you on? I am confused since the ble-server logs imply using WinRT, which is a windows thing, while the brickrail logs show some errors seemingly pointing at linux/macos. Do you know what kind of bluetooth adapter your system is using?
Also, how/when did you install the pybricks firmware? If you know which version you installed that would help a lot.
Ok I used the firmware in the brickrail folder. I am on windows 11 pro would you like the version?
also how do i find which adapter im using?
you should be able to run this in a powershell instance (just search for powershell in windows):
wget https://github.com/Microsoft/busiotools/raw/master/bluetooth/tracing/GetBluetoothRadioInfo.ps1 -UseBasicParsing | iex
Here it is
Could you have a look.
Unfortunately nothing springs out to me that's triggering this, I would have to look quite deeply into the logs and I'm quite busy these days. But I will take a look once I have more time. Does this happen always or only sometimes? How many hubs are you trying to connect?
Sometimes It does then sometimes always I have updated the drivers for the bluetooth adapter. should I run the program as admin?