btClose (Function)

Top  Previous  Next

Architecture:

X32 / NX32

Device support:

MX2 pro, DX4 pro, AX9 pro, MX2 turbo/encore/warp, AX9 turbo

Firmware version:

1.05


This closes the Bluetooth module, the library functions, and re-enables the RS232 programming port (if applicable). To reopen the Bluetooth module again, call btOpen.

 

Input:

None

 

Returns: INT

0

- Success.

 

Declaration:

FUNCTION btClose : INT;

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
// Open the Bluetooth library
btOpen(name := "RTCU MX2");
 
BEGIN
  ...
  // Close the Bluetooth library
  btClose();
  ...
END;
 
END_PROGRAM;