Пример #1
0
 class Fields:
     pinSel = X4(1)  # Mask of Pins Set as Peripheral/PIO
     pinBank = X4(2)  # Mask of Pins Set as Bank A/B
     pinDir = X4(3)  # Mask of Pins Set as Input/Output
     pinVal = X4(4)  # Mask of Pins Value Low/High
     noisePerMS = U2(5)  # Noise Level as measured by the GPS Core
     agcCnt = U2(
         6)  # AGC Monitor (counts SIGHI xor SIGLO, range 0 to 8191)
     aStatus = U1(
         7
     )  # Status of the Antenna Supervisor State Machine (0=INIT, 1=DONTKNOW, 2=OK, 3=SHORT, 4=OPEN)
     aPower = U1(
         8)  # Current PowerStatus of Antenna (0=OFF, 1=ON, 2=DONTKNOW)
     flags = X1(9)  # Flags (see graphic below)
     reserved1 = U1(10)
     usedMask = X4(
         11)  # Mask of Pins that are used by the Virtual Pin Manager
     VP = CH(
         12,
         17)  # Array of Pin Mappings for each of the 17 Physical Pins
     jamInd = U1(
         13
     )  # CW Jamming indicator, scaled (0 = no CW jamming, 255 = strong CW jamming)
     reserved2 = U2(14)
     pinIrq = X4(15)  # Mask of Pins Value using the PIO Irq
     pullH = X4(
         16)  # Mask of Pins Value using the PIO Pull High Resistor
     pullL = X4(
         17)  # Mask of Pins Value using the PIO Pull Low Resistor
Пример #2
0
 class Fields:
     measRate = U2(1)
     navRate = U2(2)
     timeRef = U2(3,
                  allowed={
                      0: "UTC time",
                      1: "GPS time",
                      2: "GLONASS time",
                      3: "BeiDou time",
                      4: "Galileo time"
                  })
Пример #3
0
        class Fields:
            timeTag = U4(1)
            flags = X2(2)
            id = U2(3)

            class Repeated:
                data = X4(1)
Пример #4
0
 class Fields:
     portID = U1(1)
     reserved1 = U1(2)
     txReady = X2(3)
     mode = X4(4)
     reserved2 = U4(5)
     inProtoMask = X2(6)
     outProtoMask = X2(7)
     flags = X2(8)
     reserved3 = U2(9)
Пример #5
0
 class Fields:
     dur = U4(1)
     meanX = I4(2)
     meanY = I4(3)
     meanZ = I4(4)
     meanV = U4(5)
     obs = U4(6)
     valid = U1(7)
     active = U1(8)
     reserved = U2(9)
Пример #6
0
 class Fields:
     iTOW = U4(1)
     gDOP = U2(2)
     pDOP = U2(3)
     tDOP = U2(4)
     vDOP = U2(5)
     hDOP = U2(6)
     nDOP = U2(7)
     eDOP = U2(8)
Пример #7
0
 class Fields:
     version = U1(1)  # Message version (0x02 for this version)
     reserved1 = U1(2)  # Reserved
     maxStartupStartupDur = U1(
         3
     )  # Maximum time to spend in Acquisition state. If 0: bound disabled (see maxStartupStateDur). (not supported in protocol versions less than 17), (not supported in protocol versions 23 to 23.01)
     reserved2 = U1(4)  # Reserved
     flags = X4(5)  # PSM configuration flags (see graphic below)
     updatePeriod = U4(
         6
     )  # ms  Position update period. If set to 0, the receiver will never retry a fix and it will wait for external events
     searchPeriod = U4(
         7
     )  # ms  Acquisition retry period if previously failed. If set to 0, the receiver will never retry a startup (not supported in protocol versions 23 to 23.01)
     gridOffset = U4(
         8
     )  # ms  Grid offset relative to GPS start of week (not supported in protocol versions 23 to 23.01)
     onTime = U2(
         9
     )  # s  Time to stay in Tracking state (not supported in protocol versions 23 to 23.01)
     minAcqTime = U2(10)  # s  minimal search time
     reserved3 = U(11, 20)  # Reserved
     extintInactivityMs = U4(
         12)  # ms  inactivity time out on EXTINT pint if enabled
Пример #8
0
 class Fields:
     tpIdx = U1(
         1)  # Time pulse selection (0 = TIMEPULSE, 1 = TIMEPULSE2)
     version = U1(2)  # Message version (0x00 for this version)
     reserved2 = U2(3)
     antCableDelay = I2(4)  # Antenna cable delay
     rfGroupDelay = I2(5)  # RF group delay
     freqPeriod = U4(
         6
     )  # Frequency or period time, depending on setting of bit 'isFreq'
     freqPeriodLock = U4(
         7
     )  # Frequency or period time when locked to GPS time, only used if 'lockedOtherSet' is set
     pulseLenRatio = U4(
         8)  # Pulse length or duty cycle, depending on 'isLength'
     pulseLenRatioLock = U4(
         9
     )  # Pulse length or duty cycle when locked to GPS time, only used if 'lockedOtherSet' is set
     userConfigDelay = I4(10)  # User configurable time pulse delay
     flags = X4(11)  # Configuration flags
Пример #9
0
        class Fields:
            iTOW = U4(1)
            numCh = U1(2)
            globalFlags = X1(3,
                             allowed={
                                 0: 'Antaris',
                                 1: 'u-Blox 5',
                                 2: 'u-Blox 6',
                                 3: 'u-Blox 7',
                                 4: 'u-Blox 8',
                             })
            reserved1 = U2(4)

            class Repeated:
                chn = U1(1)
                svid = U1(2)
                flags = X1(3)
                quality = X1(4)
                cno = U1(5)
                elev = I1(6)
                axim = I2(7)
                prRes = I4(8)
Пример #10
0
 class Fields:
     version = U1(1)
     powerSetupValue = U1(2)
     period = U2(3)
     onTime = U2(4)
     reserved = U2(5)
Пример #11
0
 class Repeated:
     ext = U2(1)