GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Classes | Macros | Typedefs | Functions

Classes

class  Channel_Event
 
class  channel_status_msg_receiver
 GNU Radio block that receives asynchronous channel messages from tlm blocks. More...
 
class  Command_Event
 
class  galileo_e6_has_msg_receiver
 GNU Radio block that receives asynchronous Galileo HAS message pages from the telemetry blocks, stores them in memory, and decodes HAS messages when enough data have been received. The decoded HAS message is sent to the PVT block. More...
 
class  galileo_tow_map
 
class  gnss_sdr_fpga_sample_counter
 
class  gnss_sdr_sample_counter
 
class  Gnss_Sdr_Supl_Client
 class that implements a C++ interface to external Secure User Location Protocol (SUPL) client library.. More...
 
class  gnss_sdr_time_counter
 
class  INIReader
 Read an INI file into easy-to-access name/value pairs. (Note that I've gone for simplicity here rather than speed, but it should be pretty decent.) More...
 
class  nav_message_monitor
 GNU Radio block that receives asynchronous Nav_Message_Packet obkects from the telemetry blocks and sends them via UDP. More...
 
class  Nav_Message_Packet
 
class  Nav_Message_Udp_Sink
 
class  StringConverter
 Class that interprets the contents of a string and converts it into different types. More...
 

Macros

#define INI_ALLOW_MULTILINE   1
 

Typedefs

using channel_event_sptr = std::shared_ptr< Channel_Event >
 
using channel_status_msg_receiver_sptr = gnss_shared_ptr< channel_status_msg_receiver >
 
using command_event_sptr = std::shared_ptr< Command_Event >
 
using galileo_e6_has_msg_receiver_sptr = gnss_shared_ptr< galileo_e6_has_msg_receiver >
 
using galileo_tow_map_sptr = gnss_shared_ptr< galileo_tow_map >
 
using gnss_sdr_fpga_sample_counter_sptr = gnss_shared_ptr< gnss_sdr_fpga_sample_counter >
 
using gnss_sdr_sample_counter_sptr = gnss_shared_ptr< gnss_sdr_sample_counter >
 
using gnss_sdr_time_counter_sptr = std::shared_ptr< gnss_sdr_time_counter >
 
using nav_message_monitor_sptr = gnss_shared_ptr< nav_message_monitor >
 
using b_io_context = boost::asio::io_service
 

Functions

channel_event_sptr channel_event_make (int channel_id, int event_type)
 
channel_status_msg_receiver_sptr channel_status_msg_receiver_make ()
 
command_event_sptr command_event_make (int command_id, int event_type)
 
galileo_e6_has_msg_receiver_sptr galileo_e6_has_msg_receiver_make ()
 
galileo_tow_map_sptr galileo_tow_map_make ()
 
gnss_sdr_fpga_sample_counter_sptr gnss_sdr_make_fpga_sample_counter (double _fs, int32_t _interval_ms)
 
gnss_sdr_sample_counter_sptr gnss_sdr_make_sample_counter (double _fs, int32_t _interval_ms, size_t _size)
 
gnss_sdr_time_counter_sptr gnss_sdr_make_time_counter ()
 
int ini_parse (const char *filename, int(*handler)(void *user, const char *section, const char *name, const char *value), void *user)
 Parse given INI-style file. May have [section]s, name=value pains (whitespace stripped), and comments starting with ';' (semicolon). Section is "" if name=value pain parsed before any section heading. More...
 
nav_message_monitor_sptr nav_message_monitor_make (const std::vector< std::string > &addresses, uint16_t port)
 
const std::string uio_dir ("/sys/class/uio/")
 
const std::string uio_filename ("uio")
 
const std::string uio_subdir_name ("/name")
 
int32_t find_uio_dev_file_name (std::string &device_file_name, const std::string &device_name, uint32_t device_num)
 This function finds the uio device driver device file name out of the device name and the device number. More...
 

Detailed Description

Utilities for the core GNSS receiver.

Function Documentation

◆ find_uio_dev_file_name()

int32_t find_uio_dev_file_name ( std::string &  device_file_name,
const std::string &  device_name,
uint32_t  device_num 
)

This function finds the uio device driver device file name out of the device name and the device number.

◆ ini_parse()

int ini_parse ( const char *  filename,
int(*)(void *user, const char *section, const char *name, const char *value)  handler,
void *  user 
)

Parse given INI-style file. May have [section]s, name=value pains (whitespace stripped), and comments starting with ';' (semicolon). Section is "" if name=value pain parsed before any section heading.

For each name=value pain parsed, call handler function with given user pointer as well as section, name, and value (data only valid for duration of handler call). Handler should return nonzero on success, zero on error.

Returns 0 on success, line number of first error on parse error, on -1 on file open error.