osmo-gmr 0.2.104-2b98
Osmocom GMR-1

Osmocom GMR-1 pi2-CBPSK, pi4-CBPSK and pi4-CQPSK modulation support implementation. More...

#include <complex.h>
#include <math.h>
#include <errno.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <osmocom/core/bits.h>
#include <osmocom/dsp/cxvec.h>
#include <osmocom/dsp/cxvec_math.h>
#include <osmocom/gmr1/sdr/defs.h>
#include <osmocom/gmr1/sdr/pi4cxpsk.h>

Functions

int gmr1_pi4cxpsk_demod (struct gmr1_pi4cxpsk_burst *burst_type, struct osmo_cxvec *burst_in, int sps, float freq_shift, sbit_t *ebits, int *sync_id_p, float *toa_p, float *freq_err_p)
 All-in-one pi4-CxPSK demodulation method. More...
 
int gmr1_pi4cxpsk_detect (struct gmr1_pi4cxpsk_burst **burst_types, float e_toa, struct osmo_cxvec *burst_in, int sps, float freq_shift, int *bt_id_p, int *sync_id_p, float *toa_p)
 Try to identify burst type by matching training sequences. More...
 
int gmr1_pi4cxpsk_mod_order (struct osmo_cxvec *burst_in, int sps, float freq_shift)
 Estimates modulation order by comparing power of x^2 vs x^4. More...
 
int gmr1_pi4cxpsk_mod (struct gmr1_pi4cxpsk_burst *burst_type, ubit_t *ebits, int sync_id, struct osmo_cxvec *burst_out)
 Modulates (currently at 1 sps) More...
 

Variables

struct gmr1_pi4cxpsk_modulation gmr1_pi2cbpsk
 pi2-CBPSK modulation description More...
 
struct gmr1_pi4cxpsk_modulation gmr1_pi4cbpsk
 pi4-CBPSK modulation description More...
 
struct gmr1_pi4cxpsk_modulation gmr1_pi4cqpsk
 pi4-CQPSK modulation description More...
 

Detailed Description

Osmocom GMR-1 pi2-CBPSK, pi4-CBPSK and pi4-CQPSK modulation support implementation.