- Append an indicator string to truncated messages
- Prevent buffer overrun when messages are truncated.
- Stop wasting a byte at the end of the buffer.
- Do not enter critical section until the mutex is taken.
- Return ESP_ERR_NO_MEM if creating the mutex fails.
First release version.