shorten the length of the argument you are using as length since you are only filling the txBuffer and it can't have more than 127U. And it's using more space (at least 3 bytes) than requires.
It has been done in new codes for DEN-1090 : DEN-1090-1. But as a general comment its my preferred coding style for readability and its not our rule or requirement.
My intent is to just have a unique ID for each alarm. It's kind of like assigning a trace # to a requirement in an SRS. It's too much trouble to try to keep them in order - you just assign #s as you write them. I could assign #s to each or comment w/ # to right of each.
This one is a formating of the output console and is only used in this method numbers are just preferences for nicer output. No use out of this method.