Question regarding the implementation of the bluetooth driver on technic hub #416
Unanswered
NStrijbosch
asked this question in
Q&A
Replies: 1 comment 14 replies
-
The link just shows the entire file. It might be easier to just push your changes to GitHub so we can see what you changed. |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am exploring the possibility to connect a LEGO Mario to a Technic Hub running pybricks.
At this point I have established a stable connection!
But to achieve this I had to comment out a small piece of code:
https://github.com/pybricks/pybricks-micropython/blob/master/lib/pbio/drv/bluetooth/bluetooth_stm32_cc2640.c#:~:text=//%20Assuming%20that%20we,%7D)%3B
I do not understand the purpose of these few lines, and I am just wondering what the impact of removing these lines might be.
Moreover, any ideas why these lines are blocking the connection process of the Mario but are not blocking when connecting the Remote or City hub?
Beta Was this translation helpful? Give feedback.
All reactions