id: pdu_time_delta
label: Time Delta
flags: [ python ]

parameters:
-   id: delta_key
    label: Time Delta Key
    dtype: raw
    default: pmt.intern("time_delta_ms")
-   id: time_key
    label: Time Key
    dtype: raw
    default: pmt.intern("system_time")

inputs:
-   domain: message
    id: pdu
    optional: true

outputs:
-   domain: message
    id: pdu
    optional: true

templates:
    imports: |-
        from gnuradio import pdu
        import pmt
    make: pdu.time_delta(${delta_key}, ${time_key})

file_format: 1
