Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
UBX_MSG_CLASS_CFG

Data Structures

struct  ubx_msg_cfg_prt_spi
 UBX_MSG_ID_CFG_PRT (SPI) More...
 
struct  ubx_msg_cfg_msg
 UBX_MSG_ID_CFG_MSG More...
 
struct  ubx_msg_cfg_rate
 UBX_MSG_ID_CFG_RATE More...
 
struct  ubx_msg_cfg_rst
 UBX_MSG_ID_CFG_RST More...
 
struct  ubx_msg_cfg_cfg_m8
 UBX_MSG_ID_CFG_CFG More...
 
struct  ubx_msg_cfg_cfg_m10
 UBX_MSG_ID_CFG_CFG More...
 
struct  ubx_msg_cfg_nav5
 UBX_MSG_ID_CFG_NAV5 More...
 
struct  ubx_msg_cfg_gnss
 UBX_MSG_ID_CFG_GNSS More...
 
struct  ubx_msg_cfg_valset_v0
 UBX_MSG_ID_CFG_VALSET More...
 
struct  ubx_msg_cfg_valset_v1
 UBX_MSG_ID_CFG_VALSET More...
 
struct  ubx_msg_cfg_valget_query
 Query for UBX_MSG_ID_CFG_VALGET. More...
 
struct  ubx_msg_cfg_valget_response
 Response to UBX_MSG_ID_CFG_VALGET. More...
 

Macros

#define UBX_MSG_CFG_PRT_TX_READY_CFG(pio, threshold)
 

Enumerations

enum  ubx_msg_id_cfg {
  UBX_MSG_ID_CFG_PRT = 0x00 , UBX_MSG_ID_CFG_MSG = 0x01 , UBX_MSG_ID_CFG_RST = 0x04 , UBX_MSG_ID_CFG_RATE = 0x08 ,
  UBX_MSG_ID_CFG_CFG = 0x09 , UBX_MSG_ID_CFG_NAV5 = 0x24 , UBX_MSG_ID_CFG_GNSS = 0x3E , UBX_MSG_ID_CFG_DCDC_BURN = 0x41 ,
  UBX_MSG_ID_CFG_VALSET = 0x8a , UBX_MSG_ID_CFG_VALGET = 0x8b , UBX_MSG_ID_CFG_VALDEL = 0x8c
}
 
enum  ubx_msg_cfg_prt_ports { UBX_MSG_CFG_PRT_PORT_ID_I2C = 0 , UBX_MSG_CFG_PRT_PORT_ID_USB = 3 , UBX_MSG_CFG_PRT_PORT_ID_SPI = 4 }
 
enum  ubx_msg_cfg_prt_proto_mask { UBX_MSG_CFG_PRT_PROTO_MASK_UBX = BIT(0) , UBX_MSG_CFG_PRT_PROTO_MASK_NMEA = BIT(1) , UBX_MSG_CFG_PRT_PROTO_MASK_RTCM2 = BIT(2) , UBX_MSG_CFG_PRT_PROTO_MASK_RTCM3 = BIT(5) }
 
enum  ubx_msg_cfg_prt_tx_ready { UBX_MSG_CFG_PRT_TX_READY_EN = BIT(0) , UBX_MSG_CFG_PRT_TX_READY_POL_ACTIVE_HIGH = 0 , UBX_MSG_CFG_PRT_TX_READY_POL_ACTIVE_LOW = BIT(1) }
 
enum  ubx_msg_cfg_prt_spi_mode { UBX_MSG_CFG_PRT_SPI_MODE_0 = (0 << 1) , UBX_MSG_CFG_PRT_SPI_MODE_1 = (1 << 1) , UBX_MSG_CFG_PRT_SPI_MODE_2 = (2 << 1) , UBX_MSG_CFG_PRT_SPI_MODE_3 = (3 << 1) }
 
enum  ubx_msg_cfg_prt_spi_flags { UBX_MSG_CFG_PRT_SPI_EXTENDED_TIMEOUT = BIT(1) }
 
