Casio IT-2000W Technical Reference Manual page 216

Casio pda technical reference manual
Table of Contents

Advertisement

List of Available Functions
Page.
Function
216
OBR_Open
217
OBR_Close
218
OBR_Send
219
OBR_Stat
220
OBR_Read
221
OBR_Clear
222
OBR_SetUserEvent
Initialization of OBR
Initializes the COM port to establish a connection with the OBR, and turns on the power to the COM
port.
SYNTAX
#include "obrlib.h"
int FAR PASCAL _export OBR_Open(int iOBRtype);
INPUT
iOBRType = DT-9650
OUTPUT
0 = Normal end.
1 = iOBRType is not correct.
-1= Open error.
Note :
When programming with this OBR library, first make this OBR_Open function call to initialize the
COM port and the OBR.
Initialization of COM port and power on
Release of COM port and power off
Transmission of command to OBR
Acknowledgment of received data
Read of the received data
Invalidation of codes in reception buffer
Event-code definition issued when reception is completed.
= DT-9656
216
Description

Advertisement

Table of Contents
loading

Table of Contents