qdsync_cccf
Frame detector and synchronizer; uses a novel correlation method to detect a synchronization pattern, estimate carrier frequency and phase offsets as well as timing phase, then correct for these impairments in a simple interface suitable for custom frame recovery.
Public Functions
typedef int (* | qdsync_cccf_callback)( |
qdsync_cccf | qdsync_cccf_create_linear( |
qdsync_cccf | qdsync_cccf_copy( |
int | qdsync_cccf_destroy( |
int | qdsync_cccf_reset( |
int | qdsync_cccf_print( |
int | qdsync_cccf_is_detected( |
float | qdsync_cccf_get_threshold( |
int | qdsync_cccf_set_threshold( |
float | qdsync_cccf_get_range( |
int | qdsync_cccf_set_range( |
int | qdsync_cccf_set_callback( |
int | qdsync_cccf_set_context( |
int | qdsync_cccf_set_buf_len( |
int | qdsync_cccf_execute( |
int | qdsync_cccf_is_open( |
float | qdsync_cccf_get_rxy( |
float | qdsync_cccf_get_tau( |
float | qdsync_cccf_get_gamma( |
float | qdsync_cccf_get_dphi( |
float | qdsync_cccf_get_phi( |
Interfaces
typedef int (* qdsync_cccf_callback)(
synchronization callback, return 0:continue, 1:reset
- _buf :
- _buf_len :
- _context :
qdsync_cccf qdsync_cccf_create_linear(
create detector with generic sequence
- _s : sample sequence
- _s_len : length of sample sequence
- _ftype : filter type
- _k : samples per symbol
- _m : filter semi-length
- _beta : filter excess bandwidth factor
- _callback : user-defined callback
- _context : user-defined context
qdsync_cccf qdsync_cccf_copy(
Copy object recursively including all internal objects and state
int qdsync_cccf_destroy(
Destroy synchronizer object and free all internal memory
int qdsync_cccf_reset(
Reset synchronizer object's internal buffer
int qdsync_cccf_print(
Print synchronizer object information to stdout
int qdsync_cccf_is_detected(
Get detection state
float qdsync_cccf_get_threshold(
Get detection threshold
int qdsync_cccf_set_threshold(
Set detection threshold
- _q :
- _threshold :
float qdsync_cccf_get_range(
Get carrier offset search range
int qdsync_cccf_set_range(
Set carrier offset search range
- _q :
- _dphi_max :
int qdsync_cccf_set_callback(
Set callback method
- _q :
- _callback :
int qdsync_cccf_set_context(
Set context value
- _q :
- _context :
int qdsync_cccf_set_buf_len(
Set callback buffer size (the number of symbol provided to the callback whenever it is invoked).
- _q :
- _buf_len :
int qdsync_cccf_execute(
execute block of samples
- _q :
- _buf :
- _buf_len :
int qdsync_cccf_is_open(
Return flag indicating if synchronizer actively running.
float qdsync_cccf_get_rxy(
Get synchronizer correlator output after frame was detected
float qdsync_cccf_get_tau(
Get synchronizer fractional timing offset after frame was detected
float qdsync_cccf_get_gamma(
Get synchronizer channel gain after frame was detected
float qdsync_cccf_get_dphi(
Get synchronizer frequency offset estimate after frame was detected
float qdsync_cccf_get_phi(
Get synchronizer phase offset estimate after frame was detected