This task error happens if the resulting string of a Rts_Add_Hex_String exeeds 255 bytes, which is never supposed to happen. The only place this function is used is when adding the CRC to an Eclipse message response.
When investigating this error, I found that the response is tested a short time prior to this call and if it were anywhere close to causing this error, it was already being truncated. Something like an Interrupt would have to be modifying the response while we are building it.
We decided to double buffer the response from the buffer that is used by the RS485 interrupt to ensure that it is not the culpret.
In addition, just prior to calling the Rts_Add_Hex_String function we test again, just to be sure. If we find that it has been modified, we abandon the response to avoid generating the task error or sending a corrupted response.
| Model | Version | Released |
|---|---|---|
| XL2OL | 5.107.1 | 5/28/2026 |
| XL2CL | 5.107.1 | 5/28/2026 |
| XL2OL | 4.107.1 | 5/28/2026 |
| XL2CL | 4.107.1 | 5/28/2026 |