Mercury API - Tag Authentication Interface. More...
#include "tmr_gen2.h"
Go to the source code of this file.
Classes | |
struct | TMR_TagAuthentication |
Typedefs | |
typedef enum TMR_AuthType | TMR_AuthType |
typedef struct TMR_TagAuthentication | TMR_TagAuthentication |
Enumerations | |
enum | TMR_AuthType { TMR_AUTH_TYPE_GEN2_PASSWORD = 0, TMR_AUTH_TYPE_GEN2_DENATRAN_IAV_WRITE_CREDENTIALS = 1, TMR_AUTH_TYPE_GEN2_DENATRAN_IAV_WRITE_SEC_CREDENTIALS = 2 } |
Functions | |
TMR_Status | TMR_TA_init_gen2 (TMR_TagAuthentication *auth, TMR_GEN2_Password password) |
TMR_Status | TMR_TA_init_gen2_Denatran_IAV_writeCredentials (TMR_TagAuthentication *auth, uint8_t idLength, uint8_t *tafId, uint8_t len, uint8_t *data) |
TMR_Status | TMR_TA_init_gen2_Denatran_IAV_writeSecCredentials (TMR_TagAuthentication *auth, uint8_t dataLength, uint8_t *data, uint8_t len, uint8_t *credentials) |
typedef enum TMR_AuthType TMR_AuthType |
typedef struct TMR_TagAuthentication TMR_TagAuthentication |
Authentication data for RFID tag protocols.
enum TMR_AuthType |
TMR_AUTH_TYPE_GEN2_PASSWORD | |
TMR_AUTH_TYPE_GEN2_DENATRAN_IAV_WRITE_CREDENTIALS | |
TMR_AUTH_TYPE_GEN2_DENATRAN_IAV_WRITE_SEC_CREDENTIALS |
Definition at line 41 of file tmr_tag_auth.h.
TMR_Status TMR_TA_init_gen2 | ( | TMR_TagAuthentication * | auth, |
TMR_GEN2_Password | password | ||
) |
Initialize a TMR_TagAuthentication structure as a Gen2 password.
auth | Pointer to the structure to initialize. |
password | The password 32-bit Gen2 password value. |
Definition at line 1085 of file tm_reader.c.
TMR_Status TMR_TA_init_gen2_Denatran_IAV_writeCredentials | ( | TMR_TagAuthentication * | auth, |
uint8_t | idLength, | ||
uint8_t * | tagId, | ||
uint8_t | len, | ||
uint8_t * | data | ||
) |
Initialize a TMR_TagAuthentication structure as Denatran IAV write credential
auth | Pointer to the structure to initialize. |
data | Gen2 Denatran IAV write credential |
Definition at line 1101 of file tm_reader.c.
TMR_Status TMR_TA_init_gen2_Denatran_IAV_writeSecCredentials | ( | TMR_TagAuthentication * | auth, |
uint8_t | length, | ||
uint8_t * | data, | ||
uint8_t | len, | ||
uint8_t * | credentials | ||
) |
Initialize a TMR_TagAuthentication structure as Denatran IAV write credential
auth | Pointer to the structure to initialize. |
data | Gen2 Denatran IAV write credential |
Definition at line 1142 of file tm_reader.c.