Always have error 507 and 515 on HUAWEI

Hi everyone i am really new to this platform and i spend this whole day trying to debug some simple problem: i can't use my app just made because i cannot connect the bluetooth. :innocent: :sob:
i though this was easy when i looked up in github
receive.aia (4.4 KB)
the function of this app is to send a message and also receive it from a device
Bigggg thanks for helping

Maybe the device is BLE?

I am not sure cause I saw new BLE update message And I have tried to use it instead but it came out the same error :sob::sob::sob:i wonder if it is due to the huawei system?or just because I am not really familiar with it​:smiling_face_with_tear: thank you soooo much

Your app is in Chinese, so it's harder to follow:

For starters, we need more information about the BlueTooth device you want to connect to.

I suggest getting a BlueTooth terminal app from the Play Store, and using that to try to connect to your device, just to be sure what it is.

As a pre-BLE app, your code lacks tests of is_connected before the transmission attempts.
I see no reason for the Screen1.Initialize disconnect block.

1 Like

Got it! I am now aware that I may spend more time to read the tutorial book. Again sincerely appreciate for your help :smiling_face_with_three_hearts:

1 Like

I have an Huawei P30, Android 10. Works well with BLE.

What are the devices you are using? Make & Model

See my site for some clues:
https://www.professorcad.co.uk/appinventortips#TipsBluetooth
https://www.professorcad.co.uk/appinventortips#BluetoothFailure

1 Like