Commit 86a72c4d authored by Claes Sjofors's avatar Claes Sjofors

Wireshark, some message types added

parent e1f451da
...@@ -1594,6 +1594,9 @@ dissect_qcom(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) ...@@ -1594,6 +1594,9 @@ dissect_qcom(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
case mh_eMsg_HandlerSync: case mh_eMsg_HandlerSync:
strcpy( info, "HandlerSync"); strcpy( info, "HandlerSync");
break; break;
case mh_eMsg_HandlerAlarmStatus:
strcpy( info, "HandlerAlarmStatus");
break;
case mh_eMsg_OutunitAck: case mh_eMsg_OutunitAck:
strcpy( info, "OutunitAck"); strcpy( info, "OutunitAck");
break; break;
...@@ -1612,6 +1615,12 @@ dissect_qcom(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) ...@@ -1612,6 +1615,12 @@ dissect_qcom(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
case mh_eMsg_OutunitSync: case mh_eMsg_OutunitSync:
strcpy( info, "OutunitSync"); strcpy( info, "OutunitSync");
break; break;
case mh_eMsg_OutunitClear:
strcpy( info, "OutunitClear");
break;
case mh_eMsg_OutunitAlarmReq:
strcpy( info, "OutunitAlarmReq");
break;
case mh_eMsg_ProcDown: case mh_eMsg_ProcDown:
strcpy( info, "ProcDown"); strcpy( info, "ProcDown");
break; break;
......
...@@ -10,6 +10,14 @@ typedef enum { ...@@ -10,6 +10,14 @@ typedef enum {
eEvent_ eEvent_
} eEvent; } eEvent;
#define pwr_Bit(b) (1<<b)
#define mSeg__ 0
#define mSeg_first pwr_Bit(3)
#define mSeg_middle pwr_Bit(4)
#define mSeg_last pwr_Bit(5)
#define mSeg_single (mSeg_first|mSeg_middle|mSeg_last)
#define mSeg_sequence (mSeg_first|mSeg_middle|mSeg_last)
#define mSeg_bcast pwr_Bit(8)
/* From rt_qcom.h */ /* From rt_qcom.h */
...@@ -95,6 +103,11 @@ enum net_eMsg { ...@@ -95,6 +103,11 @@ enum net_eMsg {
net_eMsg_fileList, net_eMsg_fileList,
net_eMsg_fileListR, net_eMsg_fileListR,
net_eMsg_getCircBuffer,
net_eMsg_getCircBufferR,
net_eMsg_updateCircBuffer,
net_eMsg_updateCircBufferR,
net_eMsg_, /* Not a valid message */ net_eMsg_, /* Not a valid message */
net_eMsg_volumes7, /* Version 7. Internal only */ net_eMsg_volumes7, /* Version 7. Internal only */
...@@ -119,6 +132,7 @@ enum mh_eMsg { ...@@ -119,6 +132,7 @@ enum mh_eMsg {
mh_eMsg_HandlerDisconnect = 10, mh_eMsg_HandlerDisconnect = 10,
mh_eMsg_HandlerHello = 11, mh_eMsg_HandlerHello = 11,
mh_eMsg_HandlerSync = 12, mh_eMsg_HandlerSync = 12,
mh_eMsg_HandlerAlarmStatus = 13,
mh_eMsg_OutunitAck = 15, mh_eMsg_OutunitAck = 15,
mh_eMsg_OutunitBlock = 16, mh_eMsg_OutunitBlock = 16,
...@@ -126,6 +140,8 @@ enum mh_eMsg { ...@@ -126,6 +140,8 @@ enum mh_eMsg {
mh_eMsg_OutunitHello = 19, mh_eMsg_OutunitHello = 19,
mh_eMsg_OutunitInfo = 20, mh_eMsg_OutunitInfo = 20,
mh_eMsg_OutunitSync = 21, mh_eMsg_OutunitSync = 21,
mh_eMsg_OutunitClear = 22,
mh_eMsg_OutunitAlarmReq = 23,
mh_eMsg_ProcDown = 24, mh_eMsg_ProcDown = 24,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment