Revision history [back]
Wireshark dissector for protocol buffer
I am currently using Wireshark to view the traffic of a message with multiple fields (double & enum) that were defined with protocol buffer. To be able to view the value of the different fields of the message I have used the open source dissector that I found on this page: https://github.com/128technology/protobuf_dissector
The problem is that the value of the fields (after being decoded by the above dissector) is in Hexadecimal form. I am interested in being able to view it in decimal form.
The message code is very simple since it is just a trial. Here is the code if it is of any help!
syntax = "proto2";
// Message AData
message AData
{
required double x = 1;
required double y = ;
required double z = 3;
required eAType AType = 4;
required double a = 5;
required double b = 6;
required double c = 7;
required double d = 8;
required double e = 9;
required double f = 10;
}
syntax = "proto2";
enum eAType
{
PA = 0;
BA = 1;
AG = 2;
WG = 3;
}
Wireshark dissector for protocol buffer
I am currently using Wireshark to view the traffic of a message with multiple fields (double & enum) that were defined with protocol buffer. To be able to view the value of the different fields of the message I have used the open source dissector that I found on this page: https://github.com/128technology/protobuf_dissector
The problem is that the value of the fields (after being decoded by the above dissector) is in Hexadecimal form. I am interested in being able to view it in decimal form.
The message code is very simple since it is just a trial. Here is the code if it is of any help!