瀏覽代碼

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

Changed cmRtNetMsg_t.endptId to dstEndPtId.
master
kpl 10 年之前
父節點
當前提交
6815dd3570
共有 1 個檔案被更改,包括 6 行新增2 行删除
  1. 6
    2
      cmRtSysMsg.h

+ 6
- 2
cmRtSysMsg.h 查看文件

@@ -97,11 +97,15 @@ extern "C" {
97 97
 
98 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 105
     // char msg[ msgByteCnt ]
103 106
   } cmRtNetMsg_t;
104 107
 
108
+
105 109
 #ifdef __cplusplus
106 110
 }
107 111
 #endif

Loading…
取消
儲存