• Api Documentation
  • Programmer's Guide
Show / Hide Table of Contents
  • Introduction
  • Generic Reader Interface
    • Connecting to Reader
    • Knowing the Reader Capabilities
    • Configuring the Reader
    • Managing Events
    • Managing Tags
    • Basic Operations
    • Advanced Operations
    • Tag Locationing
    • NXP Commands
    • Impinj Commands
    • Disconnecting from the Reader
  • Reader Management Interface
    • Connecting to the Reader
    • Updating Firmware of the Software
    • Read Points
    • Antenna Modes
    • Reader and System Information
    • Managing Reader Configurations
    • Managing LLRP connection and configuration
    • USB Operation Mode
    • GPI Debounce Time
    • Local Time
    • Time Zone
    • User LED
    • Reader Statistics
    • Restarting the Reader
    • Disconnecting the Reader
    • Cable Loss Compensation
    • Idle Mode
    • Power Negotiation
    • Region configuration
    • User App Deployment
    • User Management

Connecting to the Reader

The rm.Login must be called first to perform any reader management functions.

In case of fixed readers, the login information such as user name, password and secured mode are required for performing login operation. The secure mode parameter specifies that whether the mode of communication is HTTP or HTTPS. Based on this parameter, the internal communication between the client and the reader uses the specified transport interface. If supported by the Reader, there is an option to override an existing login session using the ForceLogin option of LoginInfo. This is currently supported on FX 7400 Version 1.1.0 and higher.

The login Info is not required for the Hand held readers\Pixie Modules. But it is must to call the rm.Login method first prior to other reader management functions.

// create Reader management object instance

ReaderManagement rm = new ReaderManagement();

LoginInfo loginInfo = new LoginInfo();

loginInfo.HostName = m_pHostname;

loginInfo.UserName = "admin";

loginInfo.Password = "admin";

loginInfo.SecureMode = SECURE_MODE.HTTP;

// Login operation

try

{
  
    rm.Login(loginInfo, READER_TYPE.XR);

}

catch (OperationFailureException exception)

{

    Console.WriteLine("Login failed " + exception.Message);

}
// create Reader management object instance for RFID Module (Pixie)

ReaderManagement rm = new ReaderManagement();

LoginInfo loginInfo = new LoginInfo();

loginInfo.HostName = m_pHostname;

loginInfo.UserName = "admin";

loginInfo.Password = "admin";

loginInfo.Compport="COM7";

loginInfo.Baudrate=921600;

loginInfo.SecureMode = SECURE_MODE.HTTP;

// Login operation

try

{
   //Use READER_TYPE.RE In case of Pixie Module
    rm.Login(loginInfo, READER_TYPE.RE);

}

catch (OperationFailureException exception)

{

    Console.WriteLine("Login failed " + exception.Message);

}
Back to top