Creates a data string from an identification string which can be used as parameter data_ptr of a Ucs_Prg_Command_t variable.
This function creates a valid programming data string out of an identification string. The function handles only identification strings of version ID 0x41.
- Parameters
-
self | The instance. |
is_ptr | Reference to the identification string variable. |
data_ptr | Reference to the result. |
data_size | Size of data_ptr (at least 14). |
used_size_ptr | Reference to used size of data_ptr. Will be 14 if function was successful. |
- Returns
- Possible return values are shown in the table below.
Value | Description |
UCS_RET_SUCCESS | No error |
UCS_RET_ERR_PARAM | Either the parameter self is NULL, is_ptr is NULL, data_ptr is NULL, used_size_ptr is NULL or data_size is < 14. |