@Carsten and @AndrewBCN:
Thanks for the pointers on the UBLOX M9N GPS module;
CFG-NAVSPG-DYNMODEL config key to STAT (2). for setting stationary mode.
I attempted to work this programming out, for educational value, with only the UBLOX documents mentioned in the post, and a blank sheet of paper. I worked out the M9N CFG NAVSPG DYNMODEL message payload in hex
and wrote it down. Then I decided to validate this learning attempt by doing the same message in U-Center 22.02 and watching the hex message that is actually sent to the receiver module if I command it to stationary mode.
FYI, at this point, I learned that there is a mistake (two actually) in the UBLOX document. UBLOX interrface description,
https://content.u-blox.com/sites/default/files/u-blox-M9-SPG-4.04_InterfaceDescription_UBX-21022436.pdf,
on page 87, has the data structure (field definitions) for the UBX-CFG-VALSET message, used to set values in the runtime RAM database. Page 87 is wrong. At payload byte offsets 0 and 1, they claim these are one byte values,
U1 and X1 (one byte each), followed by the two bytes of reserved zeros [U1]2. In fact, while running this config message in Ucenter, the version is 2 bytes, and is equal to 0x09 at byte offset zero, followed by 0x00 at byte 01.
And next, the Layers bitmask, instead of one byte, is actually 0x00 at offset 03, followed by the actual bitmask for RAM, 0x01 at byte offset 4 in the payload. After that comes the two reserved sets of 0x00.
In U-Center I can watch both the sent hexadecimal message for configuration, along with the checksum, and also the CFG-ACK-ACK message that comes back, along with it's checksum bytes.
So U-Center proved to be a useful shortcut, and also a "Document Validation Tool" :-) I hate it when the manufacturer's programming docs are wrong. Apparently not enough employees at UBLOX to actually review
what some other person wrote, BEFORE they ship it :-)
For reference to help others, U-Center shows that it sends this string of bytes to the M9N in order to set STATIONARY mode;
B5 62 06 8A 09 00 00 01 00 00 21 00 11 20 02 EE 4B
U-center also shows that this, below, is the success acknowledge response (UBX-ACK-ACK);
B5 62 05 01 02 00 06 8A 98 C1
FYI only.
Neal