PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Turning on/off Bluetooth programmatically on the MS BT Stack

On my Axim X50V running WM5 with the MS BT Stack, the BT control panel dialog has an check box labeled "Turn on Bluetooth" that when checked and the dialog OK'd turns on the the devices Bluetooth antenna, and turns it off when unchecked and OK'd.

How would I go about checking if the device's Bluetooth is on or off and depending on the value programmatically turn it on or off?

Thanks for any help/info anyone can provide.