Apis – SCANTECH ID (Champtek company) RFR100 User Manual

Page 11

Advertising
background image

User Manual – RFR100 433MHz TCPIP Reader

11

Recommends CAT-5/5E or CAT-6 high quality Ethernet wire cable for
RFR100.

RFR100 is typical indoor used, for outdoor environment the Reader
can be protected in a NEMA enclosure. The operation performance
will be reduced the negatively impacted by nature weather
conditions such as moisture, excessive temperature.

APIs

Champtek also provides efficient C ++ APIs to reduce the time of
software development. This section describes how to use the APIs to
setup and control RFR100.

Network Connection API

Prototype

DWORD con_connectdvc(char* ip, unsigned short
port)

Description

Connect the remote reader with assigned IP and Port

Parameter

ip[input]: The address of the IP
port[input]: The communication port of the reader

Return value

Connection ID (Program automatically assigns this connection
ID to the reader)
Null – Failed

Prototype

bool con_selectdvc( DWORD handle )

Description

Select a specific reader before send a command

Parameter

Handle[input]: Connection ID

Return value

True
False – Failed

Prototype

bool con_reconnect()

Description

Re-connect the selected device (ref. bool con_selectdvc)

Parameter

None

Return value

True
False

Advertising