Online Store

Advanced Reader Open – Addressing the uFR Nano Online network reader

Advanced Reader Open – Addressing the uFR Nano Online network reader #

ReaderOpenEx Function Network Communication Parameters #

To communicate with the WiFI, Bluetooth, or Ethernet-connected uFR Nano Online reader when implementing the uFR SDK software examples, you need to use the ReaderOpenEx function with the relevant port parameters instead of the basic ReaderOpen function. The ReaderOpen function searches for the reader only on the host machine’s physically available ports and is unable to discover a network-connected device.

The uFR API reference describes both of these functions, including the ReaderOpenEx function parameters (page 25). You can also find an example of its implementation in our SDK projects’ reader opening Advanced Reader Open options.

NOTICE: On some devices, such as the Raspberry Pi, the ReaderOpen and ReaderOpenEx function with Argument: 0 cause an occasional communication interruption due to session expiry. The reader’s port is automatically closed after a brief period of time. To solve this issue, make sure to use the Argument parameter UNIT OPEN RESET DISABLE.

Parameters example:

ReaderOpenEx(0, "device-IP-or-PORT-name" , 0, UNIT_OPEN_RESET_DISABLE);