I followed the Microbit x App Inventor tutorial by @Ghica and used the BLE extension (edu.mit.appinventor.ble-20230223-beta.aix), along with other extensions, including both the old and new versions of the micro:bit extension. However, I'm still encountering issues.
I followed all the steps and successfully connected via Bluetooth, but when I try to send a text to the micro:bit, I receive an error stating that Bluetooth was not initialized correctly—despite the micro:bit showing as 'connected'.
Has anyone encountered this issue before or know how to fix it?
Here are the extensions I used:
Microbit extension (also tried other versions):
com.bbc.microbit.profile.aix
Hey folks, sorry for the delay in replying — I noticed the thread started back in 2021, and honestly I didn’t expect anyone to still be monitoring it. I've been a bit caught up writing my final project, so that definitely distracted me for a while.
Recently, I gave it another try using the newest BLE extension and a newer version of the Micro:bit available in the Appinventor Extensions page, but unfortunately, I’m still running into the same issue.
I’m trying to follow the tutorial you shared earlier microbitUART.pdf (1.6 MB), and I'm currently testing things out before moving on to the actual application I have in mind.
Right now, I just really need to be able to send messages to the micro:bit — even something simple would be enough for now. I'm using the microbit-blank.hex (1.3 MB) file.
I've tried using your .hex file, along with the same extensions from the original tutorial, as well as the updated ones currently available. However, I'm getting the following error: Error 3300 – Microbit Extension Bluetooth device is not set.
It seems that something is missing in your .aia, so by now I am confused about what exact code you are using. Post the .aia and the .hex files, which together give you this problem.
All instances of the MicroBit extensions in your project expect to be provided with an instance of the BluetoothLE extension. Select each instance in your app and in the designer properties, make sure the BluetoothDevice property is set to a BluetoothLE instance (e.g., BluetoothLE1).