OpenSeaMap / logger-oseam-0183

Hardware-logger with 2 channels for NMEA-0183 devices, one channel switchable to Seatalk
http://depth.openseamap.org/logger-bestellen
Apache License 2.0
3 stars 3 forks source link

Logger files need to contain a unique logger ID #3

Open wschildbach opened 10 years ago

wschildbach commented 10 years ago

It would be very useful (in some use cases even necessary) if the logger could put unique logger ID into the files it generates. This way, we can relate uploaded files to the specific logger that generated them.

In cases where one owner has several boats & loggers (but only one upload account) this could make the upload much more convenient.

willie68 commented 10 years ago

Already implemented. In the configuration you can set a so called vessel id. This is a number and should be the vessel id of the registered vessel in the openseamap depth configuration. On Startup the logger read the config.dat file (so the vessel id ) and put the configuration into the EEPROM. On startup logging a new file named OSEAMLOG.CNF will be written and it contains all configuration, the version number of the firmware and die vessel id. The pc logger program will use this information on upload. (At this moment the upload to the OSeaM-Depth website is not working...)

wschildbach commented 10 years ago

Could this information also be put into the log files themselves? If upload is done by hand, it is not intuitive to upload the OSEAMLOG.CNF file as well.

willie68 commented 10 years ago

I'll take it on the list for the version.

willie68 commented 10 years ago

Implemented in Version 15.