Turning Bluetooth on, on the NXT through an NXC program
Posted: 22 Mar 2012, 10:00
Hey everyone,
I am wondering if it is possible, using NXC, to turn on the bluetooth programmatically, instead of manually through the FW menu. Any ideas?
I see I can check the state, using BluetoothState(), but not setting the state.
Why? Well, sometimes for "no reason", when I start the NXT, the Bluetooth is off. I actually wonder why does it turn off by itself. It is very rare, but it happens.
Thank you!
I am wondering if it is possible, using NXC, to turn on the bluetooth programmatically, instead of manually through the FW menu. Any ideas?
I see I can check the state, using BluetoothState(), but not setting the state.
Why? Well, sometimes for "no reason", when I start the NXT, the Bluetooth is off. I actually wonder why does it turn off by itself. It is very rare, but it happens.
Thank you!