Skip to content

How to implement older protocol versions #129

Answered by semuadmin
horshees asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @horshees,

There's no major issue adding additional bit flag definitions to an existing bitfield e.g. ...

    "TIM-TP": {
        "towMS": U4,
        "towSubMS": [U4, 2**-32],
        "qErr": I4,
        "week": U2,
        "flags": (
            X1,
            {
                "timeBase": U1,
                "utc": U1,
                "raim": U2,
                "qErrInvalid": U1,
                "TpNotLocked": U1,    # deprecated bit flag
            },
        ),
        "refinfo": (
            X1,
            {
                "timeRefGnss": U4,
                "utcStandard": U4,
            },
        ),
    },

... but in the absence of an explicit version attribute or other …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by semuadmin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
information Information request
2 participants