Starts the programming sequence for a remote node.
- Attention
- This function can only be executed in supervisor mode UCS_SUPV_MODE_PROGRAMMING.
- Parameters
-
self | The UNICENS instance pointer. |
node_pos_addr | The node position address of the target node. The application must take care that the signature of all nodes are unique and that node_pos_addr is the same as specified withing the provided signature. |
signature_ptr | Reference to the signature of the node to be programmed. |
commands_ptr | Reference to the programming commands. |
result_fptr | User defined callback function notifying the programming result. |
- Returns
- Possible return values are shown in the table below.
Value | Description |
UCS_RET_SUCCESS | No error |
UCS_RET_ERR_PARAM | The parameter self is NULL. |
UCS_RET_ERR_ALREADY_SET | The new operation mode is already set. |
UCS_RET_ERR_NOT_SUPPORTED | API is not supported in the current Network Supervisor Mode. |
UCS_RET_ERR_NOT_INITIALIZED | UNICENS is not initialized. |