"the specified address is not a paired bluetooth"

166 views
Skip to first unread message

Keith Hannah

unread,
Feb 8, 2018, 11:19:12 PM2/8/18
to MIT App Inventor Forum
I'm working on an App that will run from an Android car stereo. It only has Bluetooth 3 so after weeks of making a BLE version I'm converting it to BT.   I'm connecting to an Arduino with an HC-06 with the default name.

So in doing basic testing with the simplest code of a listpicker it won't connect and provides the error "504:the specified address is not a paired bluetooth" but it is paired.
i've done it in Android Studio in a simpler test and it works there.


I know it does connect because I can use the Bluetooth Terminal apps and send text both ways and I can use the same App from my Samsung Galaxy S5 and it works fine.


I'm at a loss and I don't want to have a tablet on board just to run this APP.


This is all the code is. A copy of this:

https://cdn.instructables.com/FIT/2ZJW/IR41475H/FIT2ZJWIR41475H.LARGE.jpg

This doesn't work either.
https://www.youtube.com/watch?v=F9SzF3ktkIo
BTdoesntwork.JPG

Keith Hannah

unread,
Feb 8, 2018, 11:22:05 PM2/8/18
to MIT App Inventor Forum
By they way, it throws the same error if I hard code the address with an onClick

gerrikoio

unread,
Feb 9, 2018, 5:11:54 AM2/9/18
to MIT App Inventor Forum
Suggest checking if paired first. Something like this:


Reply all
Reply to author
Forward
0 new messages