libosmocore: gsm48_mi_to_string() TMSI parsing

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Wed Mar 16 10:22:31 UTC 2016


Hi Vadim,

On Tue, Mar 15, 2016 at 01:46:31AM +0600, Вадим Яницкий wrote:
> I found that it is used in several projects like OsmocomBB and OpenBSC,
> but it seems a bit strange to me that the TMSI represented in decimal...

yes, indeed this seems highly unusual.  It reflects on the fact how
little we knew about the usual representation of TMSIs back when we
started to write that code.

> Can we move to use a hex representation instead of decimal? And why if not?

yes, I would merge an associated patch.  Preferrably together with
patches for other locations where we print an IMSI and use the decimal
representation at this point.

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)



More information about the OpenBSC mailing list