Hi! I am new to MicroPython (my pyboard order got messed up and thus got delayed, so I'm looking to using other microcontrollers in the meantime) and after following the instructions shown in https://github.com/micropython/micropyt ... orts/stm32, I realized that there is no bluetooth module. While I have a feeling that the steps had been done correctly (I mean, I can use Python in the microcontroller, so I figure something was done right), is this intended, and how can I upload blueooth and extmods into the micropython binary/ hex files? I am currently using a B-L475E-IOT01A1 by STMicroelectronics!
EDIT: Currently, I am looking to change Makefile, but I am unsure if there is a better way, like flags (I mean, reading Makefile did suggest there were flags, but I am a little unsure as to how to call them too!).
Thank you very much!
No bluetooth module
Re: No bluetooth module
I believe that Bluetooth is not enabled on that board yet. It uses an external Bluetooth chip (the SPBTLE-RF) and, to allow this to work, an HCI interface would need to be implemented for that chip.
-
- Posts: 3
- Joined: Tue Dec 22, 2020 2:08 pm
Re: No bluetooth module
Hey matt, thank you for replying!
In other words, if I wish to use BLE for the B-L475-IOT01A, I will need to revert back to C/C++?
In the case of the P-NUCLEO-WB55, I believe there is BLE that can be used in MicroPython?
Thank you!
In other words, if I wish to use BLE for the B-L475-IOT01A, I will need to revert back to C/C++?
In the case of the P-NUCLEO-WB55, I believe there is BLE that can be used in MicroPython?
Thank you!
Re: No bluetooth module
Yes. Or, alternatively, write just enough C to provide the appropriate implementation to allow the MicroPython bluetooth interface to function...kendrikwah wrote: ↑Thu Dec 24, 2020 3:03 amIn other words, if I wish to use BLE for the B-L475-IOT01A, I will need to revert back to C/C++?
Yes, the WB55 has great support for bluetooth.kendrikwah wrote: ↑Thu Dec 24, 2020 3:03 amIn the case of the P-NUCLEO-WB55, I believe there is BLE that can be used in MicroPython?
-
- Posts: 89
- Joined: Fri Sep 11, 2015 10:47 pm
- Location: Italy
Re: No bluetooth module
You can try this https://github.com/dmazzella/uble.
Re: No bluetooth module
See my reply on your other thread. I'm not sure this will work "out of the box" but roughly this is the first step. viewtopic.php?f=2&t=9478