507error is your device turned on? plz reply it depends on my graduation project

320 views
Skip to first unread message

Andy Elgindy

unread,
Jun 19, 2015, 5:32:45 AM6/19/15
to mitappinv...@googlegroups.com
hello !! i have a problem in connection between my application and my bluetooth module which i use in arduino.. and also has a problem in connect two device via bluetooth in a conversation app via bluetooth i made with MIT App Inventor.. i use Mobile Sony Z2 with Android 5.0.2 and also tried on Samsung i Found the Same Problem .. "Error:com.google.appinventor.components.runtime.bluetoothClient@1b0d09a6,507,Connect,unable to connect . Is your device turned On ?

SteveJG

unread,
Jun 19, 2015, 8:36:24 AM6/19/15
to mitappinv...@googlegroups.com
There is probably advice here https://groups.google.com/forum/#!searchin/mitappinventortest/arduino$20507

You probably have not 'paired' your devices or you have your bluetooth client on a different screen than the instructions you provide. When App Inventor switches screens, bluetooth connections unconnect so you should be using a single screen to program.  This is the way AI2 works, if you want to maintain a bluetooth connection, you cannot switch screens (if that is what you are doing).




Regards,
Steve

SteveJG

unread,
Jun 19, 2015, 8:47:59 AM6/19/15
to mitappinv...@googlegroups.com
 pair the bluetooth devices first


AddressesAndNames
The addresses and names of paired Bluetooth devices

sghughes

unread,
Jun 19, 2015, 10:09:50 AM6/19/15
to mitappinv...@googlegroups.com
What Bluetooth hardware are you using? Many embedded modules are finniky to connect to Android phones. You might just need to try connecting a few times or reorienting the module - the relative orientations of the aerials can be an issue.

It would also help if you post the bluetooth-related blocks so we can tell what you might or might not be doing wrong.
Reply all
Reply to author
Forward
0 new messages