id: satellites_kiss_server_sink
label: KISS Server Sink
category: '[Satellites]/Data sinks'

parameters:
-   id: address
    label: Address
    dtype: string
    default: '""'
-   id: port
    label: Port
    dtype: int
    default: 8100
-   id: options
    label: Command line options
    dtype: string
    default: '""'
    hide: part

inputs:
-   domain: message
    id: in

templates:
    imports: import satellites.components.datasinks
    make: satellites.components.datasinks.kiss_server_sink(${address}, ${port}, options=${options})

documentation: |-
    Saves PDUs using the KISS protocol to clients connected to this TCP server

    Input:
        PDUs with packets

    Parameters:
        Address: Address to bind to. Use "" to bind on all addresses.
        Port: Port to listen on
        Command line options: options to pass down to the block, following the syntax of the gr_satellites command line tool

file_format: 1
