Logo
UNICENS V2.3.0-4567
User Manual and API Reference
Ucs_Ns_Script_t Struct Reference

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_tsend_cmd
 Command to be transmitted.
 
UCS_NS_CONST Ucs_Ns_ConfigMsg_texp_result
 Expected result.
 

Detailed Description

Structure of a node-script used to configure a remote node.

Note
Also note that the DataPtr member of the 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.
Attention
The Node Scripting module is designed and intended for the use of I2C and GPIO commands only. That is, using the Scripting for any other FBlock INIC commands (for example Network, MediaLB, USB, Streaming, Connections, etc.) is expressly prohibited.
 See also section Node Scripting for more description and an example implementation.