diff options
author | 2018-06-08 12:27:37 +0000 | |
---|---|---|
committer | 2018-06-08 12:27:37 +0000 | |
commit | 3066cc55c95c7ffaa76ceb1599b61f6f42da626e (patch) | |
tree | 7d755718709035a84d9c9a0c46a272db0e84fbc8 /ucs2-interface/ucs_config.h | |
parent | 8db2dc7986e6c61ffb70bbf2e99ab76a65c5735d (diff) | |
parent | 8cc415c1706f340e2997270f8a040474681e451e (diff) |
Merge "agl-service-unicens: robustess measure for tx msg" into eel
Diffstat (limited to 'ucs2-interface/ucs_config.h')
-rw-r--r-- | ucs2-interface/ucs_config.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/ucs2-interface/ucs_config.h b/ucs2-interface/ucs_config.h index 1f1ecdd..b23d169 100644 --- a/ucs2-interface/ucs_config.h +++ b/ucs2-interface/ucs_config.h @@ -84,7 +84,8 @@ typedef enum UnicensCmd_NsRun, UnicensCmd_GpioCreatePort, UnicensCmd_GpioWritePort, - UnicensCmd_I2CWrite + UnicensCmd_I2CWrite, + UnicensCmd_SendAmsMessage } UnicensCmd_t; /** @@ -150,7 +151,18 @@ typedef struct } UnicensCmdI2CWrite_t; /** - * \brief Internal struct for Unicens Integration + * \brief Internal struct for UNICENS Integration + */ +typedef struct +{ + uint16_t msgId; + uint16_t targetAddress; + uint8_t pPayload[UCS_AMS_SIZE_TX_MSG]; + uint32_t payloadLen; +} UnicensCmdSendAmsMessage_t; + +/** + * \brief Internal struct for UNICENS Integration */ typedef struct { @@ -163,6 +175,7 @@ typedef struct UnicensCmdGpioCreatePort_t GpioCreatePort; UnicensCmdGpioWritePort_t GpioWritePort; UnicensCmdI2CWrite_t I2CWrite; + UnicensCmdSendAmsMessage_t SendAms; } val; } UnicensCmdEntry_t; |