index 416ce3f29431624e1f51a1271fb527a8c43842c5..f2d113dc6e7b8e4847a7834bb7a7e40b209caa80 100644 (file)
/*
-Copyright (c) 2016, Texas Instruments Incorporated - http://www.ti.com/
+Copyright (c) 2017, Texas Instruments Incorporated - http://www.ti.com/
All rights reserved.
* Redistribution and use in source and binary forms, with or without
#define AspMsg_MasterMsgQueName ( "MASTER:MsgQ:01" )
#define AspMsg_SlaveMsgQueName ( "%s:MsgQ:01" ) /* %s is each slave's Proc Name */
+#define ASP_MSG_BUF_LEN 32 // message buffer len, do we really need 32 bytes?
+
// ASP (Master-To-)Slave Commands
typedef enum ASP_Slave_Cmd {
ASP_SLAVE_NULL, // 0
UInt16 procId; // processor Id of sender
Uint16 expectResp; // whether response expected from receiver + align buf to 32-bit boundary
UInt32 messageId; // MB bit: response bit, LS 31 bits: message Id
- Char buf[32]; // buffer for message parameters
+ Char buf[ASP_MSG_BUF_LEN]; // buffer for message parameters
} ASP_Msg;
+
#endif /* _ASP_MSG_COMMON_H_ */