-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event of readstring is not running #59
Comments
@ellelili2025 Hi Li. I have looked through the link. They said the StringsReceived block from BLE extension and the TXCharacteristicReceived block from Microbit_Uart extension do not work. They also said the BytesReceived block from BLE extension works. But all the three blocks do not work for me, which means I can't receive any bytes or strings from the micro:bit V2 or V1 to my phone. I have tried a lot but I did not find where the problem is. May I ask what can I do for this issue? I'm not quite sure about that. Thank you very much. |
@xyyshh Does BluetoothLE1.bytesreceived work for you? If it doesn't work for you. Could you provide more details? errors? Also which version of microbit did you use? Could yo also try with the extension I attached in the issue? |
@ellelili2025 Dear Li, BluetoothLE1.bytesreceived does not work for me. I have tried both V1 and V2 with the code you attached and they had the same performance. When I just connected to the microbit, there occured an error "Error 9011 in extension BluetoothLE: Unknown Characteristic" on my phone (app inventor). Then I pressed the button on microbit to let it send string to my phone. But I didn't receive the string and there was also no error. I also tried the extension you attached and it also didn't work. For V2, there was no string received and also no error. But I cannot connect to V1 with the extension. When I click connect button, the app crashed. |
@xyyshh I will look at this and get back to you. |
@xyyshh Could you please try project microbitRW_2.aia that I just attached. Refer to this thread in the community site for more details. https://community.appinventor.mit.edu/t/communicate-with-micro-bit/31120/3 |
@ellelili2025 microbitRW_2.aia works well on my phone and I can receive bytes from bicrobit. Thank you very much. |
Describe the bug
There is a thread on the community site regarding event of readstring is not running
Affects
Please refer to https://community.appinventor.mit.edu/t/uart-with-micro-bit-and-app-inventor/8935/18 for details.
MicroBitReceiveText.aia.zip
Extension with UART service
com.bbc.microbit.profile-20200518.aix.zip
microbitRW_2.aia.zip
The text was updated successfully, but these errors were encountered: