Rfid, Elated, Unction – Argox PT-9130 User Manual

Page 155: Opencomport, Rfid related functions, Rfid related function

Advertising
background image

PT-90 Mobile Computer SDK Programming Manual 148

RFID Related Function

OpenComPort

Open com port to connect the RFID module.

int OpenComPort

{

int

iCom

}

Parameters

iCom

[in] The RFID module com port number. PT90 only specified com 6.

Returned Values

Returning zero if the operation is successful, otherwise, indicates failure.

Example

if(OpenComPort(6) != 0)

AfxMessageBox(_T("RFID open com fail"));

Requirements

OS Versions: Windows CE 6.0 or beyond.

Header: RFID.h

Link Library: RFID.lib

Link DLL: RFID.dll
Device: PT90

Advertising