osmo-gmr 0.2.104-2b98
Osmocom GMR-1

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

#include <stdint.h>
#include <osmocom/core/bits.h>
#include <osmocom/dsp/cxvec.h>

Go to the source code of this file.

Data Structures

struct  gmr1_pi4cxpsk_symbol
 pi4-CxPSK symbol description More...
 
struct  gmr1_pi4cxpsk_modulation
 pi4-CxPSK modulation description More...
 
struct  gmr1_pi4cxpsk_sync
 pi4-CxPSK Synchronization sequence segment description More...
 
struct  gmr1_pi4cxpsk_data
 pi4-CxPSK Data segment description More...
 
struct  gmr1_pi4cxpsk_burst
 pi4-CxPSK Burst format description More...
 

Macros

#define GMR1_MAX_SYM_EBITS   2
 Max e bits in a symbol.
 
#define GMR1_MAX_SYNC   4
 Max diff. sync seqs

 
#define GMR1_MAX_SYNC_SYMS   32
 Max sym in a sync seq

 

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
 
struct gmr1_pi4cxpsk_modulation gmr1_pi4cbpsk
 pi4-CBPSK modulation description
 
struct gmr1_pi4cxpsk_modulation gmr1_pi4cqpsk
 pi4-CQPSK modulation description
 

Detailed Description

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