From: Pascal Quantin. Friday, June 28, 2024 17:21 > Actually what I wrote is the encoding I'm used to, and that > does not match either the rules you defined. > Did you mean: > [0] MCC digit 2, MCC digit 1 > [1] MNC digit 3, MCC digit 3 > [2] MNC digit 2, MNC digit 1 > Instead of: > [0] MCC digit 2, MCC digit 1 > [1] MNC digit 1, MCC digit 3 > [2] MNC digit 3, MNC digit 2 > ? > I guess this is the case given the textual description you gave. > I would prefer the former (the one following the encoding I gave > as an example). >
Ok, I think numbering the digits from 1-3 was confusing because it made unclear which one is the most significant one. Digit 1 is the most significant one, the first one when reading the decimal number from left to right. [0] MCC digit 2, MCC digit 1 [1] MNC digit 3, MCC digit 3 [2] MNC digit 2, MNC digit 1 Sorry for the confusion, Pascal: too many errors in my first email! You are right, it is the standard BCD encoding from 3GPP. I will continue working on my merge request. Thanks, Mauro ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe