I wrote on Sunday about writing Bluetooth code for Windows Mobile for a location-based reminder app I hacked together.
At the time, I wrote about two main approaches for finding nearby Bluetooth devices:
- searching for discoverable devices
- registering for notifications for when paired devices connect and
disconnect
For the location-based reminder app, I went with the first approach, and played with how to search for discoverable devices.
This afternoon, I tried out the other way – writing an app that registers with the OS for connect and disconnect notifications from paired devices.