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 ?
--
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).
You might also consult these https://groups.google.com/forum/#!searchin/mitappinventortest/bluetooth%7Csort:date
--
pair the bluetooth devices first
The addresses and names of paired Bluetooth devices
--
AddressesAndNames
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.
It would also help if you post the bluetooth-related blocks so we can tell what you might or might not be doing wrong.
--
댓글 없음:
댓글 쓰기