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.