57 #define snprintf _snprintf 62 unsigned int m_messageID;
73 : m_Verbose(0), m_pConnectionToReader(NULL)
80 char * pReaderHostName);
83 checkConnectionStatus (
void);
86 enableImpinjExtensions (
void);
89 resetConfigurationToFactoryDefaults (
void);
104 awaitAndPrintReport (
int timeoutSec);
111 printOneTagReportData (
121 handleReaderEventNotification (
129 handleReaderExceptionEvent (
187 CMyApplication myApp;
188 char * pReaderHostName;
197 pReaderHostName = av[1];
223 pReaderHostName = av[2];
234 rc = myApp.run(pReaderHostName);
236 printf(
"INFO: Done\n");
269 printf(
"Usage: %s [-v[v]] READERHOSTNAME\n", pProgName);
271 printf(
"Each -v increases verbosity level\n");
274 printf(
"Usage: %s [/v[v]] READERHOSTNAME\n", pProgName);
276 printf(
"Each /v increases verbosity level\n");
316 CMyApplication::run (
317 char * pReaderHostName)
327 pTypeRegistry = getTheTypeRegistry();
328 if(NULL == pTypeRegistry)
330 printf(
"ERROR: getTheTypeRegistry failed\n");
350 printf(
"ERROR: new CConnection failed\n");
359 printf(
"INFO: Connecting to %s....\n", pReaderHostName);
374 m_pConnectionToReader = pConn;
378 printf(
"INFO: Connected, checking status....\n");
387 if(0 == checkConnectionStatus())
390 if(0 == enableImpinjExtensions())
393 if(0 == resetConfigurationToFactoryDefaults())
399 if(0 == enableROSpec())
405 if(0 == awaitAndPrintReport(10))
408 if(0 == stopROSpec())
425 printf(
"INFO: Clean up reader configuration...\n");
427 resetConfigurationToFactoryDefaults();
433 printf(
"INFO: Finished\n");
445 delete pTypeRegistry;
486 CMyApplication::checkConnectionStatus (
void)
497 pMessage = recvMessage(10000);
513 if(&CREADER_EVENT_NOTIFICATION::s_typeDescriptor != pMessage->
m_pType)
542 if(ConnectionAttemptStatusType_Success != pEvent->
getStatus())
554 printf(
"INFO: Connection status OK\n");
566 printf(
"ERROR: checkConnectionStatus failed\n");
589 CMyApplication::enableImpinjExtensions (
void)
599 pCmd->setMessageID(m_messageID++);
603 pRspMsg = transact(pCmd);
628 "enableImpinjExtensions"))
645 printf(
"INFO: Impinj Extensions are enabled\n");
675 CMyApplication::resetConfigurationToFactoryDefaults (
void)
685 pCmd->setMessageID(m_messageID++);
691 pRspMsg = transact(pCmd);
716 "resetConfigurationToFactoryDefaults"))
733 printf(
"INFO: Configuration reset to factory defaults\n");
791 CMyApplication::addROSpec (
void)
796 ROSpecStartTriggerType_Immediate);
808 AISpecStopTriggerType_Tag_Observation);
812 pAISpecTagObsvTrigger->
setTriggerType(TagObservationTriggerType_Upon_Seeing_N_Tags_Or_Timeout);
815 pAISpecTagObsvTrigger->
setT(0);
827 pInventoryParameterSpec->
setProtocolID(AirProtocols_EPCGlobalClass1Gen2);
843 pC1G2Filter1->
setT(C1G2TruncateAction_Do_Not_Truncate);
846 pC1G2TagInvMask1->
setMB(2);
858 pC1G2TagInvStateAwareFilterAction1->
setTarget(C1G2StateAwareTarget_Inventoried_State_For_Session_S3);
859 pC1G2TagInvStateAwareFilterAction1->
setAction(C1G2StateAwareAction_AssertSLOrA_DeassertSLOrB);
867 pC1G2Filter2->
setT(C1G2TruncateAction_Do_Not_Truncate);
870 pC1G2TagInvMask2->
setMB(1);
882 pC1G2TagInvStateAwareFilterAction2->
setTarget(C1G2StateAwareTarget_Inventoried_State_For_Session_S2);
883 pC1G2TagInvStateAwareFilterAction2->
setAction(C1G2StateAwareAction_AssertSLOrA_DeassertSLOrB);
891 pC1G2Filter3->
setT(C1G2TruncateAction_Do_Not_Truncate);
894 pC1G2TagInvMask3->
setMB(3);
908 pC1G2TagInvStateAwareFilterAction3->
setTarget(C1G2StateAwareTarget_Inventoried_State_For_Session_S1);
909 pC1G2TagInvStateAwareFilterAction3->
setAction(C1G2StateAwareAction_AssertSLOrA_DeassertSLOrB);
917 pC1G2Filter4->
setT(C1G2TruncateAction_Do_Not_Truncate);
920 pC1G2TagInvMask4->
setMB(2);
931 pC1G2TagInvStateAwareFilterAction4->
setTarget(C1G2StateAwareTarget_Inventoried_State_For_Session_S0);
932 pC1G2TagInvStateAwareFilterAction4->
setAction(C1G2StateAwareAction_AssertSLOrA_DeassertSLOrB);
940 pC1G2Filter5->
setT(C1G2TruncateAction_Do_Not_Truncate);
943 pC1G2TagInvMask5->
setMB(1);
955 pC1G2TagInvStateAwareFilterAction5->
setTarget(C1G2StateAwareTarget_SL);
956 pC1G2TagInvStateAwareFilterAction5->
setAction(C1G2StateAwareAction_AssertSLOrA_DeassertSLOrB);
971 pC1G2TagInvStateAwareSingAction->
setI(C1G2TagInventoryStateAwareI_State_B);
972 pC1G2TagInvStateAwareSingAction->
setS(C1G2TagInventoryStateAwareS_SL);
995 pROReportSpec->
setN(1000);
1033 pCmd->setMessageID(m_messageID++);
1039 pRspMsg = transact(pCmd);
1064 if(0 != checkLLRPStatus(pRsp->
getLLRPStatus(),
"addROSpec"))
1081 printf(
"INFO: ROSpec added\n");
1109 CMyApplication::enableROSpec (
void)
1119 pCmd->setMessageID(m_messageID++);
1125 pRspMsg = transact(pCmd);
1149 if(0 != checkLLRPStatus(pRsp->
getLLRPStatus(),
"enableROSpec"))
1166 printf(
"INFO: ROSpec enabled\n");
1194 CMyApplication::startROSpec (
void)
1204 pCmd->setMessageID(m_messageID++);
1210 pRspMsg = transact(pCmd);
1234 if(0 != checkLLRPStatus(pRsp->
getLLRPStatus(),
"startROSpec"))
1251 printf(
"INFO: ROSpec started\n");
1278 CMyApplication::stopROSpec (
void)
1288 pCmd->setMessageID(m_messageID++);
1294 pRspMsg = transact(pCmd);
1318 if(0 != checkLLRPStatus(pRsp->
getLLRPStatus(),
"stopROSpec"))
1335 printf(
"INFO: ROSpec stopped\n");
1365 CMyApplication::awaitAndPrintReport (
int timeout)
1369 time_t startTime = time(NULL);
1385 pMessage = recvMessage(1000);
1388 tempTime = time(NULL);
1389 if(difftime(tempTime, startTime) > timeout)
1394 if(NULL == pMessage)
1409 if(&CRO_ACCESS_REPORT::s_typeDescriptor == pType)
1415 printTagReportData(pNtf);
1422 else if(&CREADER_EVENT_NOTIFICATION::s_typeDescriptor == pType)
1430 if(NULL != pNtfData)
1432 handleReaderEventNotification(pNtfData);
1440 printf(
"WARNING: READER_EVENT_NOTIFICATION without data\n");
1449 printf(
"WARNING: Ignored unexpected message during monitor: %s\n",
1478 CMyApplication::printTagReportData (
1481 std::list<CTagReportData *>::iterator Cur;
1483 unsigned int nEntry = 0;
1498 printf(
"INFO: %u tag report entries\n", nEntry);
1509 printOneTagReportData(*Cur);
1523 CMyApplication::formatOneEPC (
1529 int bufsize = buflen;
1532 if(NULL != pEPCParameter)
1537 llrp_u8_t * pValue = NULL;
1540 pType = pEPCParameter->
m_pType;
1541 if(&CEPC_96::s_typeDescriptor == pType)
1545 pEPC_96 = (
CEPC_96 *) pEPCParameter;
1546 my_u96 = pEPC_96->
getEPC();
1550 else if(&CEPCData::s_typeDescriptor == pType)
1554 pEPCData = (
CEPCData *) pEPCParameter;
1555 my_u1v = pEPCData->
getEPC();
1557 n = (my_u1v.
m_nBit + 7u) / 8u;
1562 for(i = 0; i < n; i++)
1564 if(0 < i && i%2 == 0 && 1 < bufsize)
1571 written = snprintf(p, bufsize,
"%02X", pValue[i]);
1579 written = snprintf(p, bufsize,
"%s",
"---unknown-epc-data-type---");
1586 written = snprintf(p, bufsize,
"%s",
"--null epc---");
1592 buf[buflen-1] =
'\0';
1605 CMyApplication::printOneTagReportData (
1618 formatOneEPC(pEPCParameter, aBuf, 64);
1623 printf(
"EPC: %s\n", aBuf);
1641 CMyApplication::handleReaderEventNotification (
1649 if(NULL != pAntennaEvent)
1651 handleAntennaEvent(pAntennaEvent);
1656 if(NULL != pReaderExceptionEvent)
1658 handleReaderExceptionEvent(pReaderExceptionEvent);
1678 printf(
"NOTICE: Unexpected (unhandled) ReaderEvent\n");
1695 CMyApplication::handleAntennaEvent (
1698 EAntennaEventType eEventType;
1699 llrp_u16_t AntennaID;
1707 case AntennaEventType_Antenna_Disconnected:
1708 pStateStr =
"disconnected";
1711 case AntennaEventType_Antenna_Connected:
1712 pStateStr =
"connected";
1716 pStateStr =
"?unknown-event?";
1720 printf(
"NOTICE: Antenna %d is %s\n", AntennaID, pStateStr);
1737 CMyApplication::handleReaderExceptionEvent (
1742 Message = pReaderExceptionEvent->
getMessage();
1746 printf(
"NOTICE: ReaderException '%.*s'\n",
1751 printf(
"NOTICE: ReaderException but no message\n");
1775 CMyApplication::checkLLRPStatus (
1785 if(NULL == pLLRPStatus)
1787 printf(
"ERROR: %s missing LLRP status\n", pWhatStr);
1806 printf(
"ERROR: %s failed, no error description given\n",
1811 printf(
"ERROR: %s failed, %.*s\n",
1848 CMyApplication::transact (
1860 printf(
"\n===================================\n");
1861 printf(
"INFO: Transact sending\n");
1862 printXMLMessage(pSendMsg);
1870 pRspMsg = pConn->
transact(pSendMsg, 5000);
1876 printf(
"ERROR: %s transact failed, %s\n",
1882 printf(
"ERROR: ... reference type %s\n",
1888 printf(
"ERROR: ... reference field %s\n",
1901 printf(
"\n- - - - - - - - - - - - - - - - - -\n");
1902 printf(
"INFO: Transact received response\n");
1903 printXMLMessage(pRspMsg);
1911 if(&CERROR_MESSAGE::s_typeDescriptor == pRspMsg->
m_pType)
1917 printf(
"ERROR: Received ERROR_MESSAGE instead of %s\n",
1952 CMyApplication::recvMessage (
1967 if(NULL == pMessage)
1974 printf(
"ERROR: recvMessage failed, %s\n",
1980 printf(
"ERROR: ... reference type %s\n",
1986 printf(
"ERROR: ... reference field %s\n",
1999 printf(
"\n===================================\n");
2000 printf(
"INFO: Message received\n");
2001 printXMLMessage(pMessage);
2026 CMyApplication::sendMessage (
2037 printf(
"\n===================================\n");
2038 printf(
"INFO: Sending\n");
2039 printXMLMessage(pSendMsg);
2051 printf(
"ERROR: %s sendMessage failed, %s\n",
2057 printf(
"ERROR: ... reference type %s\n",
2063 printf(
"ERROR: ... reference field %s\n",
2091 CMyApplication::printXMLMessage (
2094 char aBuf[100*1024];
void setEnableFirstSeenTimestamp(llrp_u1_t value)
Set accessor functions for the LLRP EnableFirstSeenTimestamp field.
llrp_utf8v_t getMessage(void)
Get accessor functions for the LLRP Message field.
void setROSpecID(llrp_u32_t value)
Set accessor functions for the LLRP ROSpecID field.
Class Definition CConnectionAttemptEvent for LLRP parameter ConnectionAttemptEvent.
EResultCode setTagObservationTrigger(CTagObservationTrigger *pValue)
Set accessor functions for the LLRP TagObservationTrigger sub-parameter.
EResultCode setC1G2TagInventoryStateAwareFilterAction(CC1G2TagInventoryStateAwareFilterAction *pValue)
Set accessor functions for the LLRP C1G2TagInventoryStateAwareFilterAction sub-parameter.
EResultCode setC1G2SingulationControl(CC1G2SingulationControl *pValue)
Set accessor functions for the LLRP C1G2SingulationControl sub-parameter.
EResultCode setRFTransmitter(CRFTransmitter *pValue)
Set accessor functions for the LLRP RFTransmitter sub-parameter.
char * m_pName
String name of field (e.g. "ROSpecID")
const CTypeDescriptor * m_pType
The type descriptor desribing this element.
Class Definition CC1G2TagInventoryStateAwareSingulationAction for LLRP parameter C1G2TagInventoryStat...
Class Definition CEPC_96 for LLRP parameter EPC_96.
CLLRPStatus * getLLRPStatus(void)
Get accessor functions for the LLRP LLRPStatus sub-parameter.
llrp_u8_t * m_pValue
Pointer to the first array element.
Class Definition CTagObservationTrigger for LLRP parameter TagObservationTrigger. ...
Class for LLRP basic type u16v (List of unsigned 16-bit values)
Class Definition CIMPINJ_ENABLE_EXTENSIONS_RESPONSE for LLRP message IMPINJ_ENABLE_EXTENSIONS_RESPONS...
void setDurationTrigger(llrp_u32_t value)
Set accessor functions for the LLRP DurationTrigger field.
void setEnablePeakRSSI(llrp_u1_t value)
Set accessor functions for the LLRP EnablePeakRSSI field.
Class Definition CSTART_ROSPEC_RESPONSE for LLRP message START_ROSPEC_RESPONSE.
Class Definition CC1G2SingulationControl for LLRP parameter C1G2SingulationControl.
void usage(char *pProgName)
Print usage message and exit.
Class Definition CRFTransmitter for LLRP parameter RFTransmitter.
const CFieldDescriptor * m_pRefField
If non-NULL this is the field descriptors for the errored field.
void setDurationTriggerValue(llrp_u32_t value)
Set accessor functions for the LLRP DurationTriggerValue field.
Class Definition CENABLE_ROSPEC for LLRP message ENABLE_ROSPEC.
void setEnableLastSeenTimestamp(llrp_u1_t value)
Set accessor functions for the LLRP EnableLastSeenTimestamp field.
const CTypeDescriptor * m_pRefType
If non-NULL this is the type descriptors for the errored type.
Class Definition CC1G2TagInventoryMask for LLRP parameter C1G2TagInventoryMask.
void setROReportTrigger(EROReportTriggerType value)
Set accessor functions for the LLRP ROReportTrigger field.
Class Definition CC1G2TagInventoryStateAwareFilterAction for LLRP parameter C1G2TagInventoryStateAwar...
CParameter * getEPCParameter(void)
Get accessor functions for the LLRP EPCParameter sub-parameter.
EResultCode m_eResultCode
Result code from operation.
Class for LLRP basic type u96 (96-bit value)
Class Definition CAntennaEvent for LLRP parameter AntennaEvent.
Class Definition CSTOP_ROSPEC_RESPONSE for LLRP message STOP_ROSPEC_RESPONSE.
void setAISpecStopTriggerType(EAISpecStopTriggerType value)
Set accessor functions for the LLRP AISpecStopTriggerType field.
void setPointer(llrp_u16_t value)
Set accessor functions for the LLRP Pointer field.
void enrollImpinjTypesIntoRegistry(CTypeRegistry *pTypeRegistry)
Enrolls the types for Impinj into the LTKCPP registry.
llrp_u96_t getEPC(void)
Get accessor functions for the LLRP EPC field.
const char * m_pWhatStr
Descriptive printable error string.
EResultCode toXMLString(char *pBuffer, int nBuffer)
A wrapper around LLRP::toXMLString()
void setROSpecID(llrp_u32_t value)
Set accessor functions for the LLRP ROSpecID field.
void setS(EC1G2TagInventoryStateAwareS value)
Set accessor functions for the LLRP S field.
Class Definition CROReportSpec for LLRP parameter ROReportSpec.
EStatusCode getStatusCode(void)
Get accessor functions for the LLRP StatusCode field.
llrp_u16_t m_nValue
The number of arrray elements.
int closeConnectionToReader(void)
Close connection to reader, allow reuse of instance.
Class Definition CROSpecStartTrigger for LLRP parameter ROSpecStartTrigger.
EAntennaEventType getEventType(void)
Get accessor functions for the LLRP EventType field.
A collection of pointers to CTypeDescriptors.
CAntennaEvent * getAntennaEvent(void)
Get accessor functions for the LLRP AntennaEvent sub-parameter.
const CErrorDetails * getTransactError(void)
Get the details that explains transact() error.
EResultCode setROBoundarySpec(CROBoundarySpec *pValue)
Set accessor functions for the LLRP ROBoundarySpec sub-parameter.
Class Definition CRO_ACCESS_REPORT for LLRP message RO_ACCESS_REPORT.
void setEnableAccessSpecID(llrp_u1_t value)
Set accessor functions for the LLRP EnableAccessSpecID field.
Class Definition CAISpec for LLRP parameter AISpec.
void setHopTableID(llrp_u16_t value)
Set accessor functions for the LLRP HopTableID field.
Class Definition CROSpec for LLRP parameter ROSpec.
void setChannelIndex(llrp_u16_t value)
Set accessor functions for the LLRP ChannelIndex field.
void setROSpecID(llrp_u32_t value)
Set accessor functions for the LLRP ROSpecID field.
void setTimeout(llrp_u32_t value)
Set accessor functions for the LLRP Timeout field.
Class Definition CInventoryParameterSpec for LLRP parameter InventoryParameterSpec.
void setTriggerType(ETagObservationTriggerType value)
Set accessor functions for the LLRP TriggerType field.
Class Definition CSET_READER_CONFIG_RESPONSE for LLRP message SET_READER_CONFIG_RESPONSE.
void setEnableTagSeenCount(llrp_u1_t value)
Set accessor functions for the LLRP EnableTagSeenCount field.
CLLRPStatus * getLLRPStatus(void)
Get accessor functions for the LLRP LLRPStatus sub-parameter.
CReaderExceptionEvent * getReaderExceptionEvent(void)
Get accessor functions for the LLRP ReaderExceptionEvent sub-parameter.
void setT(llrp_u16_t value)
Set accessor functions for the LLRP T field.
Class Definition CReaderExceptionEvent for LLRP parameter ReaderExceptionEvent.
Class Definition CLLRPStatus for LLRP parameter LLRPStatus.
CLLRPStatus * getLLRPStatus(void)
Get accessor functions for the LLRP LLRPStatus sub-parameter.
EResultCode addSpecParameter(CParameter *pValue)
Add a SpecParameter to the LLRP sub-parameter list.
Class Definition CEPCData for LLRP parameter EPCData.
Class Definition CREADER_EVENT_NOTIFICATION for LLRP message READER_EVENT_NOTIFICATION.
CMessage * recvMessage(int nMaxMS)
Receive a message from a connection.
std::list< CTagReportData * >::iterator beginTagReportData(void)
Returns the first element of the TagReportData sub-parameter list.
void setTagInventoryStateAware(llrp_u1_t value)
Set accessor functions for the LLRP TagInventoryStateAware field.
EResultCode setAISpecStopTrigger(CAISpecStopTrigger *pValue)
Set accessor functions for the LLRP AISpecStopTrigger sub-parameter.
EResultCode setTagReportContentSelector(CTagReportContentSelector *pValue)
Set accessor functions for the LLRP TagReportContentSelector sub-parameter.
File that includes all Impinj Custom extension classes and types.
void setEnableChannelIndex(llrp_u1_t value)
Set accessor functions for the LLRP EnableChannelIndex field.
void setROSpecStartTriggerType(EROSpecStartTriggerType value)
Set accessor functions for the LLRP ROSpecStartTriggerType field.
void setNumberOfAttempts(llrp_u16_t value)
Set accessor functions for the LLRP NumberOfAttempts field.
llrp_u1v_t getEPC(void)
Get accessor functions for the LLRP EPC field.
Class Definition CSET_READER_CONFIG for LLRP message SET_READER_CONFIG.
CMessage * transact(CMessage *pSendMessage, int nMaxMS)
Transact a LLRP request and response to a connection.
void setI(EC1G2TagInventoryStateAwareI value)
Set accessor functions for the LLRP I field.
CLLRPStatus * getLLRPStatus(void)
Get accessor functions for the LLRP LLRPStatus sub-parameter.
const CErrorDetails * getRecvError(void)
Get the details that explains recvMessage() or recvResponse() error.
Class for LLRP basic type utf8v (vector of utf-8 encoded characters)
llrp_u16_t m_nBit
The number of arrray elements.
void setTagMask(llrp_u1v_t value)
Set accessor functions for the LLRP TagMask field.
Class for LLRP basic type u1v (vector of unsigned 1-bit values)
void setTarget(EC1G2StateAwareTarget value)
Set accessor functions for the LLRP Target field.
void setAntennaIDs(llrp_u16v_t value)
Set accessor functions for the LLRP AntennaIDs field.
EResultCode addAntennaConfiguration(CAntennaConfiguration *pValue)
Add a AntennaConfiguration to the LLRP sub-parameter list.
int openConnectionToReader(const char *pReaderHostName)
Open a connection to the reader over an unencrypted socket.
void setT(EC1G2TruncateAction value)
Set accessor functions for the LLRP T field.
Class Definition CENABLE_ROSPEC_RESPONSE for LLRP message ENABLE_ROSPEC_RESPONSE. ...
const CTypeDescriptor * m_pResponseType
For messages (bIsMessage==TRUE), this is the type descriptor for the corresponding response...
void setTagPopulation(llrp_u16_t value)
Set accessor functions for the LLRP TagPopulation field.
void setProtocolID(EAirProtocols value)
Set accessor functions for the LLRP ProtocolID field.
void setMB(llrp_u2_t value)
Set accessor functions for the LLRP MB field.
int main(int ac, char *av[])
Command main routine.
EResultCode sendMessage(CMessage *pMessage)
Send a LLRP message to a connection.
std::list< CTagReportData * >::iterator endTagReportData(void)
Returns the last element of the TagReportData sub-parameter list.
Class to return error details in LTKCPP operations.
void setN(llrp_u16_t value)
Set accessor functions for the LLRP N field.
void setTransmitPower(llrp_u16_t value)
Set accessor functions for the LLRP TransmitPower field.
Class Definition CTagReportData for LLRP parameter TagReportData.
char * m_pName
String name of parameter/message type (e.g. "ROSpec")
EResultCode setROSpec(CROSpec *pValue)
Set accessor functions for the LLRP ROSpec sub-parameter.
llrp_u16_t getAntennaID(void)
Get accessor functions for the LLRP AntennaID field.
File that includes all LLRP classes and types.
Class Definition CC1G2InventoryCommand for LLRP parameter C1G2InventoryCommand.
Class Definition CADD_ROSPEC for LLRP message ADD_ROSPEC.
void setAntennaID(llrp_u16_t value)
Set accessor functions for the LLRP AntennaID field.
Class Definition CSTART_ROSPEC for LLRP message START_ROSPEC.
void setROSpecStopTriggerType(EROSpecStopTriggerType value)
Set accessor functions for the LLRP ROSpecStopTriggerType field.
Class Definition CIMPINJ_ENABLE_EXTENSIONS for LLRP message IMPINJ_ENABLE_EXTENSIONS.
EResultCode setROSpecStopTrigger(CROSpecStopTrigger *pValue)
Set accessor functions for the LLRP ROSpecStopTrigger sub-parameter.
Class Definition CAntennaConfiguration for LLRP parameter AntennaConfiguration.
Class Definition CROSpecStopTrigger for LLRP parameter ROSpecStopTrigger.
EResultCode addC1G2Filter(CC1G2Filter *pValue)
Add a C1G2Filter to the LLRP sub-parameter list.
void setInventoryParameterSpecID(llrp_u16_t value)
Set accessor functions for the LLRP InventoryParameterSpecID field.
llrp_u16_t * m_pValue
Pointer to the first array element.
CLLRPStatus * getLLRPStatus(void)
Get accessor functions for the LLRP LLRPStatus sub-parameter.
llrp_u8_t m_aValue[12]
Simple array of basic type llrp_u8_t.
EResultCode setC1G2TagInventoryStateAwareSingulationAction(CC1G2TagInventoryStateAwareSingulationAction *pValue)
Set accessor functions for the LLRP C1G2TagInventoryStateAwareSingulationAction sub-parameter.
void setAction(EC1G2StateAwareAction value)
Set accessor functions for the LLRP Action field.
Base Class for All LLRP LTK Parameters.
Base Class for All LLRP LTK Messages.
EResultCode setROReportSpec(CROReportSpec *pValue)
Set accessor functions for the LLRP ROReportSpec sub-parameter.
CLLRPStatus * getLLRPStatus(void)
Get accessor functions for the LLRP LLRPStatus sub-parameter.
Class Definition CADD_ROSPEC_RESPONSE for LLRP message ADD_ROSPEC_RESPONSE.
EResultCode addAirProtocolInventoryCommandSettings(CParameter *pValue)
Add a AirProtocolInventoryCommandSettings to the LLRP sub-parameter list.
Class Definition CAISpecStopTrigger for LLRP parameter AISpecStopTrigger.
const char * getConnectError(void)
Get the string that explains openReaderConnection() error.
void setEnableInventoryParameterSpecID(llrp_u1_t value)
Set accessor functions for the LLRP EnableInventoryParameterSpecID field.
void setROSpecID(llrp_u32_t value)
Set accessor functions for the LLRP ROSpecID field.
void setEnableAntennaID(llrp_u1_t value)
Set accessor functions for the LLRP EnableAntennaID field.
CReaderEventNotificationData * getReaderEventNotificationData(void)
Get accessor functions for the LLRP ReaderEventNotificationData sub-parameter.
void setResetToFactoryDefault(llrp_u1_t value)
Set accessor functions for the LLRP ResetToFactoryDefault field.
void setNumberOfTags(llrp_u16_t value)
Set accessor functions for the LLRP NumberOfTags field.
EResultCode setROSpecStartTrigger(CROSpecStartTrigger *pValue)
Set accessor functions for the LLRP ROSpecStartTrigger sub-parameter.
void setEnableSpecIndex(llrp_u1_t value)
Set accessor functions for the LLRP EnableSpecIndex field.
EResultCode setC1G2TagInventoryMask(CC1G2TagInventoryMask *pValue)
Set accessor functions for the LLRP C1G2TagInventoryMask sub-parameter.
llrp_utf8v_t getErrorDescription(void)
Get accessor functions for the LLRP ErrorDescription field.
void setTagTransitTime(llrp_u32_t value)
Set accessor functions for the LLRP TagTransitTime field.
Class Definition CTagReportContentSelector for LLRP parameter TagReportContentSelector.
void setSession(llrp_u2_t value)
Set accessor functions for the LLRP Session field.
Class Definition CSTOP_ROSPEC for LLRP message STOP_ROSPEC.
void setCurrentState(EROSpecState value)
Set accessor functions for the LLRP CurrentState field.
Class Definition CC1G2Filter for LLRP parameter C1G2Filter.
void setEnableROSpecID(llrp_u1_t value)
Set accessor functions for the LLRP EnableROSpecID field.
llrp_utf8_t * m_pValue
Pointer to the first array element.
EResultCode addInventoryParameterSpec(CInventoryParameterSpec *pValue)
Add a InventoryParameterSpec to the LLRP sub-parameter list.
void setPriority(llrp_u8_t value)
Set accessor functions for the LLRP Priority field.
Class Definition CROBoundarySpec for LLRP parameter ROBoundarySpec.
CConnectionAttemptEvent * getConnectionAttemptEvent(void)
Get accessor functions for the LLRP ConnectionAttemptEvent sub-parameter.
Describes a message or parameter type.
const CErrorDetails * getSendError(void)
Get the details that explains sendMessage() error.
EConnectionAttemptStatusType getStatus(void)
Get accessor functions for the LLRP Status field.
Class Definition CReaderEventNotificationData for LLRP parameter ReaderEventNotificationData.