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

Bluetooth incompatibility #21

Open
nmitrak opened this issue Sep 14, 2024 · 2 comments
Open

Bluetooth incompatibility #21

nmitrak opened this issue Sep 14, 2024 · 2 comments

Comments

@nmitrak
Copy link

nmitrak commented Sep 14, 2024

Describe the bug
First of all congratulations for all the great work you have done so far. I am an owner of a Nezha inventor kit which as you know it also requires the planetX extension in order to program the line sensor for a follow line project. I also want to operate the microbit via bluetooth commands but when i add the bluetooth extension i get a message that says that radio and pxt-PlanetX-AI are not compatible with the bluetooth extension.
Is there a solution in using the bluetooth features of microbit along the nezha board and planetX extension without PlanetX-AI? Whenever i add the planetX extension , the PlanetX-AI is also added.

Thank you very much in advance.

@martinwork
Copy link

I think the Bluetooth extension is blocked because this extension names pxt-PlanetX-AI as a dependency, and pxt-PlanetX-AI names radio, which is incompatible with Bluetooth.

Extensions should not usually name radio or microphone unless they really cannot work without them.

I can't see a reason in the code why pxt-PlanetX-AI cannot work with Bluetooth.

"pxt-PlanetX-AI": "github:elecfreaks/pxt-PlanetX-AI#v1.0.2"

https://github.com/elecfreaks/pxt-PlanetX-AI/blob/11da0b0489a0b6631e4d7ceb2f7f28502b4ceafd/pxt.json#L7

@nmitrak
Copy link
Author

nmitrak commented Sep 16, 2024

Thank you very much for your answer. Indeed this is the problem that causes the incompatibility issue but the pxt-planetX-AI extension is inserted automatically whenever you insert the pxt-planetX extension. One solution could be inserting pxt-planetX-AI extension independently so that the user could also use bluetooth extension whenever needed. However other underlying issues that only programmers are aware of, may occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants