cmRtSysMsg.h : Added srcEndPtId and srcNodeIdx fields to cmRtNetMsg_t.

Changed cmRtNetMsg_t.endptId to dstEndPtId.
This commit is contained in:
kpl 2014-06-15 22:18:26 -07:00
parent 4ab2902363
commit 6815dd3570

View File

@ -97,11 +97,15 @@ extern "C" {
typedef struct
{
cmRtSysMsgHdr_t hdr;
unsigned endptId;
cmRtSysMsgHdr_t hdr; // hdr.rtSubIdx = dest rtSubIdx
// hdr.selId = msg contents
unsigned dstEndPtId; // = dest endpoint
unsigned srcEndPtId; // = src endpoint id
unsigned srcNodeIdx; // = src node index (filled in by receiving cmRtNet mgr)
// char msg[ msgByteCnt ]
} cmRtNetMsg_t;
#ifdef __cplusplus
}
#endif