Wireshark-bugs: [Wireshark-bugs] [Bug 10712] Access network identifier option is not decoded for
Date: Wed, 17 Dec 2014 13:29:25 +0000

changed bug 10712


What Removed Added
CC   ganesh991@gmail.com

Comment # 16 on bug 10712 from
Complete fix for this issue is been submitted to following commit
"https://code.wireshark.org/review/#/c/5726/"
In earlier fix latitude/longitude values were not getting decoded correctly.

If you see the hexadecimal representation of latitude in the pcap attached to
Bug#10712 is 0x0b56cc
Binary is: 0 00010110 101011011001100
As mentioned in RFC6757 section 3.1.2: "Latitude Degrees: A 24-bit latitude
degree value encoded as a two's complement, fixed point number with 9 whole
bits."
0 : sign (+) 

00010110 : 2^1+2^2+2^4 = 22 (whole number) 

101011011001100 : (2^-1) + (2^-3) + (2^-5) + (2^-6)+ (2^-8) + (2^-9) + (2^-12)
+ (2^-13) = 0.67810058593

So the correct decoded number should be: +22.67810058593


You are receiving this mail because:
  • You are watching all bug changes.