After some try with SensorGraph app, I've found the BT module
seems remains paired with my HTC after Android app exit (Amarino, anyway, say "disconnect device").
I need to switch off the Bluetooth on my HTC to really disconnect from
BT module and have the possibility to reconnect again.
If try a new connection without phisically on/off HTC bluetooh , the connection fail.
In the java source code of SensorGraph app, inside the OnStop event, really there is the disconnect command.
There is another software method to disconnect/unpair the BT module and have the possibility to reconnect again without phisically switch off/on Bluetooh on HTC ?
Amarino is Android 2.2 compatible, however there is never a guarantee that it works on all modded Android verison. As far as I know, there is no phone out there with an official Android 2.2 build. (only the leaked Nexus One build)
Currently, Amarino calls the official disconnect command of the Android Bluetooth API.
Amarino is excellent source! It's really useful - there is only one example on the website - Are there other examples I can look at? Any help will be greatly appreciated!
I am using Amarino application in my Nexus One with Android 2.1 to connect to my Arduino Lilypad. I am using the TestEvent to check if it works, and in the Lilypad I have loaded this code:
In the Monitoring screen of the N1 I can see:
AmarinoService: message to send: 167
AmarinoService: send to Arduino: A167
.... (all the time random values are sent from N1 to Arduino)
But the Lilypad seems not to receive this values (the MeetAndroid.receive function always returns true) and doesnt blink led13...
Is it possible that the N1 is not set to 57600baud? why is he sending A167 and a strange square character?
I also have tried to use the MeetAndroid.send("a") in the loop(), but nothing is received in the N1.
Is there anyway to communicate over the softserial instead of hardware serial? I have an OLED that can only work using the tx/rx pins. I have my bluetooth connected to pins 2 and 3 and I am communicating using the NewSoftSerial library. Now I'm trying to use my phone to communicate with the bluetooth but the MeetAndroid library is only working for the tx/rx pins.
Hello,
i made a program for Android with arduino libraries. Do you know if you need to also install the amarino control program or you can embed the library in the project?