Get the ID of an UpdateTarget
#include <swu/UpdateTarget.h> swu_result_t swu_target_get_id( swu_target_t target, swu_target_id_t *id )
Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.
Get the ID assigned to the UpdateTarget specified in target. The ID is assigned to the UpdateTarget when it calls swu_target_register(). Each UpdateTarget is given a different ID by the library, but this ID isn't unique across power cycles.
One of the following swu_result_t values: