TIM SDK
TIM API C
|
|
Command response.
Object type command_response.
Functions | |
ta_e_result_code_t | ta_command_response_get_order (ta_object_t response, int *order) |
Specifies the order of a CommandResponse in the CommandResponseList. More... | |
ta_e_result_code_t | ta_command_response_get_response_type (ta_object_t response, ta_e_response_type_t *response_type) |
Defines the outcome type of the command response. More... | |
ta_e_result_code_t | ta_command_response_get_card_response (ta_object_t response, ta_object_t *card_response) |
Response received from card. More... | |
ta_e_result_code_t | ta_command_response_get_uid (ta_object_t response, ta_object_t *uid) |
UID of the card. More... | |
ta_e_result_code_t | ta_command_response_get_atr (ta_object_t response, ta_object_t *atr) |
Answer to reset information received from the card. More... | |
ta_e_result_code_t ta_command_response_get_atr | ( | ta_object_t | response, |
ta_object_t * | atr | ||
) |
Answer to reset information received from the card.
[in] | response | Object instance of type command_response. |
[out] | atr | Pointer to variable to write object instance to. Object instance is of type string and is not retained. Object instance is ta_object_invalid if value is not set in response. |
ta_c_rc_ok | Object instance written to atr. |
ta_c_rc_invalid_argument | response is ta_object_invalid. |
ta_c_rc_invalid_argument | response is not of type command_response. |
ta_c_rc_invalid_argument | atr is null-pointer. |
ta_e_result_code_t ta_command_response_get_card_response | ( | ta_object_t | response, |
ta_object_t * | card_response | ||
) |
Response received from card.
[in] | response | Object instance of type command_response. |
[out] | card_response | Pointer to variable to write object instance to. Object instance is of type string and is not retained. Object instance is ta_object_invalid if value is not set in response. |
ta_c_rc_ok | Object instance written to card_response. |
ta_c_rc_invalid_argument | response is ta_object_invalid. |
ta_c_rc_invalid_argument | response is not of type command_response. |
ta_c_rc_invalid_argument | card_response is null-pointer. |
ta_e_result_code_t ta_command_response_get_order | ( | ta_object_t | response, |
int * | order | ||
) |
Specifies the order of a CommandResponse in the CommandResponseList.
[in] | response | Object instance of type command_response. |
[out] | order | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to order. |
ta_c_rc_invalid_argument | response is ta_object_invalid. |
ta_c_rc_invalid_argument | response is not of type command_response. |
ta_c_rc_invalid_argument | order is null-pointer. |
ta_e_result_code_t ta_command_response_get_response_type | ( | ta_object_t | response, |
ta_e_response_type_t * | response_type | ||
) |
Defines the outcome type of the command response.
[in] | response | Object instance of type command_response. |
[out] | response_type | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to response_type. |
ta_c_rc_invalid_argument | response is ta_object_invalid. |
ta_c_rc_invalid_argument | response is not of type command_response. |
ta_c_rc_invalid_argument | response_type is null-pointer. |
ta_e_result_code_t ta_command_response_get_uid | ( | ta_object_t | response, |
ta_object_t * | uid | ||
) |
UID of the card.
[in] | response | Object instance of type command_response. |
[out] | uid | Pointer to variable to write object instance to. Object instance is of type string and is not retained. Object instance is ta_object_invalid if value is not set in response. |
ta_c_rc_ok | Object instance written to uid. |
ta_c_rc_invalid_argument | response is ta_object_invalid. |
ta_c_rc_invalid_argument | response is not of type command_response. |
ta_c_rc_invalid_argument | uid is null-pointer. |