Rev 967 | Rev 989 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 967 | Rev 988 | ||
|---|---|---|---|
| Line 33... | Line 33... | ||
| 33 | 33 | ||
| 34 | StdCan_Set_class(txMsg.Header, CAN_CLASS_MODULE_DEF); ///TODO: Change this to the actual class type |
34 | StdCan_Set_class(txMsg.Header, CAN_CLASS_MODULE_DEF); ///TODO: Change this to the actual class type |
| 35 | StdCan_Set_direction(txMsg.Header, DIR_FROM_OWNER); |
35 | StdCan_Set_direction(txMsg.Header, DIR_FROM_OWNER); |
| 36 | txMsg.Header.ModuleType = CAN_TYPE_MODULE_def_default; ///TODO: Change this to the actual module type |
36 | txMsg.Header.ModuleType = CAN_TYPE_MODULE_def_default; ///TODO: Change this to the actual module type |
| 37 | txMsg.Header.ModuleId = <template>_ID; |
37 | txMsg.Header.ModuleId = <template>_ID; |
| 38 | txMsg.Header.Command = |
38 | txMsg.Header.Command = CAN_MODULE_CMD_GLOBAL_LIST; |
| 39 | txMsg.Length = 6; |
39 | txMsg.Length = 6; |
| 40 | 40 | ||
| 41 | txMsg.Data[0] = NODE_HW_ID_BYTE0; |
41 | txMsg.Data[0] = NODE_HW_ID_BYTE0; |
| 42 | txMsg.Data[1] = NODE_HW_ID_BYTE1; |
42 | txMsg.Data[1] = NODE_HW_ID_BYTE1; |
| 43 | txMsg.Data[2] = NODE_HW_ID_BYTE2; |
43 | txMsg.Data[2] = NODE_HW_ID_BYTE2; |