id: sarsat_biphase_l_decode_bb label: Biphase-L Decoder category: '[Sarsat]' templates: imports: from sarsat import biphase_l_decode_bb make: biphase_l_decode_bb() inputs: - label: in domain: stream dtype: byte outputs: - label: out domain: stream dtype: byte documentation: |- Biphase-L (Manchester) Decoder for Cospas-Sarsat 406 MHz beacons. Biphase-L encoding represents: - Bit 0: Low-to-High transition at bit center - Bit 1: High-to-Low transition at bit center Input: Unpacked byte stream of Biphase-L encoded symbols (2 samples per bit) Output: Unpacked byte stream of decoded bits Decimation factor: 2 (two input samples produce one output bit) file_format: 1