Sylvain Munaut wrote:
Now ... this look a little bit like a SNAFU.
hi
sylvain,
i don't like having two functions with different results too. the
problem is that osmocom-bb uses hex lai everywhere, and openbsc uses
decimal lai. changing osmocom-bb would result in loosing support for
3-digits-MNC. (02 is not 002 and neither 02x) harald mentioned to maybe
change lai at openbsc in the future, so 3-digits-MNC are correctly
supported there too. then i would suggest to use hex MCC also. also it
would make sense to move the "input" and "print" functions for hex
type
MCC/MNC to libosmocore too.
regards,
andreas