enum  ubx_msg_cfg_rate_time_ref {
  UBX_MSG_CFG_RATE_TIME_REF_UTC = 0 , UBX_MSG_CFG_RATE_TIME_REF_GPS = 1 , UBX_MSG_CFG_RATE_TIME_REF_GLONASS = 2 , UBX_MSG_CFG_RATE_TIME_REF_BEIDOU = 3 ,
  UBX_MSG_CFG_RATE_TIME_REF_GALILEO = 4 , UBX_MSG_CFG_RATE_TIME_REF_NAVIC = 5
}
 
enum  ubx_msg_cfg_rst_bbr_mask { UBX_MSG_CFG_RST_BBR_HOT_START = 0x0000 , UBX_MSG_CFG_RST_BBR_WARM_START = 0x0001 , UBX_MSG_CFG_RST_BBR_COLD_START = 0xFFFF }
 
enum  ubx_msg_cfg_rst_mode { UBX_MSG_CFG_RST_MODE_HARDWARE = 0x0000 }
 
enum  ubx_msg_cfg_cfg_mask {
  UBX_MSG_CFG_CFG_MASK_IO_PORT = BIT(0) , UBX_MSG_CFG_CFG_MASK_MSG_CONF = BIT(1) , UBX_MSG_CFG_CFG_MASK_INF_MSG = BIT(2) , UBX_MSG_CFG_CFG_MASK_NAV_CONF = BIT(3) ,
  UBX_MSG_CFG_CFG_MASK_RXM_CONF = BIT(4) , UBX_MSG_CFG_CFG_MASK_SEN_CONF = BIT(8) , UBX_MSG_CFG_CFG_MASK_RINV_CONF = BIT(9) , UBX_MSG_CFG_CFG_MASK_ANT_CONF = BIT(10) ,
  UBX_MSG_CFG_CFG_MASK_LOG_CONF = BIT(11) , UBX_MSG_CFG_CFG_MASK_FTS_CONF = BIT(12)
}
 
enum  ubx_msg_cfg_cfg_device { UBX_MSG_CFG_CFG_DEVICE_BBR = BIT(0) , UBX_MSG_CFG_CFG_DEVICE_FLASH = BIT(1) , UBX_MSG_CFG_CFG_DEVICE_EEPROM = BIT(2) , UBX_MSG_CFG_CFG_DEVICE_SPI_FLASH = BIT(4) }
 
enum  ubx_msg_cfg_gnss_flags { UBX_MSG_CFG_GNSS_FLAGS_ENABLED = BIT(0) }
 
enum  ubx_msg_cfg_valset_layers { UBX_MSG_CFG_VALSET_LAYERS_RAM = BIT(0) , UBX_MSG_CFG_VALSET_LAYERS_BBR = BIT(1) , UBX_MSG_CFG_VALSET_LAYERS_FLASH = BIT(2) }
 
enum  ubx_msg_cfg_valset_transaction { UBX_MSG_CFG_VALSET_TRANSACTION_NONE = 0 , UBX_MSG_CFG_VALSET_TRANSACTION_START = 1 , UBX_MSG_CFG_VALSET_TRANSACTION_ONGOING = 2 , UBX_MSG_CFG_VALSET_TRANSACTION_APPLY = 3 }
 
enum  ubx_msg_cfg_valget_layer { UBX_MSG_CFG_VALGET_LAYER_RAM = 0 , UBX_MSG_CFG_VALGET_LAYER_BBR = 1 , UBX_MSG_CFG_VALGET_LAYER_FLASH = 2 , UBX_MSG_CFG_VALGET_LAYER_DEFAULT = 7 }
 

Detailed Description

Macro Definition Documentation

◆ UBX_MSG_CFG_PRT_TX_READY_CFG

#define UBX_MSG_CFG_PRT_TX_READY_CFG ( pio,
threshold )

#include <infuse/gnss/ubx/protocol.h>

Value:
(pio << 2) | ((threshold / 8) << 7)

Enumeration Type Documentation

◆ ubx_msg_cfg_cfg_device

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_CFG_DEVICE_BBR 
UBX_MSG_CFG_CFG_DEVICE_FLASH 
UBX_MSG_CFG_CFG_DEVICE_EEPROM 
UBX_MSG_CFG_CFG_DEVICE_SPI_FLASH 

