Error 507 when blue tooth device select

90 views
Skip to first unread message

Mani kumar

unread,
Aug 13, 2019, 2:24:38 AM8/13/19
to MIT App Inventor Forum
please resolve my error
1.PNG

Chris Ward

unread,
Aug 13, 2019, 8:40:44 AM8/13/19
to MIT App Inventor Forum
Hello Mani

Not enough to go on! 

507: Unable to connect. Is the device turned on?

That could be either the Bluetooth on your phone or the other device is not switched on. Also, Phone Location should be switched on (recent Google security measure).

Also this Block is wrong:

BlocksError.png

Use a Maths number Block here, content -1 to get all bytes available.

What is your App communicating with exactly?


Chris Ward

unread,
Aug 13, 2019, 8:59:17 AM8/13/19
to MIT App Inventor Forum
...also we would need to see all of the Blocks related to to the Bluetooth connection - your screenshot is missing a few.

Ghica

unread,
Aug 13, 2019, 9:12:39 AM8/13/19
to MIT App Inventor Forum
Be careful with the -1. It only works if 10 is set as delimiter in the designer and println() is used from the device as the last thing in a message.
Cheers, Ghica.
Reply all
Reply to author
Forward
0 new messages