I'd like to have a program that periodically attempts Bluetooth device discovery (every few seconds, or so) and that will then select, without prompting the user, one of the devices listed, so long as it supports the OBEX profile.
How would I do this? I see that the OBEX example and the SDK talk extensively about StartNotifierAndGetResponse(), but if I want all of this to happen without any user input, how can I do Bluetooth Discovery and select ONE such found device (of course, I'll write an algorithm for /how/ to select later).
Thanks in Advance,
RE: Having a program select a discovered Bluetooth device without User Input
RHostResolver can be used for programmatically made inquiries.
RNotifier::StartNotifierAndGetResponse() is used for discoveries that require user interaction. This is easier for developers to use and a recommended way to do the inquiry. Usage of RNotifier is demonstrated in Bluetooth examples.