Pages: [1]   Go Down
Author Topic: Continuously Get Connection status of BT smirf.  (Read 223 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: