-
10.3 The Function in MPRReader
10.3.1
Connect to RFID Reader
Function Description:
To create a connection with the reader before control it.
Function Call:
bool
Connect(
string
SerialPortName,
string
BaudRate)
Parameter:
SerialPortName: The reader’s COM port number (COM1: – COM255:)
BaudRate: The baud rate with the reader, the default is “57600”
Return code:
True :
Connect success.
False :
Connect fail.
10.3.2
Disconnect with RFID Reader
Function Description:
Close the connection and disable inventory with reader.
Function Call:
void
Disconnect()
10.3.3
Clear All Tags In The Reader
Function Description:
Remove all tags in the buffer of reader.
Function Call:
void
ClearInventory()
10.3.4
The Event in MPRReader
y
EventHandler
InvTimerEnabledChanged
Fired when manufacturing information is read from the reader.
y
TagEventHandler
TagAdded
Fired when a new tag is added to the inventory.
y
TagEventHandler
TagRemoved
Fired when a tag expires, i.e. hasn’t been read for the persist time period.