A library for parsing and generating UBX protocol messages used by u-blox GNSS receivers. Current version 1.3.2, supports Python >=3.10. Actively maintained with regular releases.
pip install pyubx2No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parse a raw UBX message and generate a poll request.
Pass bytes object like b'\xb5\xb62...'
Set validate=False if you want to parse malformed messages.
Use mode='serial' or mode='file' instead of protocol='serial'.
Upgrade Python or pin to pyubx2<1.3.0.
Access fields via parsed_message.identity and parsed_message.payload.
Use poll() to generate message bytes, then send them to the receiver.
pip install pyubx2
Check that you pass correct UBX frame including sync chars b'\xb5\xb62'.
Check input data integrity or set validate=False in UBXReader constructor.
No resource links recorded.