Browse Source

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

Changed cmRtNetMsg_t.endptId to dstEndPtId.
master
kpl 10 years ago
parent
commit
6815dd3570
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      cmRtSysMsg.h

+ 6
- 2
cmRtSysMsg.h View File

97
 
97
 
98
   typedef struct
98
   typedef struct
99
   {
99
   {
100
-    cmRtSysMsgHdr_t hdr;
101
-    unsigned        endptId;
100
+    cmRtSysMsgHdr_t    hdr;         // hdr.rtSubIdx = dest rtSubIdx
101
+                                    // hdr.selId    = msg contents
102
+    unsigned           dstEndPtId;  //              = dest endpoint
103
+    unsigned           srcEndPtId;  //              = src endpoint id
104
+    unsigned           srcNodeIdx;  //              = src node index (filled in by receiving cmRtNet mgr)
102
     // char msg[ msgByteCnt ]
105
     // char msg[ msgByteCnt ]
103
   } cmRtNetMsg_t;
106
   } cmRtNetMsg_t;
104
 
107
 
108
+
105
 #ifdef __cplusplus
109
 #ifdef __cplusplus
106
 }
110
 }
107
 #endif
111
 #endif

Loading…
Cancel
Save