Vasil Velichkov | 14ea82d | 2019-08-28 18:46:34 +0000 | [diff] [blame^] | 1 | # auto-generated by grc.converter |
| 2 | |
| 3 | id: gsm_tch_h_decoder |
| 4 | label: TCH/H decoder |
| 5 | |
| 6 | parameters: |
| 7 | - id: sub_channel |
| 8 | label: Sub-channel number |
| 9 | dtype: int |
| 10 | default: '0' |
| 11 | options: ['0', '1'] |
| 12 | hide: none |
| 13 | - id: multi_rate |
| 14 | label: MultiRate configuration |
| 15 | dtype: string |
| 16 | - id: boundary_check |
| 17 | label: Voice boundary detection |
| 18 | dtype: bool |
| 19 | default: 'False' |
| 20 | options: ['False', 'True'] |
| 21 | |
| 22 | inputs: |
| 23 | - domain: message |
| 24 | id: bursts |
| 25 | |
| 26 | outputs: |
| 27 | - domain: message |
| 28 | id: msgs |
| 29 | optional: true |
| 30 | - domain: message |
| 31 | id: voice |
| 32 | optional: true |
| 33 | asserts: |
| 34 | - ${ sub_channel > -1 and sub_channel < 2 } |
| 35 | |
| 36 | templates: |
| 37 | imports: import grgsm |
| 38 | make: grgsm.tch_h_decoder(${sub_channel}, ${multi_rate}, ${boundary_check}) |
| 39 | |
| 40 | documentation: |- |
| 41 | The MultiRate configuration string should contains the hex string from the |
| 42 | MultiRate configuration element from the Assignment Command message. |
| 43 | Example: 28111a40. |
| 44 | See 3GPP TS 44.018 - 10.5.2.21aa MultiRate configuratio |
| 45 | |
| 46 | If "Voice boundary detection" is enabled, then only bursts are decoded as voice where |
| 47 | |
| 48 | - the framenumber is greater then the framenumber of a received "Connect" or "Connect Acknowlegde" message, and |
| 49 | - the framenumber is less then the framenumber of a "Release" message |
| 50 | |
| 51 | file_format: 1 |