id: satellites_ax25_deframer
label: AX.25 Deframer
category: '[Satellites]/Deframers'

parameters:
-   id: g3ruh_scrambler
    label: G3RUH scrambling
    dtype: bool
    default: 'True'
    options: ['True', 'False']
-   id: options
    label: Command line options
    dtype: string
    default: '""'
    hide: part

inputs:
-   domain: stream
    dtype: float

outputs:
-   domain: message
    id: out

templates:
    imports: import satellites.components.deframers
    make: satellites.components.deframers.ax25_deframer(g3ruh_scrambler=${g3ruh_scrambler}, options=${options})

documentation: |-
    Deframes AX.25 packets

    This block performs NRZ-I decoding, frame boundary detection, bit de-stuffing, and CRC-16 checking.

    Input:
        A stream of soft symbols containing AX.25 packets

    Output:
        PDUs with the deframed AX.25 packets

    Parameters:
        G3RUH scrambling: Perform G3RUH descrambling
        Command line options: options to pass down to the block, following the syntax of the gr_satellites command line tool

file_format: 1
