semuconsulting / pyubx2

Python library for parsing and generating UBX GPS/GNSS protocol messages.
BSD 3-Clause "New" or "Revised" License
165 stars 65 forks source link

Value of "dyn" field in CFG-NAV5 #104

Closed n8ur closed 1 year ago

n8ur commented 1 year ago

I'm not sure if this is a bug or my misinterpretation of the output. The "dyn" field from the parsed CFG-NAV5 POLL message is reported as "1" which is not listed as a valid dynamic model in the HPG 1.32 interface spec. I think the receiver is actually in dynamic model 2 (stationary). The field is a U1, not a flag byte. I don't know if that might be the reason for the discrepancy.

n8ur commented 1 year ago

Sorry -- my mistake. I was confusing the "dyn" flag (reported as an int) with the "dynModel" which is correctly showing the model. (There are a number of places in the CFG-NAV5 message that confused me until I realized that there are flag bits to enable values that are set in later uint fields.)