Vasil Velichkov | 14ea82d | 2019-08-28 18:46:34 +0000 | [diff] [blame] | 1 | # auto-generated by grc.converter |
| 2 | |
| 3 | id: gsm_extract_immediate_assignment |
| 4 | label: Extract Immediate Assignment |
| 5 | |
| 6 | parameters: |
| 7 | - id: print_immediate_assignments |
| 8 | label: Print |
| 9 | dtype: bool |
| 10 | default: 'False' |
| 11 | options: ['False', 'True'] |
| 12 | - id: ignore_gprs |
| 13 | label: Ignore GPRS |
| 14 | dtype: bool |
| 15 | default: 'False' |
| 16 | options: ['False', 'True'] |
| 17 | - id: unique_references |
| 18 | label: Unique per request ref |
| 19 | dtype: bool |
| 20 | default: 'False' |
| 21 | options: ['False', 'True'] |
| 22 | |
| 23 | inputs: |
| 24 | - domain: message |
| 25 | id: msgs |
| 26 | |
| 27 | templates: |
| 28 | imports: import grgsm |
| 29 | make: grgsm.extract_immediate_assignment(${print_immediate_assignments}, ${ignore_gprs}, |
| 30 | ${unique_references}) |
| 31 | |
| 32 | documentation: |- |
| 33 | Extracts the assignment information from immediate assignments, i.e. timeslot, channel type, etc. |
| 34 | |
| 35 | Input: decoded control channel messages |
| 36 | |
| 37 | If "Print" is enabled, the information will be printed to output also, |
| 38 | else the data can be retrieved using functions: |
| 39 | |
| 40 | get_frame_numbers(), get_channel_types(), get_timeslots(), get_subchannels(), get_hopping(), get_maios(), get_hsns(), get_arfcns(), get_timing_advances(), get_mobile_allocations() |
| 41 | |
| 42 | If "Ignore GPRS" is enabled, the extractor will ignore Immediate Assignments that assign GPRS channels. |
| 43 | |
| 44 | If "Unique per request ref" is enabled, the extractor will capture the first Immediate Assignment for every unique request reference, and ignore further duplicate assignments |
| 45 | |
| 46 | file_format: 1 |