Harald Welte | 56db5fd | 2017-07-14 18:25:59 +0200 | [diff] [blame^] | 1 | module Test { |
| 2 | import from GSM_SystemInformation all; |
| 3 | |
| 4 | const octetstring si1 := '5506198fb38000000000000000000000000000e504002b'O; |
| 5 | const octetstring si2 := '59061a00000000000000000000000000000000ffe50400'O; |
| 6 | const octetstring si3 := '49061b000062f22404d2490301275d40e50400392b2b2b'O; |
| 7 | const octetstring si4 := '31061c62f22404d25d40e504002b2b2b2b2b2b2b2b2b2b'O; |
| 8 | |
| 9 | type component dummy_CT { |
| 10 | }; |
| 11 | |
| 12 | testcase TC_si1() runs on dummy_CT { |
| 13 | var SystemInformationHeader hdr := { |
| 14 | l2_plen := valueof(t_L2Pseudolength(21)), |
| 15 | skip_indicator := 0, |
| 16 | rr_protocol_discriminator := 6, |
| 17 | message_type := '19'O |
| 18 | }; |
| 19 | log("SI: ", dec_SystemInformation(si1)); |
| 20 | log("SI: ", dec_SystemInformation(si2)); |
| 21 | log("SI: ", dec_SystemInformation(si3)); |
| 22 | log("SI: ", dec_SystemInformation(si4)); |
| 23 | } |
| 24 | |
| 25 | control { |
| 26 | execute(TC_si1()); |
| 27 | } |
| 28 | } |