CAEN RFID srl CAENRFID002 Low Power Communication Device Transmitter User Manual easy2read protocol rev4
CAEN RFID srl Low Power Communication Device Transmitter easy2read protocol rev4
Contents
- 1. Users Manual I
- 2. Users Manual II
- 3. Users Manual III
- 4. Users Manual IV
Users Manual II



![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 2. Protocol specification CAEN UHF RFID Reader protocol uses two logical communication channels: one for synchronous commands and one for asynchronous notifications. Command channel is mandatory and, at now, it is implemented on top of a TCP/IP socket (port 1000) and on RS232 while notification channels are implemented only with sockets. All the messages (commands, responses and notifications) are composed by a header and a body. In all cases the body of the message is a list of attribute-value pairs. Responses always echo the Command AVP sent by the host. All the packets for the control and notification channel share a common header format: 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-------------------------------+------------------------------+ | FIXED | Message ID | +-------------------------------+------------------------------+ | Vendor ID | +-------------------------------+------------------------------+ | Length | +-------------------------------+ FIXED: Must be 0x8001 for commands and 0x0001 for responses. Message ID: Id of the message. It is a sequence number used to map requests to its responses: a request and its corresponding response have the same message ID (the id is local to the channel). Vendor ID: Must be 21336: the IANA “SMI Network Management Private Enterprise Code” assigned to CAEN SpA. Length: Encodes the length of the message (in bytes) including the header. The header is followed by a list of AVPs the number of which depends on the command. Each AVP have the following format: 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-------------------------------+------------------------------+ | RESERVED | Length | +-------------------------------+------------------------------+ | Attribute Type | Attribute Value ……… | +-------------------------------+------------------------------+ | ………[ until length is reached ]……… | +--------------------------------------------------------------+ RESERVED: The first 16 bits are reserved for future extensions. All reserved bits must be set to 0 on outgoing messages and ignored on incoming messages. Length: Encodes the length of the AVP packet including the length and the reserved fields. Attribute type: A 2 byte code identifying the attribute type. Attribute value: The actual attribute value according to the type. It follows immediately after the Attribute Type field and runs for the remaining bytes indicated in the Length (i.e. Length minus 6 bytes of header). NPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 4](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-4.png)






