Structure of a node-script used to configure a remote node. More...
Data Fields | |
uint16_t | pause |
Specifies the pause which shall be set before sending the configuration message. | |
UCS_NS_CONST Ucs_Ns_ConfigMsg_t * | send_cmd |
Command to be transmitted. | |
UCS_NS_CONST Ucs_Ns_ConfigMsg_t * | exp_result |
Expected result. | |
Structure of a node-script used to configure a remote node.
exp_result
structure in Ucs_Ns_Script_t does not have to contain the full expected information. Since the validation of the data is only done for the expected length, User can either disable the data check on incoming messages by setting the expected length data_size element of Ucs_Ns_ConfigMsg_t to 0x00 or can just specify the maximum amount of data to be checked (Refer to the example below). However to set the expected length to long will effect that the message will be interpreted as incorrect. See also section Node Scripting for more description and an example implementation. |