Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Configure REPL echo over BT on Primehub #261

Closed
antonvh opened this issue Feb 22, 2021 · 3 comments
Closed

Feature request: Configure REPL echo over BT on Primehub #261

antonvh opened this issue Feb 22, 2021 · 3 comments
Labels
enhancement New feature or request hub: primehub/inventorhub Issues related to the LEGO SPIKE Prime hub and LEGO MINDSTORMS Robot Invetor hub topic: bluetooth Issues involving bluetooth

Comments

@antonvh
Copy link

antonvh commented Feb 22, 2021

With the Primehub, on the LEGO firmware, uart and REPL on the Bluetooth virtual com port are always echoed to the USB virtual com port. And vice versa. That is annoying.

Can you make this configurable on Pybricks? Default REPL on USB and optional REPL on BT?

Having a free uart/vcp on bt would open a lot of possibilities for inter-brick communication and brick-to-computer. You could then develop it via USB.

@laurensvalk laurensvalk transferred this issue from pybricks/pybricks-micropython Feb 22, 2021
@laurensvalk laurensvalk added hub: primehub/inventorhub Issues related to the LEGO SPIKE Prime hub and LEGO MINDSTORMS Robot Invetor hub topic: bluetooth Issues involving bluetooth enhancement New feature or request labels Feb 22, 2021
@laurensvalk
Copy link
Member

We might be doing things quite differently in Pybricks; a lot of it is still open and to be decided. USB and Bluetooth Classic are not enabled yet. We focus on BLE because all hubs have it, and because we can use it in Pybricks Code.

At the moment, we are splitting the download-and-run communication stuff to a separate BLE service. This paves the way for easy hub-to-hub communication within user programs. (Without having to fall back to USB just to free up BT somehow.)

@antonvh
Copy link
Author

antonvh commented Feb 22, 2021 via email

@laurensvalk
Copy link
Member

We've summarized some of our plans for further discussion in #262, so we can close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hub: primehub/inventorhub Issues related to the LEGO SPIKE Prime hub and LEGO MINDSTORMS Robot Invetor hub topic: bluetooth Issues involving bluetooth
Projects
None yet
Development

No branches or pull requests

2 participants