![]() |
STM8L libraries for CR95HF 1.0
|
Functions | |
u8 | LRIXK_Inventory (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 Tag_AFI, const u8 MaskLength, u8 *Mask, u8 *Inventory_16_slots_Nb_UID_Retrieved) |
This function sends, through the CR95HF, to a contactless tag posssibly of the LRIXK family, an inventory command and fills the Tag structure if some contactless tag answers. | |
u8 | LRIXK_Stay_Quiet (const u8 Request_flags, const u8 *Tag_UID) |
This function sends, through the CR95HF, a stay quiet command to a unique contactless tag possibly belonging to the LRIXK family designated by its UID. | |
u8 | LRIXK_Read_Single_Block (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID, const u8 Block_number) |
This function sends, through the CR95HF, a read single block command to the contactless tag possibly of the LRIXK family in the field or to an unique contactless tag designated by its UID. | |
u8 | LRIXK_Write_Single_Block (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID, const u8 Block_number, const u8 *Data) |
This function sends, through the CR95HF, a write single block command to the contactless tag opssibly from the LRIXK family in the field or to an unique contactless tag designated by its UID. | |
u8 | LRIXK_Lock_Block (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID, const u8 Block_number) |
This function sends, through the CR95HF, a lock block command to the contactless tag in the field or to an unique contactless tag designated by its UID. | |
u8 | LRIXK_Read_Multiple_Block (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID, const u8 First_Block_number, const u8 Number_of_Blocks) |
This function sends, through the CR95HF, a read multiple block command to the contactless tag possibly belonging to the LRIXK family in the field or to an unique contactless tag designated by its UID. Note that data received are stored into the internal EEPROM of the MCU. | |
u8 | LRIXK_Select (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID) |
This function sends, through the CR95HF, a select command to the unique contactless tag designated by its UID possibly belonging to the LRIXK family. | |
u8 | LRIXK_Reset_to_Ready (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID) |
This function sends, through the CR95HF, a reset to ready state command to a contactless tag possibly belong to the LRIXK family. This command could be used in two different case: | |
u8 | LRIXK_Write_AFI (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID, const u8 Tag_AFI) |
This function sends, through the CR95HF, a write AFI command to the contacless tag in the field possibly belonging to the LRIXK family or to an unique contactless tag designated by its UID. | |
u8 | LRIXK_Lock_AFI (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID) |
This function sends, through the CR95HF, a Lock AFI command to the contacless tag in the field possibly from the LRIXK family or to an unique contactless tag designated by its UID. | |
u8 | LRIXK_Write_DSFID (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID, const u8 Tag_DSFID) |
This function sends, through the CR95HF, a write DSFID command to the contacless tag in the field possibly belonging to the LRIXK family or to an unique contactless tag designated by its UID. | |
u8 | LRIXK_Lock_DSFID (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID) |
This function sends, through the CR95HF, a Lock DSFID command to the contacless tag in the field possibly from the LRIXK family or to an unique contactless tag designated by its UID. | |
u8 | LRIXK_Get_System_Info (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID) |
This function sends, through the CR95HF, an get System Information command to the contacless tag ,possibly from the LRIXK family, in the field or to an unique contactless tag designated by its UID. | |
u8 | LRIXK_Get_Multiple_Blocks_Security_Status (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID, const u8 First_Block_number, const u8 Number_of_Blocks) |
This function sends, through the CR95HF, a get multiple blocks security status command to the contactless tag in the field,possibly from the LRIXK family, or to an unique contactless tag designated by its UID. note that data are stored into the eeprom. | |
u8 | LRIXK_Kill (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID, const u8 *Kill_Code) |
This function sends, through the CR95HF, a kill command to the unique contactless tag designated by its UID and belonging to the LRIXK family. On receiving the kill command the contactless tag compares the kill code added to command and if it matches with the kill code previously written into the code. The contactless answers to the command before being deactivated. | |
u8 | LRIXK_Write_Kill (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID, const u8 *Kill_Code) |
This function sends, through the CR95HF, a kill command to a LRIXK contactless tag in the field or designated by its UID . The kill code provided is transmitted to the contactless tag and will be required to deactivate the LRIXK product. Note that a Lock kill command is necessary after this command to protect the kill code. | |
u8 | LRIXK_Lock_Kill (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID) |
This function sends, through the CR95HF, a lock kill command to a LRIXK contactless tag in the field or designated by its UID . The kill code written previously is locked by the LRIXK contactless tag and once done the kill code cannot be changed. | |
u8 | LRIXK_Fast_Read_Single_Block (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID, const u8 Block_number) |
This function sends, through the CR95HF, a read single block command to the LIRXK contactless tag in the field or to an unique contactless tag designated by its UID. the particularity of this command is the datatrate used by the contactless tag to answer which is 53kbits/s. | |
u8 | LRIXK_Fast_Inventory_Initiated (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 Tag_AFI, const u8 MaskLength, const u8 *Mask, u8 *Inventory_16_slots_Nb_UID_Retrieved) |
This function sends, through the CR95HF, a fast inventory command to the LRIXK contactless tags in the field. The datarate of the response is multiplied by 2 (here 52kbits/s). Note that a fast initiate command should be issued before calling this function. | |
u8 | LRIXK_Fast_Initiate (ISO15693_Tag *MyTag, const u8 Request_flags) |
This function sends, through the CR95HF, a fast initiate command to a LRIXK contactless tag in the field or designated by its UID . On receiving the fast initiate command the LRIXK contactless tag set the internal initiate flag ( to send a inventory initited command) and returns its UID and its DSFID, with a datarate multiplied by two (here 52kbits/s). Note that the command should not be in adressed or selected mode, the flag is reset afther a power off. | |
u8 | LRIXK_Fast_Read_Multiple_Block (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 *Tag_UID, const u8 First_Block_number, const u8 Number_of_Blocks) |
This function sends, through the CR95HF, a read multiple block command a fast read multiple blocks command to a LRIXK contactless tag in the field or designated by its UID . Note that data received are stored into the internal EEPROM of the MCU. | |
u8 | LRIXK_Inventory_Initiated (ISO15693_Tag *MyTag, const u8 Request_flags, const u8 Tag_AFI, const u8 MaskLength, const u8 *Mask, u8 *Inventory_16_slots_Nb_UID_Retrieved) |
This function sends, through the CR95HF, an inventory initiated command to the LRIXK contactless tags in the field. On receiving the initiate command the LRIXK contactless tag set the internal initiate flag ( to send a inventory initited command) and returns its UID and its DSFID. Note that a initiate command should be issued before calling this function. | |
u8 | LRIXK_Initiate (ISO15693_Tag *MyTag, const u8 Request_flags) |
This function sends, through the CR95HF, an initiate command to a LRIXK contactless tag in the field or designated by its UID . On receiving the initiate command the LRIXK contactless tag set the internal initiate flag ( to send a inventory initited command) and returns its UID and its DSFID. Note that the command should not be in addressed or selected mode, the flag is reset afther a power off. |
u8 LRIXK_Fast_Initiate | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags | ||
) |
This function sends, through the CR95HF, a fast initiate command to a LRIXK contactless tag in the field or designated by its UID . On receiving the fast initiate command the LRIXK contactless tag set the internal initiate flag ( to send a inventory initited command) and returns its UID and its DSFID, with a datarate multiplied by two (here 52kbits/s). Note that the command should not be in adressed or selected mode, the flag is reset afther a power off.
MyTag | : pointer on the structure to write command status |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. Here neither the addressed or select flag should be set. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Fast_Inventory_Initiated | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 | Tag_AFI, | ||
const u8 | MaskLength, | ||
const u8 * | Mask, | ||
u8 * | Inventory_16_slots_Nb_UID_Retrieved | ||
) |
This function sends, through the CR95HF, a fast inventory command to the LRIXK contactless tags in the field. The datarate of the response is multiplied by 2 (here 52kbits/s). Note that a fast initiate command should be issued before calling this function.
MyTag | : pointer on the structure to write command status |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set.Here inventory flag should be set, if AFI is present, AFI flag should be set. |
Tag_AFI | : the optionnal AFI to select a contactless tag family ( Flag indicates if the field is present or not |
MaskLength | : Length of the mask for transmitting, for example to transmit a part of the UID of one contactless tag. MaskLength represents the number of significant bits . The user should ensure that others bits are reset for padding in order to transmit only whole bytes. |
Mask | : The mask to transmit. (Mask[0] = LSB) |
Inventory_16_slots_Nb_UID_Retrieved | : pointer to retrieve the number of tag seen during the inventory 16 slots. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Fast_Read_Multiple_Block | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID, | ||
const u8 | First_Block_number, | ||
const u8 | Number_of_Blocks | ||
) |
This function sends, through the CR95HF, a read multiple block command a fast read multiple blocks command to a LRIXK contactless tag in the field or designated by its UID . Note that data received are stored into the internal EEPROM of the MCU.
MyTag | : pointer of the structure to write the command status and eventual error code |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block reading (optionnal). |
First_Block_number | : address of the first block to read. |
Number_of_Blocks | : number of block to read after the first one. For instance 0x06 means that 7 seven blocks will be read, 0x00 : only one |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Fast_Read_Single_Block | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID, | ||
const u8 | Block_number | ||
) |
This function sends, through the CR95HF, a read single block command to the LIRXK contactless tag in the field or to an unique contactless tag designated by its UID. the particularity of this command is the datatrate used by the contactless tag to answer which is 53kbits/s.
MyTag | : pointer of the structure to write data read |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block reading (optionnal). |
Block_number | : adress of the block to read. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Get_Multiple_Blocks_Security_Status | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID, | ||
const u8 | First_Block_number, | ||
const u8 | Number_of_Blocks | ||
) |
This function sends, through the CR95HF, a get multiple blocks security status command to the contactless tag in the field,possibly from the LRIXK family, or to an unique contactless tag designated by its UID. note that data are stored into the eeprom.
MyTag | : pointer on the structure to write command status |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block reading (optionnal). |
First_Block_number | : adress of the first block to read. |
Number_of_Blocks | : number of block to read after the first one. For instance 0x06 means that 7 seven blocks will be read, 0x00 : only one |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Get_System_Info | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID | ||
) |
This function sends, through the CR95HF, an get System Information command to the contacless tag ,possibly from the LRIXK family, in the field or to an unique contactless tag designated by its UID.
MyTag | : pointer on the structure |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block writing (optionnal). |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Initiate | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags | ||
) |
This function sends, through the CR95HF, an initiate command to a LRIXK contactless tag in the field or designated by its UID . On receiving the initiate command the LRIXK contactless tag set the internal initiate flag ( to send a inventory initited command) and returns its UID and its DSFID. Note that the command should not be in addressed or selected mode, the flag is reset afther a power off.
MyTag | : pointer on the structure to write command status |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. Here neither the addressed or select flag should be set. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Inventory | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 | Tag_AFI, | ||
const u8 | MaskLength, | ||
u8 * | Mask, | ||
u8 * | Inventory_16_slots_Nb_UID_Retrieved | ||
) |
This function sends, through the CR95HF, to a contactless tag posssibly of the LRIXK family, an inventory command and fills the Tag structure if some contactless tag answers.
MyTag | : pointer on the structure |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set.Here inventory flag should be set, if AFI is present, AFI flag should be set. |
Tag_AFI | : the optionnal AFI to select a contactless tag family ( Flag indicates if the field is present or not |
MaskLength | : Length of the mask for transmitting, for example to transmit a part of the UID of one contactless tag. MaskLength represents the number of significant bits . The user should ensure that others bits are reset for padding in order to transmit only whole bytes. |
Mask | : The mask to transmit. (Mask[0] = LSB) |
Inventory_16_slots_Nb_UID_Retrieved | : pointer to retrieve the number of tag seen during the inventory 16 slots. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the tag did not manage to perform the request. |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : The inventory flag is not set, the mask size overweight the limited size or there is an other eoor into the request flags parameters |
LRIXK_SUCCESS_CODE | : A contactless tag answered the command. |
u8 LRIXK_Inventory_Initiated | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 | Tag_AFI, | ||
const u8 | MaskLength, | ||
const u8 * | Mask, | ||
u8 * | Inventory_16_slots_Nb_UID_Retrieved | ||
) |
This function sends, through the CR95HF, an inventory initiated command to the LRIXK contactless tags in the field. On receiving the initiate command the LRIXK contactless tag set the internal initiate flag ( to send a inventory initited command) and returns its UID and its DSFID. Note that a initiate command should be issued before calling this function.
MyTag | : pointer on the structure to write command status |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set.Here inventory flag should be set, if AFI is present, AFI flag should be set. |
Tag_AFI | : the optionnal AFI to select a contactless tag family ( Flag indicates if the field is present or not |
MaskLength | : Length of the mask for transmitting, for example to transmit a part of the UID of one contactless tag. MaskLength represents the number of significant bits . The user should ensure that others bits are reset for padding in order to transmit only whole bytes. |
Mask | : The mask to transmit. (Mask[0] = LSB) |
Inventory_16_slots_Nb_UID_Retrieved | : pointer to retrieve the number of tag seen during the inventory 16 slots. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Kill | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID, | ||
const u8 * | Kill_Code | ||
) |
This function sends, through the CR95HF, a kill command to the unique contactless tag designated by its UID and belonging to the LRIXK family. On receiving the kill command the contactless tag compares the kill code added to command and if it matches with the kill code previously written into the code. The contactless answers to the command before being deactivated.
MyTag | : pointer on the structure to write command status |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. Here command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag to kill. |
Kill_Code | : kill code to copare with the one insode the contactless tag in order to access and perform the kill command |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command.d. |
u8 LRIXK_Lock_AFI | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID | ||
) |
This function sends, through the CR95HF, a Lock AFI command to the contacless tag in the field possibly from the LRIXK family or to an unique contactless tag designated by its UID.
MyTag | : pointer on the structure to write status of the command especially for error code |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block writing (optionnal). |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Lock_Block | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID, | ||
const u8 | Block_number | ||
) |
This function sends, through the CR95HF, a lock block command to the contactless tag in the field or to an unique contactless tag designated by its UID.
MyTag | : pointer on the structure to write status of the command especially for error code |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag where the data should be written (optionnal). |
Block_number | : address of the block where the data are written. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Lock_DSFID | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID | ||
) |
This function sends, through the CR95HF, a Lock DSFID command to the contacless tag in the field possibly from the LRIXK family or to an unique contactless tag designated by its UID.
MyTag | : pointer on the structure to write status of the command especially for error code |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block writing (optionnal). |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Lock_Kill | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID | ||
) |
This function sends, through the CR95HF, a lock kill command to a LRIXK contactless tag in the field or designated by its UID . The kill code written previously is locked by the LRIXK contactless tag and once done the kill code cannot be changed.
MyTag | : pointer on the structure to write command status |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag to lock the kill code if adressed flag is set within the request flags. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Read_Multiple_Block | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID, | ||
const u8 | First_Block_number, | ||
const u8 | Number_of_Blocks | ||
) |
This function sends, through the CR95HF, a read multiple block command to the contactless tag possibly belonging to the LRIXK family in the field or to an unique contactless tag designated by its UID. Note that data received are stored into the internal EEPROM of the MCU.
MyTag | : pointer of the structure to write the command status and eventual error code |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block reading (optionnal). |
First_Block_number | : address of the first block to read. |
Number_of_Blocks | : number of block to read after the first one. For instance 0x06 means that 7 seven blocks will be read, 0x00 : only one |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct ) |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Read_Single_Block | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID, | ||
const u8 | Block_number | ||
) |
This function sends, through the CR95HF, a read single block command to the contactless tag possibly of the LRIXK family in the field or to an unique contactless tag designated by its UID.
MyTag | : pointer of the structure to write data read |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block reading (optionnal). |
Block_number | : address of the block to read. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct ) |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Reset_to_Ready | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID | ||
) |
This function sends, through the CR95HF, a reset to ready state command to a contactless tag possibly belong to the LRIXK family. This command could be used in two different case:
MyTag | : pointer on the structure to write status of the command especially for error code |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block writing (optionnal). |
LRIXK_ERROR_CODE | :the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Select | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID | ||
) |
This function sends, through the CR95HF, a select command to the unique contactless tag designated by its UID possibly belonging to the LRIXK family.
MyTag | : pointer on the structure to write status of the command especially for error code |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. Here command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block writing (optionnal). |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Stay_Quiet | ( | const u8 | Request_flags, |
const u8 * | Tag_UID | ||
) |
This function sends, through the CR95HF, a stay quiet command to a unique contactless tag possibly belonging to the LRIXK family designated by its UID.
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. Here command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag to put in quiet mode. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the tag did not manage to perform the request. |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : The inventory flag is set or request is not well addressesed |
LRIXK_SUCCESS_CODE | : contactless tag is supposed to be in quiet mode. |
u8 LRIXK_Write_AFI | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID, | ||
const u8 | Tag_AFI | ||
) |
This function sends, through the CR95HF, a write AFI command to the contacless tag in the field possibly belonging to the LRIXK family or to an unique contactless tag designated by its UID.
MyTag | : pointer on the structure to write status of the command especially for error code |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block writing (optionnal). |
Tag_AFI | : AFI of the contacless tag, refer to datasheet for further information. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
ILRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Write_DSFID | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID, | ||
const u8 | Tag_DSFID | ||
) |
This function sends, through the CR95HF, a write DSFID command to the contacless tag in the field possibly belonging to the LRIXK family or to an unique contactless tag designated by its UID.
MyTag | : pointer on the structure to write status of the command especially for error code |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block writing (optionnal). |
Tag_DSFID | : DSFID of the contacless tag, refer to datasheet for further information. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Write_Kill | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID, | ||
const u8 * | Kill_Code | ||
) |
This function sends, through the CR95HF, a kill command to a LRIXK contactless tag in the field or designated by its UID . The kill code provided is transmitted to the contactless tag and will be required to deactivate the LRIXK product. Note that a Lock kill command is necessary after this command to protect the kill code.
MyTag | : pointer on the structure to write command status |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag to write the kill code if adressed flag is set within the request flags. |
Kill_Code | : kill code to copare with the one insode the contactless tag in order to access and perform the kill command |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct). |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |
u8 LRIXK_Write_Single_Block | ( | ISO15693_Tag * | MyTag, |
const u8 | Request_flags, | ||
const u8 * | Tag_UID, | ||
const u8 | Block_number, | ||
const u8 * | Data | ||
) |
This function sends, through the CR95HF, a write single block command to the contactless tag opssibly from the LRIXK family in the field or to an unique contactless tag designated by its UID.
MyTag | : pointer on the structure to write status of the command especially for error code |
Request_flags | : specifies how the contactless shall perform the command and answer. Also indicates whether corresponding fields are present or not. If command is addressed UID should be present and address flag set. |
Tag_UID | : pointer on the UID of the contactless tag for block writing (optionnal). |
Block_number | : address of the block to write. |
Data | : data to write. |
LRIXK_ERROR_CODE | : the command failed. Either there is no contactless tag or the answer is not valid (CR95HF returns an error or CRC residue is not correct) |
LRIXK_ERROR_PARAMETERS_REQUEST_FLAGS | : there is an error within the request flags parameters |
LRIXK_SUCCESS_CODE | : contactless tag answered the command. |