1) Change the wireless device driver to manage its own connections.
2) Add an API for devices to determine if some other device is connected.
Merge branch 'master' of https://github.com/cbhaley/calibre