Skip to content

fix(ubx): correct CFG-UART1/2-ENABLED configuration key IDs - #229

Merged
dakejahl merged 1 commit into
PX4:mainfrom
dakejahl:fix/ubx-cfg-uart-enabled-key-ids
Aug 19, 2026
Merged

dakejahl merged 1 commit into
PX4:mainfrom
dakejahl:fix/ubx-cfg-uart-enabled-key-ids

Conversation

@dakejahl

Copy link
Copy Markdown
Contributor

Summary

CFG-UART1-ENABLED and CFG-UART2-ENABLED carried the wrong key IDs. Same fix as the drive-by in #222, split out so it can land on its own.

Problem

Both items are type L, so the storage-size nibble is 1: 0x10520005 and 0x10530005 per the F9 HPG 1.51 and X20 HPG 2.10 interface descriptions. The header had 0x2052_0005 / 0x2053_0005, which is the encoding for a one-byte item and matches no configuration item on any receiver. A CFG-VALSET containing either key is NAKed, and the NAK discards every other key packed into that message.

Nothing on main sends them today, so this is latent, but it blocks any use of the keys — the u-center UART2 mode in #228 is the first caller.

Solution

Use the IDs from the interface descriptions.

Both keys are type L, so the storage-size nibble must be 1, not 2. As
written the receiver NAKs any CFG-VALSET carrying them, taking every
other key in the same message down with it.
@dakejahl
dakejahl merged commit e68deec into PX4:main Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant