mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
b849b20a8c
- Added a pre-compiled custom GN3S firmware. - Added a fully-compliant GNU Radio source block for GN3S USB dongle. It can be used also from GNU Radio companion and from Python applications. - Added a new GN3S_Signal_Source block. It is possible to disable the GN3S signal source compilation. See README. git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@217 64b25241-fba3-4117-9849-534c7e92360d
26 lines
830 B
C
26 lines
830 B
C
#ifndef GN3S_DEFINES_H_
|
|
#define GN3S_DEFINES_H_
|
|
|
|
typedef struct GN3S_CPX
|
|
{
|
|
short int i; //!< Real value
|
|
short int q; //!< Imaginary value
|
|
} GN3S_CPX;
|
|
|
|
//#define GN3S_SAMPS_MS (2048) //!< All incoming signals are resampled to this sampling frequency
|
|
#define GN3S_SAMPS_5MS (40919) // 5MS at fs=8.1838e6
|
|
//!< FIFO structure for linked list?
|
|
/*----------------------------------------------------------------------------------------------*/
|
|
/*! \ingroup STRUCTS
|
|
* @brief linked list structure for circular FIFO buffer */
|
|
typedef struct gn3s_ms_packet {
|
|
|
|
gn3s_ms_packet *next;
|
|
int count; //!< Number of packets
|
|
GN3S_CPX data[GN3S_SAMPS_5MS]; //!< Payload size
|
|
|
|
} gn3s_ms_packet;
|
|
/*----------------------------------------------------------------------------------------------*/
|
|
|
|
#endif //GN3S_DEFINES_H_
|