NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_SysCommBTOnOff.nxc

This is an example of how to use the SysCommBTOnOff function along with the CommBTOnOffType structure.

task main()
{
bt.PowerState = false;
if (bt.Result == NO_ERR)
TextOut(0, LCD_LINE1, "BT is off");
}