TIM SDK
TIM API C
hardware_information_response.h File Reference

Description

Contains the result of calling ta_terminal_hardware_information or ta_terminal_hardware_information_async.

Object type hardware_information_response.

Functions

ta_e_result_code_t ta_hardware_information_response_get_hardwares (ta_object_t response, ta_object_t *hardwares)
 List of hardware attached to the EFT Terminal.. More...
 
ta_e_result_code_t ta_hardware_information_response_get_kernel_versions (ta_object_t response, ta_object_t *kernel_versions)
 Kernel versions supported by the EFT Terminal. More...
 
ta_e_result_code_t ta_hardware_information_response_get_settings (ta_object_t response, ta_object_t *settings)
 Settings supported by the EFT Terminal. More...
 
ta_e_result_code_t ta_hardware_information_response_get_statistics (ta_object_t response, ta_object_t *statistics)
 Hardware statistics. More...
 

Function Documentation

◆ ta_hardware_information_response_get_hardwares()

ta_e_result_code_t ta_hardware_information_response_get_hardwares ( ta_object_t  response,
ta_object_t hardwares 
)

List of hardware attached to the EFT Terminal..

Parameters
[in]responseObject instance of type hardware_information_response.
[out]hardwaresPointer to variable to write object instance to. Object instance is of type list and is not retained. The list contains elements of type hardware.
Return values
ta_c_rc_okObject instance written to hardwares.
ta_c_rc_invalid_argumentresponse is ta_invalid_object.
ta_c_rc_invalid_argumentresponse is not of type hardware_information_response.
ta_c_rc_invalid_argumenthardwares is null-pointer.

◆ ta_hardware_information_response_get_kernel_versions()

ta_e_result_code_t ta_hardware_information_response_get_kernel_versions ( ta_object_t  response,
ta_object_t kernel_versions 
)

Kernel versions supported by the EFT Terminal.

Parameters
[in]responseObject instance of type hardware_information_response.
[out]kernel_versionsPointer to variable to write object instance to. Object instance is of type map and is not retained. The map contains keys of type integer and values of type string. The keys match values from ta_e_kernel_type_t. The values are the string version of the kernel.
Return values
ta_c_rc_okObject instance written to kernel_versions.
ta_c_rc_invalid_argumentresponse is ta_invalid_object.
ta_c_rc_invalid_argumentresponse is not of type hardware_information_response.
ta_c_rc_invalid_argumentkernel_versions is null-pointer.

◆ ta_hardware_information_response_get_settings()

ta_e_result_code_t ta_hardware_information_response_get_settings ( ta_object_t  response,
ta_object_t settings 
)

Settings supported by the EFT Terminal.

Parameters
[in]responseObject instance of type hardware_information_response.
[out]settingsPointer to variable to write object instance to. Object instance is of type map and is not retained. The map contains keys of type integer and values of type string. The keys match values from ta_e_setting_type_t.
Return values
ta_c_rc_okObject instance written to settings.
ta_c_rc_invalid_argumentresponse is ta_invalid_object.
ta_c_rc_invalid_argumentresponse is not of type hardware_information_response.
ta_c_rc_invalid_argumentsettings is null-pointer.

◆ ta_hardware_information_response_get_statistics()

ta_e_result_code_t ta_hardware_information_response_get_statistics ( ta_object_t  response,
ta_object_t statistics 
)

Hardware statistics.

Parameters
[in]responseObject instance of type hardware_information_response.
[out]statisticsPointer to variable to write object instance to. Object instance is of type map and is not retained. The map contains keys and values both of type string.
Return values
ta_c_rc_okObject instance written to statistics.
ta_c_rc_invalid_argumentresponse is ta_invalid_object.
ta_c_rc_invalid_argumentresponse is not of type hardware_information_response.
ta_c_rc_invalid_argumentstatistics is null-pointer.