Bluetooth library for B_L475E_IOT01A1
Posted: Wed May 13, 2020 6:32 pm
1) Is there a library that enables use of the stm32 B_L475E_IOT01A1's onboard SPBTLE-RF bluetooth module? I can see that there is a library in "Micropython-specific libraries" called ubluetooth that looks like exactly what I am after, but I am unable to import it onto my board from the REPL.
That leads me to my next two questions:
2) What does it mean to be "Micropython-specific" in this case? I am fairly sure that this does not designate the library as specific to a particular port (although some boards may have on board bluetooth libraries while most do not). Aren't all of the libraries in the micropython repo Micropython-specific?
3) In general, if I want to see the libraries available to my board/the port I am using, where should I look? For basic peripheral access, I know that I should use the general structure "from pyb import [I2C/SPI/etc...]", which loosely correspond to the C libraries found in the ports/stm32/ subdirectory (python implementation guides available online). If there are other libraries openly available, where should I look?
That leads me to my next two questions:
2) What does it mean to be "Micropython-specific" in this case? I am fairly sure that this does not designate the library as specific to a particular port (although some boards may have on board bluetooth libraries while most do not). Aren't all of the libraries in the micropython repo Micropython-specific?
3) In general, if I want to see the libraries available to my board/the port I am using, where should I look? For basic peripheral access, I know that I should use the general structure "from pyb import [I2C/SPI/etc...]", which loosely correspond to the C libraries found in the ports/stm32/ subdirectory (python implementation guides available online). If there are other libraries openly available, where should I look?