Adds a timestamp to the incoming text stream after a new line char.
This plugin adds a timestamp to the screen when a new line char is found. This is useful for when you have a device that outputs lines to a serial port but does not include a timestamp.
There is a delay after Insert timestamp sees a new line char (\n) before it adds the timestamp. It waits for the next char to be sent before it adds the timestamp.
This is done so the timestamp is "fresh" for new data. So lets say for example you have a device that is doing printf() to a serial port and it prints a line, waits 2 minutes then outputs a second line. Insert timestamp will output timestamps that show the time that the second line was printed. If it didn't wait (it output a timestamp when it sees a new line) then the timestamp would be 2 minutes off.
Insert timestamp is compatible with WhippyTerm 1.0 however you will not be able to set the format of the timestamp. The format is set to your local OS settings plus a colon. In WhippyTerm 2.0 you can change the format of the timestamp using the same formating as the C strftime() function.
Insert timestamp only adds the timestamp to the display. It does not add anything to the capture or to the hex dumps. If you want to have timestamps in your capture, WhippyTerms capture function has option for adding a timestamp when writing the logs. This is independent of this plugin (so you do not need to install this plugin for it to work)