How do I use rfcomm to connect to a BT device with it comes in to range or gets turned on? I tried "sudo rfcomm watch hci0" but it never seems to notice the device is turned on, but using the connect option does work.
IS that the best way to reconnect to a bluetooth device, just constantly poll it? That seems realyl clunky, and then how to handle it going out of range and coming back? There must be a more elegant method to handle bluetooth