TIM SDK
TIM API C
card_track_data.h File Reference

Description

Card track data.

Object type card_track_data.

Functions

ta_e_result_code_t ta_card_track_data_get_track_number (ta_object_t track_data, int *track_number)
 Track number. More...
 
ta_e_result_code_t ta_card_track_data_get_data (ta_object_t track_data, ta_object_t *data)
 Track data. More...
 

Function Documentation

◆ ta_card_track_data_get_data()

ta_e_result_code_t ta_card_track_data_get_data ( ta_object_t  track_data,
ta_object_t data 
)

Track data.

Parameters
[in]track_dataObject instance of type card_track_data.
[out]dataPointer to variable to write object instance to. Object instance is of type string and is not retained.
Return values
ta_c_rc_okObject instance written to data.
ta_c_rc_invalid_argumenttrack_data is ta_object_invalid.
ta_c_rc_invalid_argumenttrack_data is not of type card_track_data.
ta_c_rc_invalid_argumentdata is null-pointer.

◆ ta_card_track_data_get_track_number()

ta_e_result_code_t ta_card_track_data_get_track_number ( ta_object_t  track_data,
int *  track_number 
)

Track number.

Track number is 1, 2 or 3.

Parameters
[in]track_dataObject instance of type card_track_data.
[out]track_numberPointer to variable to write value to.
Return values
ta_c_rc_okObject instance written to track_number.
ta_c_rc_invalid_argumenttrack_data is ta_object_invalid.
ta_c_rc_invalid_argumenttrack_data is not of type card_track_data.
ta_c_rc_invalid_argumenttrack_number is null-pointer.