STM8L libraries for CR95HF 1.0
Functions
ISO15693_Analysis_and_Fill_in_Tag_Structure_Functions
ISO15693_Built_in_Commands_Functions

Functions

u8 ISO156693_Fill_in_TagStructure_Inventory_cmd (ISO15693_Tag *MyTag, CR95HF_ResponseReceiving *Response, const u8 CR95HF_command_status)
 The purpose of this function is to split the response to an inventory command into different identifiable fields gathered within the structure.
u8 ISO156693_Fill_in_TagStructure_Read_Single_Block_cmd (ISO15693_Tag *MyTag, CR95HF_ResponseReceiving *Response, const u8 CR95HF_command_status, const u8 Request_flags)
 the purpose of this function is to split the response to a read single block command into different identifiable fields gathered within the structure
u8 ISO156693_Fill_in_TagStructure_Read_Multiple_Blocks_cmd (ISO15693_Tag *MyTag, CR95HF_ResponseReceiving *Response, const u8 CR95HF_command_status, const u8 Number_of_Blocks)
 The purpose of this function is to split the response to a read mutliple blocks into different identifiable fields gathered within the structure.
u8 ISO156693_Fill_in_TagStructure_Get_Multiple_Block_Status_cmd (ISO15693_Tag *MyTag, CR95HF_ResponseReceiving *Response, const u8 CR95HF_command_status, const u8 Number_of_Blocks)
 The purpose of this function is to split the response to a get multiple block security status command into different identifiable fields gathered within the structure.
void ISO15693_Fill_in_Tag_Structure_ErrorFlag_set (ISO15693_Tag *MyTag, CR95HF_ResponseReceiving *Response)
 The purpose of the function is to fill the contactless Tag structure when the errorFlag is set in the contactless tag response.
u8 ISO15693_Read_Answer_Format_Response_Flags (ISO15693_Tag *MyTag, CR95HF_ResponseReceiving *Response, const u8 Status_cr95hf)
 The purpose of the function is to read the response of the contactless tag when the response expected is only response flags, if error flag is set the function calls the ISO15693_Fill_in_Tag_Structure_ErrorFlag_set function.

Function Documentation

u8 ISO156693_Fill_in_TagStructure_Get_Multiple_Block_Status_cmd ( ISO15693_Tag MyTag,
CR95HF_ResponseReceiving Response,
const u8  CR95HF_command_status,
const u8  Number_of_Blocks 
)

The purpose of this function is to split the response to a get multiple block security status command into different identifiable fields gathered within the structure.

Parameters:
MyTag: pointer on the structure
Response: pointer on the response provided by the CR95HF
CR95HF_command_status: status of the command concerning CR95HF
Number_of_Blocks: number of blocks read after the first one
Return values:
ISO15693_SUCCESS_CODE: the structure was successfully filled in
ISO15693_ERROR_CODE: the structure was unsuccessfully filled in
u8 ISO156693_Fill_in_TagStructure_Inventory_cmd ( ISO15693_Tag MyTag,
CR95HF_ResponseReceiving Response,
const u8  CR95HF_command_status 
)

The purpose of this function is to split the response to an inventory command into different identifiable fields gathered within the structure.

Parameters:
MyTag: pointer on the structure
Response: pointer on the response provided by the CR95HF
CR95HF_command_status: status of the command concerning CR95HF
Return values:
ISO15693_SUCCESS_CODE: the structure was successfully filled in
ISO15693_ERROR_CODE: the structure was unsuccessfully filled in
u8 ISO156693_Fill_in_TagStructure_Read_Multiple_Blocks_cmd ( ISO15693_Tag MyTag,
CR95HF_ResponseReceiving Response,
const u8  CR95HF_command_status,
const u8  Number_of_Blocks 
)

The purpose of this function is to split the response to a read mutliple blocks into different identifiable fields gathered within the structure.

Parameters:
MyTag: pointer on the structure
Response: pointer on the response provided by the CR95HF
CR95HF_command_status: status of the command concerning CR95HF
Number_of_Blocks: number of blocks read after the first one
Return values:
ISO15693_SUCCESS_CODE: the structure was successfully filled in
ISO15693_ERROR_CODE: the structure was unsuccessfully filled in
u8 ISO156693_Fill_in_TagStructure_Read_Single_Block_cmd ( ISO15693_Tag MyTag,
CR95HF_ResponseReceiving Response,
const u8  CR95HF_command_status,
const u8  Request_flags 
)

the purpose of this function is to split the response to a read single block command into different identifiable fields gathered within the structure

Parameters:
MyTag: pointer on the structure
Response: pointer on the response provided by the CR95HF
CR95HF_command_status: status of the command concerning CR95HF
Request_flags: to determine if block status is present
Return values:
ISO15693_SUCCESS_CODE: the structure was successfully filled in
ISO15693_ERROR_CODE: the structure was unsuccessfully filled in
void ISO15693_Fill_in_Tag_Structure_ErrorFlag_set ( ISO15693_Tag MyTag,
CR95HF_ResponseReceiving Response 
)

The purpose of the function is to fill the contactless Tag structure when the errorFlag is set in the contactless tag response.

Parameters:
MyTag: pointer on the struture to fill in
Response: the contactless tag's response receieved
Return values:
void: no return value, error code is written in MyTag
u8 ISO15693_Read_Answer_Format_Response_Flags ( ISO15693_Tag MyTag,
CR95HF_ResponseReceiving Response,
const u8  Status_cr95hf 
)

The purpose of the function is to read the response of the contactless tag when the response expected is only response flags, if error flag is set the function calls the ISO15693_Fill_in_Tag_Structure_ErrorFlag_set function.

Parameters:
MyTag: pointer on the struture to fill in
Response: the contactless tag's response receieved
Status_cr95hf: status of the command from the CR95HF point of view
Return values:
ISO15693_ERROR_CODE: the command failed. Either there is no contactless tag or the contactless tag did not manage to perform the request.
ISO15693_SUCCESS_CODE: contactless tag answered the command.
 All Data Structures Files Functions Variables Defines