I've used the code mentioned in other posts for connecting to a bluetooth device automatically without user intervention. This works very well except for one case:
When the bluetooth function is deactivated by the user in the connections menu, the bluetooth statuspane icon is removed.
When devices are discovered using the StartNotifierAndGetResponse(), the user gets a prompt to enable bluetooth and the bluetooth statuspane icon is enabled.
However, when using the automatic connection method, the bluetooth channel can be used (I get data) but the statuspane icon is still disabled and the bluetooth connection menu is indicating that bluetooth is turned off.
I need to check the bluetooth "on/off" from the connections menu, and enable the bluetooth statuspane icon, otherwise the user won't get proper feedback.
I would also think it's bad form to fool the user that bluetooth is off, when it is actually active...