virantha / bricknil

Control LEGO Bluetooth Sensors and Motors with Python
https://virantha.github.io/bricknil
Apache License 2.0
142 stars 39 forks source link

Fix connection error with the Move HUB #29

Open josuemontano opened 3 years ago

josuemontano commented 3 years ago

The move hub cannot be connected since there is a new port (70) which is suspected to be a debug port.

This addresses https://github.com/virantha/bricknil/issues/17.

josuemontano commented 3 years ago

I wonder if a better solution is to remove the assert at https://github.com/virantha/bricknil/blob/master/bricknil/messages.py#L333. @virantha what do you think?

maxbobkov commented 1 year ago

@josuemontano Hi! I removed the assert at row 333, but now have an error: *** Terminating app due to uncaught exception 'OC_PythonException', reason: '<class 'KeyError'>: 66'

Any ideas what to remove this time?))

I try to connect BoostHub