|
| extcap_config (option) |
|
| extcap_version () |
|
| extcap_interfaces () |
|
| extcap_dlts () |
|
| log (msg) |
|
| pcap_header () |
|
| pcap_packet (ubx_msg) |
|
| ubxChecksum (msg) |
|
| ubxMsg (ubxClassId, payload) |
|
| sendUbxMsg (receiver, msg) |
|
| ubxCfgMsg (ubxMsgClassId, rate) |
|
| ubxCfgGnss (gnssId, resTrkCh, maxTrkCh, enable, sigCfgMask) |
|
| control_read (fn) |
|
| control_read_thread (control_in) |
|
| control_write (arg, typ, payload) |
|
| extcap_capture (interface, fifo, control_in, control_out) |
|
| extcap_close_fifo (fifo) |
|
| usage () |
|
|
str | VERSION = "0.1" |
|
str | UBLOX_DEV_DESCRIPTION = 'u-blox GNSS receiver' |
| u-blox / UBX related constants
|
|
int | UBX_PREAMBLE_1 = 0xb5 |
|
int | UBX_PREAMBLE_2 = 0x62 |
|
int | UBX_HEADER_SIZE = 6 |
|
int | UBX_CHKSUM_SIZE = 2 |
|
int | UBX_PAYLOAD_LEN_OFFSET = 4 |
|
int | UBX_GNSS_ID_GPS = 0 |
|
int | UBX_GNSS_ID_SBAS = 1 |
|
int | UBX_GNSS_ID_GALILEO = 2 |
|
int | UBX_GNSS_ID_BEIDOU = 3 |
|
int | UBX_GNSS_ID_IMES = 4 |
|
int | UBX_GNSS_ID_QZSS = 5 |
|
int | UBX_GNSS_ID_GLONASS = 6 |
|
int | UBX_NAV = 0x01 |
|
list | UBX_NAV_POSECEF = [UBX_NAV, 0x01] |
|
list | UBX_NAV_DOP = [UBX_NAV, 0x04] |
|
list | UBX_NAV_PVT = [UBX_NAV, 0x07] |
|
list | UBX_NAV_ODO = [UBX_NAV, 0x09] |
|
list | UBX_NAV_VELECEF = [UBX_NAV, 0x11] |
|
list | UBX_NAV_TIMEGPS = [UBX_NAV, 0x20] |
|
list | UBX_NAV_TIMEUTC = [UBX_NAV, 0x21] |
|
list | UBX_NAV_TIMELS = [UBX_NAV, 0x26] |
|
list | UBX_NAV_SBAS = [UBX_NAV, 0x32] |
|
list | UBX_NAV_SAT = [UBX_NAV, 0x35] |
|
list | UBX_NAV_EOE = [UBX_NAV, 0x61] |
|
int | UBX_RXM = 0x02 |
|
list | UBX_RXM_SFRBX = [UBX_RXM, 0x13] |
|
list | UBX_RXM_MEASX = [UBX_RXM, 0x14] |
|
list | UBX_RXM_RAWX = [UBX_RXM, 0x15] |
|
int | UBX_CFG = 0x06 |
|
list | UBX_CFG_MSG = [UBX_CFG, 0x01] |
|
list | UBX_CFG_SBAS = [UBX_CFG, 0x16] |
|
list | UBX_CFG_GNSS = [UBX_CFG, 0x3e] |
|
int | UBX_NMEA = 0xf0 |
|
list | UBX_NMEA_GGA = [UBX_NMEA, 0x00] |
|
list | UBX_NMEA_GLL = [UBX_NMEA, 0x01] |
|
list | UBX_NMEA_GSA = [UBX_NMEA, 0x02] |
|
list | UBX_NMEA_GSV = [UBX_NMEA, 0x03] |
|
list | UBX_NMEA_RMC = [UBX_NMEA, 0x04] |
|
list | UBX_NMEA_VTG = [UBX_NMEA, 0x05] |
|
list | UBX_NMEA_GRS = [UBX_NMEA, 0x06] |
|
list | UBX_NMEA_GST = [UBX_NMEA, 0x07] |
|
list | UBX_NMEA_ZDA = [UBX_NMEA, 0x08] |
|
list | UBX_NMEA_GBS = [UBX_NMEA, 0x09] |
|
list | UBX_NMEA_TXT = [UBX_NMEA, 0x41] |
|
list | UBX_MSG_RATES |
|
list | UBX_GNSS_CONFIGS |
|
str | DLT = "147" |
| PCAP-related constants.
|
|
str | DLT_NAME = "DLT_USER0" |
|
int | PCAP_MAGIC = 0xa1b2c3d4 |
|
int | PCAP_VERSION_MAJOR = 2 |
|
int | PCAP_VERSION_MINOR = 4 |
|
int | PCAP_THISZONE = 0 |
|
int | PCAP_SIGFIGS = 0 |
|
int | PCAP_SNAPLEN = 0xffffffff |
|
int | ERROR_USAGE = 0 |
| extcap-related constants
|
|
int | ERROR_ARG = 1 |
|
int | ERROR_INTERFACE = 2 |
|
int | ERROR_FIFO = 3 |
|
int | CTRL_CMD_INITIALIZED = 0 |
|
int | CTRL_CMD_SET = 1 |
|
int | CTRL_CMD_ADD = 2 |
|
int | CTRL_CMD_REMOVE = 3 |
|
int | CTRL_CMD_ENABLE = 4 |
|
int | CTRL_CMD_DISABLE = 5 |
|
int | CTRL_CMD_STATUSBAR_MSG = 6 |
|
int | CTRL_CMD_INFO_MSG = 7 |
|
int | CTRL_CMD_WARN_MSG = 8 |
|
int | CTRL_CMD_ERROR_MSG = 9 |
|
int | CTRL_ARG_LOGGER = 0 |
|
bool | initialized = False |
|
| fn_out = None |
|
str | option = "" |
|
| parser = argparse.ArgumentParser(description="u-blox UBX extcap") |
|
| help |
|
| action |
|
| nargs |
|
| default |
|
| args |
|
| unknown |
|
| file |
|
int | fifo_found = 0 |
|
str | fifo = "" |
|
Extcap for UBX messages from an u-blox GNSS receiver.
Tested with UBX protocol version 18.