This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Feature request:

When displaying the data of a GOOSE packet, could you please display the value of the floating number to the right of the hex value? I have to admit I am a little slow to convert in my head so I can see that 0840600000 is f3.5 :=)

Thanks

asked 13 Feb '13, 09:05

ecs1749's gravatar image

ecs1749
217811
accept rate: 0%

edited 13 Feb '13, 10:07

helloworld's gravatar image

helloworld
3.1k42041


To request a new feature, go to the Wireshark bugzilla and enter an enhancement request.

permanent link

answered 13 Feb '13, 09:12

Jim%20Aragon's gravatar image

Jim Aragon
7.2k733118
accept rate: 24%

I guess it's this defenition in the Goose asn1 specification. FloatingPoint ::= OCTET STRING as it's defined as OCTET STRING it will be displayed in hex. One could pssibly redifine the field in the .cnf file to FT_FLOAT but as there is no size constraint the OCTET STRING can be of arbitarry length.

(13 Feb '13, 11:37) Anders ♦

Which .cnf file? I am pretty new to GOOSE & Wireshark in general. What I am seeing when I look at the goosePdu -> allData, it displays something like Data: floating-point (7) and then "floating-point: 0840900000". Now, it's obvious to me Wireshark knows it's a float and that the value is 4090 0000. Why can it just say: "floating-point: 0840900000 (+4.500000e+00)"?

(15 Feb '13, 09:47) ecs1749

The GOOSE dissector in Wireshark is auto-generated from an asn1 definition of the protocol. As @Anders says, in that definition it defines FloatingPoint types as an unlimited length string of bytes.

The .cnf file allows "overrides" of the definition but as it appears to be of unlimited length it might not be correct to just do that.

Someone with access to the (not free) protocol spec (IEC61850-x-x) should check the latest definition of the type.

Note there there also seems to be issues on this type: http://tissues.iec61850.com/tissue.mspx?issueid=817

(16 Feb '13, 00:09) grahamb ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×63
×4
×1

question asked: 13 Feb '13, 09:05

question was seen: 3,462 times

last updated: 16 Feb '13, 00:09

p​o​w​e​r​e​d by O​S​Q​A