Casio IT-2000D PDAs & Smartphones User Manual


 
182
List of Functions
Page Function Description
182 OBR_Open Initialization of COM port and power on
182 OBR_Close Release of COM port and power off
183 OBR_Send Transmission of command to OBR
183 OBR_Stat Acknowledgment of received data
184 OBR_Read Read of the received data
184 OBR_Clear Invalidation of codes in reception buffer
Initialization of OBR
Initializes the COM port to establish the connection with the OBR, and turns on the power to the
COM port.
SYNTAX
#include "obrlib.h"
void OBR_Open();
INPUT
None
OUTPUT
None
Note:
If programming with this OBR library, first place this OBR_Open function call to initialize the
COM port.
Release of COM Port
Releases the COM port and turns off the power to the COM port.
SYNTAX
#include "obrlib.h"
void OBR_Close();
INPUT
None
OUTPUT
None
Note:
Call this function whenever completing the use of the OBR (i.e. terminating the application
program).