uBlox UBX checksum calculator
source link: https://gist.github.com/tomazas/3ab51f91cdc418f5704d
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
uBlox UBX checksum calculator · GitHub
Instantly share code, notes, and snippets.
Hi,
i tried it on on the last command at this link
https://ukhas.org.uk/guides:ublox_psm
GPS Cold Start (Forced Watchdog)
0xB5, 0x62, 0x06, 0x04, 0x04, 0x00, 0xFF, 0x87, 0x00, 0x00, 0x94, 0xF5
it fails
it throws
0x94 0x1D instead of above 0x94 0xF5
not sure which is correct, can you please help
Author
You are calculating it wrong. The checksum is calculated only from payload bytes, i.e.: 0x06, 0x04, 0x04, 0x00, 0xFF, 0x87, 0x00, 0x00
No header or checksum bytes are involved in calculation.
After running with your payload, the result is:
UBX packet checksum: 0x94,0xF5
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK