berthubert / galmon

galileo open source monitoring
GNU General Public License v3.0
199 stars 53 forks source link

ubxtool: use the serial number from the stream itself if present #116

Closed jeffpc closed 4 years ago

jeffpc commented 4 years ago

Previously, we would request the serial number from the device (via UBX-SEC-UNIQID) or use a blank when processing a log file.

With this commit, any UBX-SEC-UNIQID messages encountered while processing the stream will override the previously parsed serial number. This allows logfile processing to properly tag its uploads with the serial number.