From 6815dd3570d4718cb4e1767f343084795d7191b0 Mon Sep 17 00:00:00 2001 From: kpl Date: Sun, 15 Jun 2014 22:18:26 -0700 Subject: [PATCH] cmRtSysMsg.h : Added srcEndPtId and srcNodeIdx fields to cmRtNetMsg_t. Changed cmRtNetMsg_t.endptId to dstEndPtId. --- cmRtSysMsg.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cmRtSysMsg.h b/cmRtSysMsg.h index 2bc8cee..9492905 100644 --- a/cmRtSysMsg.h +++ b/cmRtSysMsg.h @@ -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