Go Down

Topic: Continuously Get Connection status of BT smirf. (Read 273 times) previous topic - next topic

sgtpepperaut

hi guys,

i recently got my RN42 (bluesmirf silver) bluetooth module. I was wondering what the best option would be to get the connection status in a set interval.

Goal here would be:
If bluetooth smirf connects to my phone (and only to this device!)...have arduino do action1.....once i leave the proximity and bluetooth disconnects do action 2 and run that proximity check every couple of seconds or so.

i am looking into the $$$ command sets from this http://www.sparkfun.com/datasheets/Wireless/Bluetooth/rn-bluetooth-um.pdf manual but i am not sure going into command mode very couple of second is a great idea...perhaps its not even possible.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy