Closed DaHoopster closed 4 years ago
You don't find that on the board, or as autocompletion suggestion? because FYI: the M5Stack micropython firmware doesn't have the BLE module included. It is a fork from loboris/MicroPython_ESP32_psRAM_LoBo. I wrote an article about it: https://lemariva.com/blog/2020/02/m5stack-micropython-and-bluetooth-ble
Hi @DaHoopster, sorry for the delay.
Looked into this, and it seems that the current version of Josverl/micropython-stubber does not currently make an attempt to generate stubs for the bluetooth module (as can be seen here)
I would recommend creating an issue on Joverl/micropython-stubber about this to see about adding the bluetooth module to the "to stub" list (or to inquire why it was left out if intentional)
Got it, thanks @BradenM
I opened an issue with a proposed PR
I am using a M5Stack Fire with SPRAM for development. I installed the stub
esp32-micropython-1.12.0
, but I am unable to find eithernetwork.Bluetooth
class or the top-levelubluetooth
class mentioned by the official MicroPython doc from the VS Code code autocomplete. Could you help me understand what went wrong? Thanks