[Bug] Failed to install Pybricks Firmware on TechnicHub 88012
Describe the bug Error message when trying to install firmware on Lego TechnicHub 88012 when using Pybricks (v3.2.3 - Pybricks Code v2.1.1). Browser: Edge.
InstanceId : USB\VID_0A5C&PID_6412\3052CB80EBF6 MAC : 3052CB80EBF6 DriverDescription : Dell Wireless 1820A Bluetooth 4.1 LE DriverVersion : 12.0.1.720 ErrorRecovery : None ScoType : Unknown
To reproduce Steps to reproduce the behavior:
- Open Edge
- Go to Pybricks
- Click on Install Firmware
- Select Lego TechnicHUb 88012
- Press button on Hub until it blinks purple
- Click on Install
- Pair with LegoBootloader --> then installation / Pairing window disappears and error message see below pops up.
Expected behavior Firmware installed and hub ready to be run from Pybricks
ErrorMessage in Pybricks:
Error: Failed to execute 'getPrimaryService' on 'BluetoothRemoteGATTServer': GATT Server is disconnected. Cannot retrieve services. (Re)connect first with `device.gatt.connect`.
at P.<computed> (https://code.pybricks.com/static/js/main.a3e3d8b4.js:2:1479169)
at https://code.pybricks.com/static/js/main.a3e3d8b4.js:2:1483081
at m (https://code.pybricks.com/static/js/main.a3e3d8b4.js:2:1484027)
at h (https://code.pybricks.com/static/js/main.a3e3d8b4.js:2:1483538)
at u (https://code.pybricks.com/static/js/main.a3e3d8b4.js:2:1483810)
Screenshot:
We've had a number of people report this issue. You can review the similar issues with this search.
I think for some people, using a different Bluetooth adapter made a difference (but I might be confusing that with a different issue).
Also be sure to check out the tips at https://github.com/orgs/pybricks/discussions/270 to make sure it is not something easy like disconnecting all other Bluetooth devices or having a low battery.