This function checks if the data are sound (CRC ok) and filled in basic data common for all response : copy the whole data, write response_flag and data_length into the structure.
- Parameters:
-
MyTag | : pointer on the structure to complete |
Response | : the response containing the data |
Cursor_in_response_data | : actual position of the cursor into data and to increment |
- Return values:
-
ISO15693_SUCCESS_CODE | : Control byte is ok and data are sound |
ISO15693_ERROR_CODE | : either CRC / collision flag is set or CRC residue computed by the application does not match |