![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description 0xFB SourceName: a string representing the name of the data source. Attribute value has a maximum length of 30 bytes and can assume the following values: “Source_0”, “Source_1”, “Source_2”, “Source_3” Table 2.2: Command codes Code Description Comp. 0x12 RawReadIDs: permits to get all the tag’s Ids that are under the RF field of the selected source. Parameters: SourceNameIn: [in] the name of the source to use. SourceNameOut: [out] the name of the source used. ReadPointName: [out] the name of the readpoint. TimeStamp: [out] the time at which the tags are detected. TagIDLen: [out] the ID length of the tags detected. ListOfIDs: [out] the list of Ids detected from the source. ResultCode: [out] the result code. Note: out parameters are repeated for each readpoint in the source. A928EU A948EUA828EU A828US A829EU A829US A946EU A949EU0x3F AddReadTrigger: permits to add a trigger to a source. Parameters: SourceName: [in] the name of the source. TriggerName: [in] the name of the trigger. ResultCode: [out] the result code. A928EUA948EU0x40 AddNotifyTrigger: permits to add a trigger to a notification channel. Parameters: ChannelName: [in] the name of the channel. TriggerName: [in] the name of the trigger. ResultCode: [out] the result code. A928EUA948EU0x41 RemoveReadTrigger: permits to remove a trigger from a source. Parameters: SourceName: [in] the name of the source. TriggerName: [in] the name of the trigger. ResultCode: [out] the result code. A928EUA948EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 11](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-11.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x42 RemoveNotifyTrigger: permits to remove a trigger from a notification channel. Parameters: ChannelName: [in] the name of the channel. TriggerName: [in] the name of the trigger. ResultCode: [out] the result code. A928EUA948EU0x49 AllocateTrigger: permits to create a new trigger. Parameters: TriggerName: [in] the name of the trigger. TriggerType: [in] the type of the trigger. ResultCode: [out] the result code. A928EUA948EU0x4A DeallocateTrigger: permits to destroy an existing trigger. Parameters: TriggerName: [in] the name of the trigger. ResultCode: [out] the result code. A928EUA948EU0x53 AllocateChannel: permits to create a notification channel. Parameters: ChannelName: [in] the name of the channel. ChannelAddress: [in] the address of the channel. ResultCode: [out] the result code. A928EUA948EU0x54 DeallocateChannel: permits to destroy a notification channel. Parameters: ChannelName: [in] the name of the channel. ResultCode: [out] the result code. A928EUA948EU0x5D AddSourceToChannel: permits to add a source to a notification channel. Parameters: SourceName: [in] the name of the source. ChannelName: [in] the name of the channel. ResultCode: [out] the result code. A928EUA948EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 12](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-12.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x5E RemoveSourceFromChannel: permits to remove a source from a notification channel. Parameters: SourceName: [in] the name of the source. ChannelName: [in] the name of the channel. ResultCode: [out] the result code. A928EUA948EU0x5F AddReadPointToSource: permits to add a readpoint to a source. Parameters: SourceName: [in] the name of the source. ReadPointName: [in] the name of the readpoint. ResultCode: [out] the result code. A928EUA948EU0x60 RemoveReadPointFromSource: permits to remove a readpoint from a source. Parameters: SourceName: [in] the name of the source. ReadPointName: [in] the name of the readpoint. ResultCode: [out] the result code. A928EUA948EU0x64 SetPower: permits to set the RF power level. Parameters: PowerSet: [in] the power level to set. ResultCode: [out] the result code. A928EUA948EUA949EUA946EU0x6E ReadTagData: permits to read data from the tag memory. Parameters: SourceName: [in] the name of the source to use. TagIDLen: [in] the ID length of the tag. TagID: [in] the ID of the tag. TagAddress: [in] the address from which read the data. Length: [in] the number of bytes to read. TagValue: [out] the data read from the tag memory. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 13](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-13.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x6F WriteTagData: permits to write data to the tag memory. Parameters: SourceName: [in] the name of the source to use. TagIDLen: [in] the ID length of the tag. TagID: [in] the ID of the tag. TagAddress: [in] the address where to write the data. Length: [in] the number of bytes to write. TagValue: [in] the data to write to the tag memory. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x70 LockTag: permits to lock data into the tag memory. Parameters: SourceName: [in] the name of the source to use. TagIDLen: [in] the ID length of the tag. TagID: [in] the ID of the tag. TagAddress: [in] the address where to write the data. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x71 RESERVED 0x72 SetBitRate: permits to set the BitRate to use. Parameters: BitRate: [in] the BitRate to set. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x73 GetPower: permits to get the current RF power level. Parameters: PowerGet: [out] the current power level. ResultCode: [out] the result code. A928EUA948EUA949EUA946EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 14](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-14.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x74 SetProtocol: permits to set the protocol to use. Parameters: Protocol: [in] the protocol to use. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x75 RESERVED 0x76 CheckReadPointStatus: permits to check the quality of the antenna connection. Parameters: ReadPointName: [in] the name of the readpoint. ReadPointStatus: [out] the quality of the connection. ResultCode: [out] the result code. A928EUA948EUA949EUA946EU0x77 CheckSourceInChannel: permits to verify if a source is assigned to a notify channel. Parameters: SourceName: [in] the name of the source. ChannelName: [in] the name of the channel. Value: [out] a Boolean value meaning the belonging to the source. ResultCode: [out] the result code. A928EUA948EU0x78 CheckReadPointInSource: permits to verify if a readpoint belongs to a givens source. Parameters: ReadPointName: [in] the name of the readpoint. SourceName: [in] the name of the source. Value: [out] a Boolean value meaning the belonging to the source. ResultCode: [out] the result code. A928EUA948EUA949EUA946EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 15](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-15.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x79 GetProtocol: permits to get the protocol in use. Parameters: Protocol: [out] the protocol in use. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x7A SetNetwork: permits to set up the network configuration. Parameters: IPAddress: [in] the IP address to set. IPNetMask: [in] the IP netmask to set. IPGateway: [in] the IP gateway to set. ResultCode: [out] the result code. A928EUA948EU0x7B SetDESB: permits to enable or disable the “Data Exchange Status Bit” handling during the anti-collision algorithm when ISO 18000-6b air protocol is in use. Parameters: DESBEnable: [in] enable/disable value. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x7C GetFirmwareRelease: permits to get the firmware revision. Parameters: FWRelease: [in] the firmware release. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 16](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-16.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x7D GetDESB: permits to get the current setting of the “Data Exchange Status Bit” handling. Parameters: DESBStatus: [in] enabled/disabled value. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x7E ProgramID: permits to program the ID in the EPC Class 1 Gen 1 tags. Parameters: SourceName: [in] the name of the source. TagIDLen: [in] the ID length of the tag. TagID: [in] the ID of the tag. EPCPWD: [in] the EPC password to set. Lock: [in] a Boolean value; TRUE = lock the ID. FALSE = do not lock.ResultCode: [out] the result code. A928EUA948EU0x7F KillTag: permits to kill a EPC Class 1 Gen 1 tag. Parameters: SourceName: [in] the name of the source. TagIDLen: [in] the ID length of the tag. TagID: [in] the ID of the tag. EPCPWD: [in] the EPC password. ResultCode: [out] the result code. A928EUA948EU0x80 RFOnOff: permits to start/stop the generation of a continuous wave. Used only for test and measurements purposes. Parameters: RFOnOff: [in] = 0 Î stop; != 0 Î start ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 17](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-17.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x81 GetBitRate: permits to get the BitRate in use. Parameters: BitRate: [out] the BitRate in. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x82 BlockWriteTag: permits to write data to the tag memory. This function uses the ISO18000-6b Write4Byte command to speed up the writing of large amount of data at one time. Parameters: SourceName: [in] the name of the source to use. TagIDLen: [in] the ID length of the tag. TagID: [in] the ID of the tag. TagAddress: [in] the address where to write the data. Length: [in] the number of bytes to write. TagValue: [in] the data to write to the tag memory. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x83 SetRS232: permits to modify the settings of the serial port. Parameters: Baudrate: [in] the baud rate value. Databits: [in] the data bits setting. Stopbits: [in] the stop bits setting. Parity: [in] the parity setting. Flowctrl: [in] the flow control setting. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 18](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-18.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x84 SetDateTime: permits to modify date and time. Parameters: Datetime: [in] the date and time to set up. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x85 GroupSelectUnselect: permits to execute the tag selection commands defined by the ISO18000-6B protocol. Parameters: SourceName: [in, optional] the name of the source to use. Operation: [in] the tag selection operation. Bytemask: [in] the byte mask as defined by the protocol. TagAddress: [in] the address where to compare the data. TagValue: [in] the data to compare with the tag memory. TagID: [out] the ID of the tag. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x86 GetIO: permits to read the current status of the I/O lines. Parameters: IORegister: [out] the status of the I/O lines. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x87 SetIO: permits to set the level of the output lines. Parameters: IORegister: [in] the value to set to the output lines. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 19](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-19.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x88 SetIODirection: permits to define the direction of the I/O lines. (0 = input; 1 = output) Parameters: IORegister: [in] the direction to set to the I/O lines. ResultCode: [out] the result code. A828EU A828US A829EU A829US A946EU A949EU0x89 GetIODirection: permits to read the current status of the I/O lines. (0 = input; 1 = output) Parameters: IORegister: [out] the direction of the I/O lines. ResultCode: [out] the result code. A828EU A828US A829EU A829US A946EU A949EU0x8A SetSourceConfig: permits to set a configure parameter for a logical source. Parameters: SourceName: [in] the name of the source to configure. ConfigParameter: [in] the code of the parameter. ConfigValue: [in] the value for the parameter. ResultCode: [out] the result code. A928EUA948EU0x8B GetSourceConfig: permits to read a configure parameter for a logical source. Parameters: SourceName: [in] the name of the source to configure. ConfigParameter: [in] the code of the parameter. ConfigValue: [out] the value for the parameter. ResultCode: [out] the result code. A928EUA948EU0x8C GetTriggers: permits to read the names of the allocated triggers. Parameters: NoOfTriggers: [out] the number of allocated triggers. ListOfTriggerNames: [in] a list containing the names of the allocated triggers. ResultCode: [out] the result code. A928EUA948EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 20](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-20.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x8D GetChannels: permits to read the names of the allocated notification channels. Parameters: NoOfChannels: [out] the number of allocated channels. ListOfChannelNames: [in] a list containing the names of the allocated channels. ResultCode: [out] the result code. A928EUA948EU0x8E CheckSourceInTrigger: permits to verify if the specified logical source is associated to the specified trigger. Parameters: SourceName: [in] the name of the source. TriggerName: [in] the name of the trigger. Boolean: [out] 0 if they are associated, ≠0 if not. ResultCode: [out] the result code. A928EUA948EU0x8F CheckTriggerInChannel: permits to verify if the specified trigger is associated to the specified channel. Parameters: ChannelName: [in] the name of the source. TriggerName: [in] the name of the trigger. Boolean: [out] 0 if they are associated, ≠0 if not. ResultCode: [out] the result code. A928EUA948EU0x90 CheckChannelInTrigger: permits to verify if the specified channel is associated to the specified trigger. Parameters: ChannelName: [in] the name of the source. TriggerName: [in] the name of the trigger. Boolean: [out] 0 if they are associated, ≠0 if not. ResultCode: [out] the result code. A928EUA948EU0x91 SetEventMode: permits to set the event generation mode for the reader notification channels. Parameters: EventMode: [in] the event mode. ResultCode: [out] the result code. A928EUA948EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 21](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-21.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x92 GetEventMode: permits to read the event generation mode for the reader notification channels. Parameters: EventMode: [out] the event mode. ResultCode: [out] the result code. A928EUA948EU0x93 FirmwareUpgrade: permits to upgrade the reader firmware. Parameters: UpgradeType: [in] the type of the upgrade. UpgradeArg: [in] the argument needed by the upgrade procedure. ResultCode: [out] the result code. A928EUA948EU0x94 E119ProgramID: permits to write the EPC into a EPC1.19 tag. Parameters: SourceName: [in] the name of the source to use. TagID: [in] the old EPC of the tag. TagValue: [in] the EPC to write into the tag memory. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x95 G2ProgramID: permits to write the EPC in a Class 1 Gen 2 tag. Parameters: SourceName: [in] the name of the source to use. TagIDLen: [in] the ID length of the tag (must be an even number). TagID: [in] the EPC to write into the tag memory. G2NSI: [in] the EPC numbering system. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 22](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-22.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x96 G2Read: permits to read data from anyone of the Gen2 tag memory banks. Parameters: SourceName: [in, optional] the name of the source to use. TagIDLen: [in] the ID length of the tag. TagID: [in] the ID of the tag. MemoryBank: [in] the memory bank. TagAddress: [in] the address where to read the data. Length: [in] the number of bytes to read (must be an even number). TagValue: [out] the data read from the tag memory. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x97 G2Write: permits to write data into anyone of the Gen2 tag memory banks. Parameters: SourceName: [in, optional] the name of the source to use. TagIDLen: [in] the ID length of the tag. TagID: [in] the ID of the tag. MemoryBank: [in] the memory bank. TagAddress: [in] the address where to write the data. Length: [in] the number of bytes to write (must be an even number). TagValue: [in] the data to write to the tag memory. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x98 G2Lock: permits to execute the tag lock command defined by the EPC Class 1 Gen 2 protocol. Parameters: SourceName: [in, optional] the name of the source to use. TagIDLen: [in] the ID length of the tag. TagID: [in] the ID of the tag. G2Payload: [in] the lock payload. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 23](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-23.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x99 G2Kill: permits to execute the tag kill command defined by the EPC Class 1 Gen 2 protocol. Parameters: SourceName: [in, optional] the name of the source to use. TagIDLen: [in] the ID length of the tag. TagID: [in] the ID of the tag. G2Password: [in] the kill password. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x9A G2Query: permits to execute the tag query command defined by the EPC Class 1 Gen 2 protocol. If a tag is in the field result code is ERROR_SUCCESS (0x00) else result code is ERROR_TAGNOTPRESENT (0xCA). Parameters: SourceName: [in] the name of the source to use. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x9B G2SetQ: permits to change the initial value of the Q parameter used in the Gen2 anticollision algorithm. Parameters: QParameter: [in] the value of the Q parameter. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x9C G2GetQ: permits to read the initial value of the Q parameter used in the Gen2 anticollision algorithm. Parameters: QParameter: [out] the value of the Q parameter. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 24](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-24.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0x9D G2QueryAck: permits to execute the tag query and ack command defined by the EPC Class 1 Gen 2 protocol. If a tag is in the field result code is ERROR_SUCCESS (0x00) and the command returns the EPC code stored in the tag else the result code is ERROR_TAGNOTPRESENT (0xCA). Parameters: SourceName: [in] the name of the source to use. TagID: [out] the ID of the tag. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x9E GetReaderInfo: permits to read some information about the reader itself. Parameters: ReaderInfo: [out] a string with information about the reader. ResultCode: [out] the result code. A928EUA948EUA828EU A828US A829EU A829US A946EU A949EU0x9F SetLBTMode: permits to enable or disable the Listen Before Talk capability on ETSI EN 302 208 compatible readers. Parameters: Boolean: [in] 0 to disable LBT and ≠0 to enable LBT. ResultCode: [out] the result code. A948EUA949EUA946EU0xA0 GetLBTMode: permits to read the current setting for the Listen Before Talk capability on ETSI EN 302 208 compatible readers. Parameters: Boolean: [out] 0 if LBT is disabled, ≠0 if LBT is enabled. ResultCode: [out] the result code. A948EUA949EUA946EU0xA1 SetRFRegulation: permits to change the RF regulation used by the reader. Parameters: RFRegulation: [in] the desired RF regulation. ResultCode: [out] the result code. A948EUA949EUA946EUNPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 25](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-25.png)
![Document type: Title: Revision date: Revision: User's Manual (MUT) CAEN UHF RFID Readers Communication Protocol 17/01/2007 4 Code Description Comp. 0xA2 GetRFRegulation: permits to read the RF regulation used by the reader. Parameters: RFRegulation: [out] the desired RF regulation. ResultCode: [out] the result code. A948EUA949EUA946EU0xA3 SetRFChannel: permits to set the RF channel where the reader emits the RF field. Parameters: RFChannel: [in] the RF channel. ResultCode: [out] the result code. A948EUA949EUA946EU0xA4 GetRFChannel: permits to read the RF channel currently in use. Parameters: RFChannel: [out] the RF channel. ResultCode: [out] the result code. A948EUA949EUA946EU0xFFFF RESERVED NPO: Filename: Number of pages: Page: 00117/03:PROTx.MUTx/04 EASY2READ_PROTOCOL_REV4.DOC 31 26](https://usermanual.wiki/CAEN-RFID-srl/CAENRFID002.Users-Manual-II/User-Guide-783043-Page-26.png)




