Test `CSD 9600/V.110/transparent' passed Test `Speech, all codecs' passed Simple TMSI encoding test....passed Simple IMSI encoding test....passed: [10] 17 08 99 10 07 00 00 00 64 02 Testing Mobile Identity conversions - IMSI 123456789012345 -> MI-TLV-hex='17081932547698103254' -> MI-str="123456789012345" rc=16 - IMSI 12345678901234 -> MI-TLV-hex='170811325476981032f4' -> MI-str="12345678901234" rc=15 - IMSI 423423 -> MI-TLV-hex='1704413224f3' -> MI-str="423423" rc=7 - unknown 0x9 423423 -> MI-TLV-hex='1704413224f3' -> MI-str="423423" rc=7 - IMSI 4234235 -> MI-TLV-hex='170449322453' -> MI-str="4234235" rc=8 - IMSI 4234235 -> MI-TLV-hex='170449322453' -> MI-str="423" rc=4 - IMEI 123456789012345 -> MI-TLV-hex='17081a32547698103254' -> MI-str="123456789012345" rc=16 - IMEI 98765432109876 -> MI-TLV-hex='170892785634129078f6' -> MI-str="98765432109876" rc=15 - IMEI 987654321098765 -> MI-TLV-hex='17089a78563412907856' -> MI-str="987654321098765" rc=16 - IMEI-SV 987654321098765432 -> MI-TLV-hex='170a937856341290785634f2' -> MI-str="987654321098765432" rc=19 - IMEI-SV 987654321098765432 -> MI-TLV-hex='170a937856341290785634f2' -> MI-str="987654321098765" rc=16 - TMSI 305419896 -> MI-TLV-hex='1705f412345678' -> MI-str="305419896" rc=9 - TMSI 12648430 -> MI-TLV-hex='1705f400c0ffee' -> MI-str="12648430" rc=8 - TMSI 0 -> MI-TLV-hex='1705f400000000' -> MI-str="0" rc=1 - TMSI 305419896 -> MI-TLV-hex='1705f412345678' -> MI-str="3054" rc=9 - NONE 123 -> MI-TLV-hex='17021832' -> MI-str="" rc=1 - NONE 1234 -> MI-TLV-hex='17031032f4' -> MI-str="" rc=1 - unknown 0x8 1234 -> MI-TLV-hex='17031032f4' -> MI-str="" rc=1 Decoding zero length Mobile Identities - MI type: IMSI - writing to zero-length string: rc=0 nothing written - writing to 1-byte-length string: rc=1 returned empty string - decode zero-length mi: rc=1 returned empty string - MI type: TMSI - writing to zero-length string: rc=1 ERROR: Wrote to invalid memory! - writing to 1-byte-length string: rc=1 returned empty string - decode zero-length mi: rc=1 returned empty string - MI type: NONE - writing to zero-length string: rc=1 ERROR: Wrote to invalid memory! - writing to 1-byte-length string: rc=1 returned empty string - decode zero-length mi: rc=1 returned empty string - MI type: IMSI | GSM_MI_ODD - writing to zero-length string: rc=0 nothing written - writing to 1-byte-length string: rc=1 returned empty string - decode zero-length mi: rc=1 returned empty string - MI type: TMSI | GSM_MI_ODD - writing to zero-length string: rc=1 ERROR: Wrote to invalid memory! - writing to 1-byte-length string: rc=1 returned empty string - decode zero-length mi: rc=1 returned empty string - MI type: NONE | GSM_MI_ODD - writing to zero-length string: rc=1 ERROR: Wrote to invalid memory! - writing to 1-byte-length string: rc=1 returned empty string - decode zero-length mi: rc=1 returned empty string Constructed RA: 077-121-666-5 MCC+MNC in BCD: 70 17 21 077-121-666-5 (3-digit MNC) RA test...passed Constructed RA: 084-98-11-89 MCC+MNC in BCD: 80 f4 89 084-98-11-89 RA test...passed Constructed RA: 000-00-0-0 MCC+MNC in BCD: 00 f0 00 000-00-0-0 RA test...passed Constructed RA: 000-000-0-0 (3-digit MNC) MCC+MNC in BCD: 00 00 00 000-000-0-0 (3-digit MNC) RA test...passed Constructed RA: 999-999-65535-255 MCC+MNC in BCD: 99 99 99 999-999-65535-255 (3-digit MNC) RA test...passed Constructed RA: 001-02-23-42 MCC+MNC in BCD: 00 f1 20 001-02-23-42 RA test...passed Constructed RA: 001-002-23-42 (3-digit MNC) MCC+MNC in BCD: 00 21 00 001-002-23-42 (3-digit MNC) RA test...passed Constructed RA: 012-34-56-78 MCC+MNC in BCD: 10 f2 43 012-34-56-78 RA test...passed Constructed RA: 012-034-23-42 (3-digit MNC) MCC+MNC in BCD: 10 42 30 012-034-23-42 (3-digit MNC) RA test...passed Constructed RA: 123-456-23-42 MCC+MNC in BCD: 21 63 54 123-456-23-42 (3-digit MNC) RA test...passed Constructed RA: 123-456-23-42 (3-digit MNC) MCC+MNC in BCD: 21 63 54 123-456-23-42 (3-digit MNC) RA test...passed - gsm48_generate_lai() from 077-121-666-0 Encoded 70 17 21 02 9a gsm48_decode_lai() gives 077-121-666-0 passed - gsm48_generate_lai2() from 077-121-666 Encoded 70 17 21 02 9a gsm48_decode_lai2() gives 077-121-666 (3-digit MNC) passed - gsm48_generate_lai() from 084-98-11-0 Encoded 80 f4 89 00 0b gsm48_decode_lai() gives 084-98-11-0 passed - gsm48_generate_lai2() from 084-98-11 Encoded 80 f4 89 00 0b gsm48_decode_lai2() gives 084-98-11 passed - gsm48_generate_lai() from 000-00-0-0 Encoded 00 f0 00 00 00 gsm48_decode_lai() gives 000-00-0-0 passed - gsm48_generate_lai2() from 000-00-0 Encoded 00 f0 00 00 00 gsm48_decode_lai2() gives 000-00-0 passed - gsm48_generate_lai() from 000-000-0-0 (3-digit MNC) Encoded 00 f0 00 00 00 gsm48_decode_lai() gives 000-00-0-0 passed - gsm48_generate_lai2() from 000-000-0 (3-digit MNC) Encoded 00 00 00 00 00 gsm48_decode_lai2() gives 000-000-0 (3-digit MNC) passed - gsm48_generate_lai() from 999-999-65535-0 Encoded 99 99 99 ff ff gsm48_decode_lai() gives 999-999-65535-0 passed - gsm48_generate_lai2() from 999-999-65535 Encoded 99 99 99 ff ff gsm48_decode_lai2() gives 999-999-65535 (3-digit MNC) passed - gsm48_generate_lai() from 001-02-23-0 Encoded 00 f1 20 00 17 gsm48_decode_lai() gives 001-02-23-0 passed - gsm48_generate_lai2() from 001-02-23 Encoded 00 f1 20 00 17 gsm48_decode_lai2() gives 001-02-23 passed - gsm48_generate_lai() from 001-002-23-0 (3-digit MNC) Encoded 00 f1 20 00 17 gsm48_decode_lai() gives 001-02-23-0 passed - gsm48_generate_lai2() from 001-002-23 (3-digit MNC) Encoded 00 21 00 00 17 gsm48_decode_lai2() gives 001-002-23 (3-digit MNC) passed - gsm48_generate_lai() from 012-34-56-0 Encoded 10 f2 43 00 38 gsm48_decode_lai() gives 012-34-56-0 passed - gsm48_generate_lai2() from 012-34-56 Encoded 10 f2 43 00 38 gsm48_decode_lai2() gives 012-34-56 passed - gsm48_generate_lai() from 012-034-23-0 (3-digit MNC) Encoded 10 f2 43 00 17 gsm48_decode_lai() gives 012-34-23-0 passed - gsm48_generate_lai2() from 012-034-23 (3-digit MNC) Encoded 10 42 30 00 17 gsm48_decode_lai2() gives 012-034-23 (3-digit MNC) passed - gsm48_generate_lai() from 123-456-23-0 Encoded 21 63 54 00 17 gsm48_decode_lai() gives 123-456-23-0 passed - gsm48_generate_lai2() from 123-456-23 Encoded 21 63 54 00 17 gsm48_decode_lai2() gives 123-456-23 (3-digit MNC) passed - gsm48_generate_lai() from 123-456-23-0 (3-digit MNC) Encoded 21 63 54 00 17 gsm48_decode_lai() gives 123-456-23-0 passed - gsm48_generate_lai2() from 123-456-23 (3-digit MNC) Encoded 21 63 54 00 17 gsm48_decode_lai2() gives 123-456-23 (3-digit MNC) passed