◆ ubx_msg_cfg_cfg_mask

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_CFG_MASK_IO_PORT 
UBX_MSG_CFG_CFG_MASK_MSG_CONF 
UBX_MSG_CFG_CFG_MASK_INF_MSG 
UBX_MSG_CFG_CFG_MASK_NAV_CONF 
UBX_MSG_CFG_CFG_MASK_RXM_CONF 
UBX_MSG_CFG_CFG_MASK_SEN_CONF 
UBX_MSG_CFG_CFG_MASK_RINV_CONF 
UBX_MSG_CFG_CFG_MASK_ANT_CONF 
UBX_MSG_CFG_CFG_MASK_LOG_CONF 
UBX_MSG_CFG_CFG_MASK_FTS_CONF 

◆ ubx_msg_cfg_gnss_flags

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_GNSS_FLAGS_ENABLED 

◆ ubx_msg_cfg_prt_ports

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_PRT_PORT_ID_I2C 
UBX_MSG_CFG_PRT_PORT_ID_USB 
UBX_MSG_CFG_PRT_PORT_ID_SPI 

◆ ubx_msg_cfg_prt_proto_mask

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_PRT_PROTO_MASK_UBX 
UBX_MSG_CFG_PRT_PROTO_MASK_NMEA 
UBX_MSG_CFG_PRT_PROTO_MASK_RTCM2 
UBX_MSG_CFG_PRT_PROTO_MASK_RTCM3 

◆ ubx_msg_cfg_prt_spi_flags

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_PRT_SPI_EXTENDED_TIMEOUT 

◆ ubx_msg_cfg_prt_spi_mode

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_PRT_SPI_MODE_0 
UBX_MSG_CFG_PRT_SPI_MODE_1 
UBX_MSG_CFG_PRT_SPI_MODE_2 
UBX_MSG_CFG_PRT_SPI_MODE_3 

◆ ubx_msg_cfg_prt_tx_ready

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_PRT_TX_READY_EN 
UBX_MSG_CFG_PRT_TX_READY_POL_ACTIVE_HIGH 
UBX_MSG_CFG_PRT_TX_READY_POL_ACTIVE_LOW 

◆ ubx_msg_cfg_rate_time_ref

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_RATE_TIME_REF_UTC 
UBX_MSG_CFG_RATE_TIME_REF_GPS 
UBX_MSG_CFG_RATE_TIME_REF_GLONASS 
UBX_MSG_CFG_RATE_TIME_REF_BEIDOU 
UBX_MSG_CFG_RATE_TIME_REF_GALILEO 
UBX_MSG_CFG_RATE_TIME_REF_NAVIC 

◆ ubx_msg_cfg_rst_bbr_mask

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_RST_BBR_HOT_START 
UBX_MSG_CFG_RST_BBR_WARM_START 
UBX_MSG_CFG_RST_BBR_COLD_START 

◆ ubx_msg_cfg_rst_mode

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_RST_MODE_HARDWARE 

◆ ubx_msg_cfg_valget_layer

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_VALGET_LAYER_RAM 
UBX_MSG_CFG_VALGET_LAYER_BBR 
UBX_MSG_CFG_VALGET_LAYER_FLASH 
UBX_MSG_CFG_VALGET_LAYER_DEFAULT 

◆ ubx_msg_cfg_valset_layers

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_VALSET_LAYERS_RAM 
UBX_MSG_CFG_VALSET_LAYERS_BBR 
UBX_MSG_CFG_VALSET_LAYERS_FLASH 

◆ ubx_msg_cfg_valset_transaction

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_CFG_VALSET_TRANSACTION_NONE 
UBX_MSG_CFG_VALSET_TRANSACTION_START 
UBX_MSG_CFG_VALSET_TRANSACTION_ONGOING 
UBX_MSG_CFG_VALSET_TRANSACTION_APPLY 

◆ ubx_msg_id_cfg

#include <infuse/gnss/ubx/protocol.h>

Enumerator
UBX_MSG_ID_CFG_PRT 
UBX_MSG_ID_CFG_MSG 
UBX_MSG_ID_CFG_RST 
UBX_MSG_ID_CFG_RATE 
UBX_MSG_ID_CFG_CFG 
UBX_MSG_ID_CFG_NAV5 
UBX_MSG_ID_CFG_GNSS 
UBX_MSG_ID_CFG_DCDC_BURN 
UBX_MSG_ID_CFG_VALSET 
UBX_MSG_ID_CFG_VALGET 
UBX_MSG_ID_CFG_VALDEL