Skip to content

File mpsk_receiver_private.h

FileList > doppler > mpsk_receiver > mpsk_receiver_private.h

Go to the source code of this file

MpskReceiver's steps() with each symbol's strobe time. More...

  • #include "doppler/mpsk_receiver/mpsk_receiver_core.h"
  • #include <stddef.h>

Public Functions

Type Name
size_t dp__mpsk_receiver_steps_at (dp_mpsk_receiver_state_t * state, const float _Complex * x, size_t x_len, float _Complex * out, double * at, size_t max_out)
dp_mpsk_receiver_steps() , also returning where each symbol's strobe sits on the input clock.

Detailed Description

Kept out of mpsk_receiver_core.h because its one caller is AsyncDsssReceiver's strobe-time probe (doppler#3177), in C. The same time on a standalone MpskReceiver's telemetry is doppler#3564. A _private.h is not exported from the shared library (check_installed_headers.py), and a public header must not include it.

Public Functions Documentation

function dp__mpsk_receiver_steps_at

dp_mpsk_receiver_steps() , also returning where each symbol's strobe sits on the input clock.

size_t dp__mpsk_receiver_steps_at (
    dp_mpsk_receiver_state_t * state,
    const float _Complex * x,
    size_t x_len,
    float _Complex * out,
    double * at,
    size_t max_out
) 

The symbols, and everything the call does to the loops and their telemetry, are dp_mpsk_receiver_steps()'s bit for bit: both are the one steps body, this with its at and steps() with a literal NULL, through the same push and the one fold. _test_sym_t_changes_nothing (test_async_dsss_receiver_core.c) holds that through the one caller: its symbols and records are byte-identical with and without this path.

Beside each out[k], at[k] is the input-sample time of its strobe's CONTENT, relative to x[0]: the terminal resampler's tick (its newest loaded sample plus the accumulator's fraction), carried through the decimation ahead of it, less the cascade's group delay (dp__RateConverter_pos_to_input()). So it is where in the input stream the decided symbol's energy sits, not when it was computed, and it moves with everything the timing loop has steered. An I&D symbol's content is its centre: a strobe on time reads half a symbol past the symbol's first sample.

The complex face only, as dp_mpsk_receiver_steps(): the real face (dp_mpsk_receiver_create_real(), dp_mpsk_receiver_steps_real()) has an R2C stage this does not place yet (doppler#3564).

Parameters:

  • state Must be non-NULL.
  • x Input samples.
  • x_len Their count.
  • out Symbols, as dp_mpsk_receiver_steps().
  • at Their strobe times, parallel to out. Must be non-NULL.
  • max_out Capacity of out and at.

Returns:

Number of symbols written.



The documentation for this class was generated from the following file native/inc/doppler/mpsk_receiver/mpsk_receiver_private.h