Mercury API - Tag Operations Interface. More...
#include "tmr_tag_auth.h"#include "osdep.h"Mercury API - Tag Operations Interface.
| typedef enum AccessFifoOperation AccessFifoOperation |
Sub-Class for specifying AccessFifo opearation
| typedef struct ApplicationData ApplicationData |
Sub-Class for specifying SL900A application data
| typedef enum BatteryType BatteryType |
Sub-Class for BatterType, re-check or default
| typedef enum FifoSource FifoSource |
Sub-Class to spcify fifo source
| typedef struct LimitCounter LimitCounter |
Sub-Class for Raw 9 or 21-bit Get Log State reply
| typedef enum LoggingForm LoggingForm |
SL900A Data log format selection
| typedef struct LogModeData LogModeData |
Sub-class for SL900A Log Mode Data
| typedef enum PasswordLevel PasswordLevel |
SL900A password access level values
| typedef struct SecurePasswordLookup SecurePasswordLookup |
Parameters of Gen2 Secure operation
| typedef enum SecureTagType SecureTagType |
The type of Gen2 Secure operation
| typedef struct StatusFlags StatusFlags |
Sub-Class for Log Status Flags
| typedef enum StorageRule StorageRule |
SL900A Logging memory-full behavior
| typedef struct SystemStatus SystemStatus |
Sub-class for SystemStatus reply object
| typedef struct TMR_TagOp_GEN2 TMR_TagOp_GEN2 |
Sub-class for Gen2 standard tagops
| typedef struct TMR_TagOp_GEN2_Alien TMR_TagOp_GEN2_Alien |
Sub-class for Gen2 Alien custom tag extensions
| typedef struct TMR_TagOp_GEN2_Alien_Higgs2 TMR_TagOp_GEN2_Alien_Higgs2 |
Sub-class for Gen2 Alien Higgs2 custom tag extensions
Parameters for Alien Higgs2, Full Load Image command
| typedef struct TMR_TagOp_GEN2_Alien_Higgs2_PartialLoadImage TMR_TagOp_GEN2_Alien_Higgs2_PartialLoadImage |
Tagops for Gen2 custom commands Parameters for Alien Higgs2, Partial Load Image command
| typedef struct TMR_TagOp_GEN2_Alien_Higgs3 TMR_TagOp_GEN2_Alien_Higgs3 |
Sub-class for Gen2 Alien Higgs3 custom tag extensions
Parameters for Alien Higgs3, Block Read Lock command
Parameters for Alien Higgs3, Fast Load Image command
Parameters for Alien Higgs3, Load Image command
| typedef struct TMR_TagOp_GEN2_BlockErase TMR_TagOp_GEN2_BlockErase |
Parameters of a Gen2 tag Block Erase operation
| typedef struct TMR_TagOp_GEN2_BlockPermaLock TMR_TagOp_GEN2_BlockPermaLock |
Parameters of a Gen2 tag Block PermaLock operation
| typedef struct TMR_TagOp_GEN2_BlockWrite TMR_TagOp_GEN2_BlockWrite |
Parameters of a Gen2 tag Block Write operation
| typedef struct TMR_TagOp_GEN2_Custom TMR_TagOp_GEN2_Custom |
Sub-class for Gen2 custom tagops
| typedef struct TMR_TagOp_GEN2_Denatran TMR_TagOp_GEN2_Denatran |
Sub-class for Gen2 IavDenatran custom tag extensions
| typedef struct TMR_TagOp_GEN2_Denatran_IAV_Activate_Secure_Mode TMR_TagOp_GEN2_Denatran_IAV_Activate_Secure_Mode |
Parameters for IAV, ActivateSecureMode command
| typedef struct TMR_TagOp_GEN2_Denatran_IAV_Activate_Siniav_Mode TMR_TagOp_GEN2_Denatran_IAV_Activate_Siniav_Mode |
Parameters for IAV, Activate_Siniav_Mode command - G0 Protocol
| typedef struct TMR_TagOp_GEN2_Denatran_IAV_Authenticate_OBU TMR_TagOp_GEN2_Denatran_IAV_Authenticate_OBU |
Parameters for IAV, AuthenticateOBU command
| typedef struct TMR_TagOp_GEN2_Denatran_IAV_G0_PA_OBU_Auth_ID TMR_TagOp_GEN2_Denatran_IAV_G0_PA_OBU_Auth_ID |
Parameters for IAV, G0_PA_OBU_Auth_ID
Parameters for IAV, Get Token ID command
| typedef struct TMR_TagOp_GEN2_Denatran_IAV_OBU_Auth_Full_Pass TMR_TagOp_GEN2_Denatran_IAV_OBU_Auth_Full_Pass |
Parameters for IAV, Authenticate OBU Full Pass
| typedef struct TMR_TagOp_GEN2_Denatran_IAV_OBU_Auth_Full_Pass1 TMR_TagOp_GEN2_Denatran_IAV_OBU_Auth_Full_Pass1 |
Parameters for IAV, OBU_Auth_Full_Pass1 command - G0 Protocol
| typedef struct TMR_TagOp_GEN2_Denatran_IAV_OBU_Auth_Full_Pass2 TMR_TagOp_GEN2_Denatran_IAV_OBU_Auth_Full_Pass2 |
Parameters for IAV, OBU_Auth_Full_Pass2 command - G0 Protocol
Parameters for IAV, OBU_Auth_ID command - G0 Protocol
| typedef struct TMR_TagOp_GEN2_Denatran_IAV_OBU_ReadFromMemMap TMR_TagOp_GEN2_Denatran_IAV_OBU_ReadFromMemMap |
Parameters for IAV, OBU_ReadFromMemMap command - G0 Protocol
| typedef struct TMR_TagOp_GEN2_Denatran_IAV_OBU_WriteToMemMap TMR_TagOp_GEN2_Denatran_IAV_OBU_WriteToMemMap |
Parameters for IAV, OBU_WriteToMemMap command - G0 Protocol
Parameters for IAV, read sec command - IP63 Protocol
Parameters for IAV, write sec command - IP63 Protocol
| typedef struct TMR_TagOP_GEN2_IDS TMR_TagOP_GEN2_IDS |
Sub-class for Gen2 Ids parameters
| typedef struct TMR_TagOP_GEN2_IDS_SL900A TMR_TagOP_GEN2_IDS_SL900A |
Sub-Class for Gen2 Ids Sl900A coustom tag extension
Sub-Class for Gen2 Ids AccessFifo command
Sub-Class for Gen2 Ids accessFifo read command
| typedef struct TMR_TagOp_GEN2_IDS_SL900A_AccessFifoStatus TMR_TagOp_GEN2_IDS_SL900A_AccessFifoStatus |
Sub-Class for Gen2 Ids accessFifo status command
Sub-Class for Gen2 Ids accessFifo write command
| typedef struct TMR_TagOp_GEN2_IDS_SL900A_BatteryLevelReading TMR_TagOp_GEN2_IDS_SL900A_BatteryLevelReading |
Sub-Class for Get Battery Level Reply
Sub-class for Calibration Data
| typedef struct TMR_TagOp_GEN2_IDS_SL900A_CalSfe TMR_TagOp_GEN2_IDS_SL900A_CalSfe |
Sub-Class to Combination Calibration Data / SFE Parameters object
| typedef struct TMR_TagOp_GEN2_IDS_SL900A_EndLog TMR_TagOp_GEN2_IDS_SL900A_EndLog |
Sub-Class for Gen2 end log command
Sub-Class for Get status fifo reply
Sub-class for Gen2 Ids GetBatteryLevel command
| typedef struct TMR_TagOp_GEN2_IDS_SL900A_GetCalibrationData TMR_TagOp_GEN2_IDS_SL900A_GetCalibrationData |
Sub-Class for Gen2 IDS GetCalibrationData command
Sub-class for IDs SL900A get log state
| typedef struct TMR_TagOp_GEN2_IDS_SL900A_GetMeasurementSetup TMR_TagOp_GEN2_IDS_SL900A_GetMeasurementSetup |
Sub-class for Gen2 Ids GetMeasurementSetup command
Sub- class for Ids Sl900A sensor
Sub-Class for GEN2 initialize command
Sub-class for get log state value reply
| typedef struct TMR_TagOp_GEN2_IDS_SL900A_MeasurementSetupData TMR_TagOp_GEN2_IDS_SL900A_MeasurementSetupData |
Sub-class for GetMeasurmentSetUp command
Sub-Class for Get Sensor Value reply
| typedef struct TMR_TagOp_GEN2_IDS_SL900A_SetCalibrationData TMR_TagOp_GEN2_IDS_SL900A_SetCalibrationData |
Sub-Class for Gen2 IDS SetCalibrationData command
Sub-Class for Gen2 Ids SetLogLimits Command
Sub-Class for IDS SL900A set log mode
Sub-Class for Gen2 Ids SetPassword Command
| typedef struct TMR_TagOp_GEN2_IDS_SL900A_SetSfeParameters TMR_TagOp_GEN2_IDS_SL900A_SetSfeParameters |
Sub-class for Gen2 Ids SetSfeParameters command
Sub-Class for Gen2 Ids SetShelfLife Command
Sub-class to specify Sensor Front End Parameters
Sub-Classs for ShelfLife Block 0
Sub-Class for ShelfLife Block 1
Sub-Class for Gen2 StartLog command
| typedef struct TMR_TagOp_GEN2_Impinj TMR_TagOp_GEN2_Impinj |
Sub-class for Gen2 Impinj custom tag extensions
| typedef struct TMR_TagOp_GEN2_Impinj_Monza4 TMR_TagOp_GEN2_Impinj_Monza4 |
Sub-class for Gen2 Impinj Monza4 custom tag extensions
Parameters for NXP, Change Config command
| typedef struct TMR_TagOp_GEN2_Kill TMR_TagOp_GEN2_Kill |
Parameters of a Gen2 tag kill operation
| typedef struct TMR_TagOp_GEN2_Lock TMR_TagOp_GEN2_Lock |
Parameters of a Gen2 memory lock/unlock operation
| typedef struct TMR_TagOp_GEN2_NXP TMR_TagOp_GEN2_NXP |
Sub-class for Gen2 NXP custom tag extensions
| typedef struct TMR_TagOp_GEN2_NXP_Calibrate TMR_TagOp_GEN2_NXP_Calibrate |
Parameters for NXP, Calibration command
| typedef struct TMR_TagOp_GEN2_NXP_ChangeConfig TMR_TagOp_GEN2_NXP_ChangeConfig |
Parameters for NXP, Change Config command
| typedef struct TMR_TagOp_GEN2_NXP_ChangeEAS TMR_TagOp_GEN2_NXP_ChangeEAS |
Parameters for NXP, Change EAS Command
| typedef struct TMR_TagOp_GEN2_NXP_EASAlarm TMR_TagOp_GEN2_NXP_EASAlarm |
Parameters for NXP, EAS alarm command
Parameters for NXP, Reset Read Protect Command
Parameters for NXP, Set Read Protect command
| typedef struct TMR_TagOp_GEN2_ReadData TMR_TagOp_GEN2_ReadData |
Parameters of a Gen2 memory read operation
| typedef struct TMR_TagOp_GEN2_WriteData TMR_TagOp_GEN2_WriteData |
Parameters of a Gen2 memory write operation
| typedef struct TMR_TagOp_GEN2_WriteTag TMR_TagOp_GEN2_WriteTag |
Parameters of a Gen2 EPC write operation
| typedef struct TMR_TagOp_ISO180006B TMR_TagOp_ISO180006B |
Sub-class for ISO180006B tagops
| typedef struct TMR_TagOp_ISO180006B_Lock TMR_TagOp_ISO180006B_Lock |
Parameters of a Gen2 memory lock/unlock operation
| typedef struct TMR_TagOp_ISO180006B_ReadData TMR_TagOp_ISO180006B_ReadData |
Parameters of an ISO180006B memory read operation
| typedef struct TMR_TagOp_ISO180006B_WriteData TMR_TagOp_ISO180006B_WriteData |
Parameters of an ISO180006B memory write operation
| typedef struct TMR_TagOp_List TMR_TagOp_List |
List of tag operations
| typedef enum TMR_TagOpType TMR_TagOpType |
The type of a tag operation structure
| enum AccessFifoOperation |
Sub-Class for specifying AccessFifo opearation
| enum BatteryType |
Sub-Class for BatterType, re-check or default
| enum DelayMode |
SL900A Data log memory-full behavior
| enum FifoSource |
Sub-Class to spcify fifo source
| enum LoggingForm |
SL900A Data log format selection
| enum PasswordLevel |
SL900A password access level values
| enum SecureTagType |
The type of Gen2 Secure operation
| enum Sensor |
Sensor type for IDS Sl900A chip
| enum StorageRule |
SL900A Logging memory-full behavior
| enum TMR_TagOpType |
The type of a tag operation structure
| TMR_Status TMR_GEN2_init_BapParams | ( | TMR_GEN2_Bap * | bapVal, | |
| int32_t | powerUpDelayUs, | |||
| int32_t | freqHopOfftimeUs | |||
| ) |
Initialize a TMR_GEN2_Bap with the provided parameters
| bapVal | pointer to the TMR_GEN2_Bap structure | |
| powerUpDelayUs | the power up delay time | |
| freqHopOfftimeUs | the offtime for frequencyHop |
| TMR_Status TMR_TagOp_init_GEN2_BlockErase | ( | TMR_TagOp * | tagop, | |
| TMR_GEN2_Bank | bank, | |||
| uint32_t | wordPtr, | |||
| uint8_t | wordCount | |||
| ) |
Initialize a TMR_TagOp as a GEN2 BlockErase operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| bank | bank | |
| wordPtr | The starting word address to erase | |
| wordCount | Number of words to erase |
| TMR_Status TMR_TagOp_init_GEN2_BlockPermaLock | ( | TMR_TagOp * | tagop, | |
| uint8_t | readLock, | |||
| TMR_GEN2_Bank | bank, | |||
| uint32_t | blockPtr, | |||
| TMR_uint16List * | mask | |||
| ) |
Initialize a TMR_TagOp as a GEN2 BlockPermaLock operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| readLock | readLock | |
| bank | bank | |
| blockPtr | block pointer | |
| mask | mask (The length of the mask specifies the block range) |
| TMR_Status TMR_TagOp_init_GEN2_BlockWrite | ( | TMR_TagOp * | tagop, | |
| TMR_GEN2_Bank | bank, | |||
| uint32_t | wordPtr, | |||
| TMR_uint16List * | data | |||
| ) |
Initialize a TMR_TagOp as a GEN2 BlockWrite operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| bank | bank | |
| wordPtr | word pointer | |
| data | data (The length of the data specifies the word count) |
| TMR_Status TMR_TagOp_init_GEN2_Kill | ( | TMR_TagOp * | tagop, | |
| TMR_GEN2_Password | killPassword | |||
| ) |
Initialize a TMR_TagOp as a GEN2 kill operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| killPassword | tag kill password |
| TMR_Status TMR_TagOp_init_GEN2_Lock | ( | TMR_TagOp * | tagop, | |
| uint16_t | mask, | |||
| uint16_t | action, | |||
| TMR_GEN2_Password | accessPassword | |||
| ) |
Initialize a TMR_TagOp as a GEN2 lock operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| mask | mask | |
| action | action | |
| accessPassword | The password to use to lock the tag. |
| TMR_Status TMR_TagOp_init_GEN2_ReadData | ( | TMR_TagOp * | tagop, | |
| TMR_GEN2_Bank | bank, | |||
| uint32_t | wordAddress, | |||
| uint8_t | len | |||
| ) |
Initialize a TMR_TagOp as a GEN2 data read operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| bank | Memory bank from which to read | |
| wordAddress | Word address of location in bank from which to read | |
| len | Number of words to read |
| TMR_Status TMR_TagOp_init_GEN2_SecurePassWord | ( | TMR_TagOp * | tagop, | |
| uint8_t | passwordType, | |||
| uint32_t | gen2PassWord, | |||
| uint8_t | addressLength, | |||
| uint8_t | addressOffset, | |||
| uint16_t | flashOffset | |||
| ) |
Initialize a TMR_TagOp as a Gen2 Secure Password with the provided parameters.
| tagop | Pointer to the tagop structure to initialize | |
| passwordType | specifying the mode of password | |
| gen2PassWord | Gen2 access password | |
| addressLength | Number of bits used to address the AP list | |
| addressOffset | EPC word offset | |
| flashOffset | User flash offset |
| TMR_Status TMR_TagOp_init_GEN2_SecureReadData | ( | TMR_TagOp * | tagop, | |
| TMR_GEN2_Bank | bank, | |||
| uint32_t | wordAddress, | |||
| uint8_t | len, | |||
| uint8_t | tagtype, | |||
| uint8_t | passwordType | |||
| ) |
Initialize a TMR_TagOp as a GEN2 Secure data read operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| bank | Memory bank from which to read | |
| wordAddress | Word address of location in bank from which to read | |
| len | Number of words to read | |
| tagtype | to select Alien Higgs 3 secure access and Monza 4 secure access | |
| passwordType | specifying the mode of password |
| TMR_Status TMR_TagOp_init_GEN2_WriteData | ( | TMR_TagOp * | tagop, | |
| TMR_GEN2_Bank | bank, | |||
| uint32_t | wordAddress, | |||
| TMR_uint16List * | data | |||
| ) |
Initialize a TMR_TagOp as a GEN2 data write operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| bank | Memory bank to write into | |
| wordAddress | Word address of location to begin write | |
| data | Data to write |
| TMR_Status TMR_TagOp_init_GEN2_WriteTag | ( | TMR_TagOp * | tagop, | |
| TMR_TagData * | epc | |||
| ) |
Initialize a TMR_TagOp as a GEN2 EPC write operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| epc | EPC to write |
| TMR_Status TMR_TagOp_init_ISO180006B_Lock | ( | TMR_TagOp * | tagop, | |
| uint8_t | address | |||
| ) |
Initialize a TMR_TagOp as a ISO180006B lock operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| address | The memory address of the byte to lock. |
| TMR_Status TMR_TagOp_init_ISO180006B_ReadData | ( | TMR_TagOp * | tagop, | |
| uint8_t | byteAddress, | |||
| uint8_t | len | |||
| ) |
Initialize a TMR_TagOp as a ISO18000B data read operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| byteAddress | Address of location in bank from which to read | |
| len | Number of bytes to read |
| TMR_Status TMR_TagOp_init_ISO180006B_WriteData | ( | TMR_TagOp * | tagop, | |
| uint8_t | byteAddress, | |||
| TMR_uint8List * | data | |||
| ) |
Initialize a TMR_TagOp as a ISO180006B data write operation with the provided parameters.
| tagop | Pointer to the tagop structure to initialize. | |
| byteAddress | address of location to begin write | |
| data | Data to write |
1.6.3