Get information about an UpdateTarget
#include <swu/UpdateTarget.h> swu_result_t swu_target_get_info( swu_target_t target, swu_target_sw_information_t *info )
Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.
Get information about the UpdateTarget referred to by target. This function copies the target's information into the structure whose address is given in info. The information includes the ID values of the target, the version of the software installed on it, and more.
When swu_target_get_info() is called, the library calls the function referenced in the get_info field of the swu_target_interface_t structure associated with the UpdateTarget and then passes this function's return value back to the caller.
One of the following swu_result_t values: