Page 1 of 1

No bluetooth module

Posted: Tue Dec 22, 2020 2:11 pm
by kendrikwah
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!

Re: No bluetooth module

Posted: Wed Dec 23, 2020 1:39 am
by mattyt
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.

Re: No bluetooth module

Posted: Thu Dec 24, 2020 3:03 am
by kendrikwah
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!

Re: No bluetooth module

Posted: Fri Dec 25, 2020 1:51 pm
by mattyt
kendrikwah wrote:
Thu Dec 24, 2020 3:03 am
In other words, if I wish to use BLE for the B-L475-IOT01A, I will need to revert back to C/C++?
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 am
In the case of the P-NUCLEO-WB55, I believe there is BLE that can be used in MicroPython?
Yes, the WB55 has great support for bluetooth.

Re: No bluetooth module

Posted: Sat Dec 26, 2020 4:12 pm
by pagano.paganino

Re: No bluetooth module

Posted: Mon Jan 11, 2021 12:19 am
by jimmo
kendrikwah wrote:
Tue Dec 22, 2020 2:11 pm
EDIT: Currently, I am looking to change Makefile,
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