LTKCPP-- LLRP Toolkit C Plus Plus Library
Functions
docsample3.cpp File Reference

LLRP Examples Implementing Use case docSample3 of the LTK programmers guide. More...

Go to the source code of this file.

Functions

int main (int ac, char *av[])
 Command main routine.
void usage (char *pProgName)
 Print usage message and exit.

Detailed Description

LLRP Examples Implementing Use case docSample3 of the LTK programmers guide.

The steps: 1. Initialize Library 2. Connect to Reader 3. Enable Impinj Extensions 4. Factory Default LLRP configuration to ensure that the reader is in a known state (since we are relying on the default reader configuration for this simple example) 5. GET_READER_CAPABILITIES to validate model # supports inventory and access 6. SET_READER_CONFIG with the appropriate settings for report generation as well as Impinj Low Duty Cycle mode to reduce interference. 7. ADD_ROSPEC to tell the reader to perform an inventory. Include tag filters to reduce unwanted reads from other RFID applications 8. ADD_ACCESSSPEC to tell the reader to read user memory for personnel tags. 9. ENABLE_ROSPEC 10. ENABLE_ACCESSSPEC 11. START_ROSPEC start the inventory operation 12 Use GET_REPORT to for RFID data and Process RFID Data (EPC, and Timestamp)

This program can be run with zero, one, or two verbose options (-v). no -v -- Only prints the tag report and errors -v -- Also prints one line progress messages -vv -- Also prints all LLRP messages as XML text

Definition in file docsample3.cpp.


Function Documentation

int main ( int  ac,
char *  av[] 
)

Command main routine.

Command synopsis:

example1 [-v[v]] READERHOSTNAME

0 Everything *seemed* to work. 1 Bad usage 2 Run failed

void usage ( char *  pProgName)

Print usage message and exit.

Parameters:
[in]nProgNameProgram name string
Returns:
none, exits