mbgtools-lx  4.2.8
PORT_INFO Struct Reference

Current settings and general capabilities of a serial port. More...

#include <gpsdefs.h>

Data Fields

PORT_SETTINGS port_settings
 current configuration of the port More...
 
uint32_t supp_baud_rates
 bit mask of baud rates supp. by this port, see MBG_BAUD_RATE_MASKS More...
 
uint32_t supp_framings
 bit mask of framings supp. by this port, see MBG_FRAMING_MASKS More...
 
uint32_t supp_str_types
 bit mask of string types supp. by this port, i.e. bit 0 set if str_type[0] is supp. More...
 
uint32_t reserved
 reserved for future use, currently always 0 More...
 
uint32_t flags
 see PORT_INFO_FLAGS More...
 

Detailed Description

Current settings and general capabilities of a serial port.

Note
This structure should be read from a device to retrieve the current settings of a serial port plus its capabilities, e.g. supported baud rates, supported string formats, etc.
See also
STR_TYPE_INFO

Definition at line 3618 of file gpsdefs.h.

Field Documentation

◆ flags

uint32_t PORT_INFO::flags

see PORT_INFO_FLAGS

Definition at line 3625 of file gpsdefs.h.

◆ port_settings

◆ reserved

uint32_t PORT_INFO::reserved

reserved for future use, currently always 0

Definition at line 3624 of file gpsdefs.h.

◆ supp_baud_rates

uint32_t PORT_INFO::supp_baud_rates

bit mask of baud rates supp. by this port, see MBG_BAUD_RATE_MASKS

Definition at line 3621 of file gpsdefs.h.

Referenced by check_valid_port_info(), port_info_from_pcps_serial(), and setup_port_info_from_port_parm().

◆ supp_framings

uint32_t PORT_INFO::supp_framings

bit mask of framings supp. by this port, see MBG_FRAMING_MASKS

Definition at line 3622 of file gpsdefs.h.

Referenced by check_valid_port_info(), port_info_from_pcps_serial(), and setup_port_info_from_port_parm().

◆ supp_str_types

uint32_t PORT_INFO::supp_str_types

bit mask of string types supp. by this port, i.e. bit 0 set if str_type[0] is supp.

Definition at line 3623 of file gpsdefs.h.

Referenced by check_valid_port_info(), port_info_from_pcps_serial(), and setup_port_info_from_port_parm().


The documentation for this struct was generated from the following file: