[srslte-users] Wrong MCC and MNC encoding in nas.cc and log files.

David Rupprecht david.rupprecht at rub.de
Mon Jul 3 14:53:47 UTC 2017


While looking at the log, I was wondering about the encoding of MCC and
MNC. It looks like the heading 0xF in the mcc and mnc encoding confused
the %d. I know it is just a minor issue :).

// Generate authentication response using RAND, AUTN & KSI-ASME
uint16 mcc, mnc;
mcc = rrc->get_mcc();
mnc = rrc->get_mnc();

nas_log->info("MCC=%d, MNC=%d\n", mcc, mnc);

Best Regards,

M.Sc. David Rupprecht

Ruhr-University Bochum
Research Group Information Security
Universit├Ątsstra├če 150
ID 2/130
44780 Bochum / Germany

Phone: +49 234 / 32 - 23508
Web: www.infsec.rub.de

More information about the srslte-users mailing list