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.
Sometimes Python needs a brief sleep(0.001) or sleep(0.01) to do certain things like SCI/UART/LIN or handle HW interrupts. Without these, Python crashes or throws in a timeout error or warning of some sort. Anywhere else where there is no need to have a sleep, there should be none.
You are running release
CR4.8.14
FE4.8.14
(20240111091859 2024-01-11 09:20),
please report your release number when reporting bugs.