Should use existing override payload structure (the one with the index) located in TestSupport.h. Add an enum in this unit for the 5 DD treatment parameters so you can interpret the index field of the message payload to find the specific parameter that is being overridden.
The value will be updated based on the target value provided by the user. To adjust the minimum and maximum values, use the left and right arrows to update them accordingly.
Thanks for the clarification. This handler already follows the single-parameter MESSAGE_T *message pattern, and the message ID is already defined and registered in Messaging.c. I’ll keep using the existing ID, ensure payload length is validated, and parse the param/value from the payload as expected.
Dara Navaei, this is not a CAN message payload, but it does look like a sensor serial message payload. I'm assuming this code works, so sensor does not expect a packed structure?
statusColor is so general, but is bound to the heparinStatusColor. Please either change the status color to be heparin only or change the heparinStatus Color name to be more general. The latter is better.
the method name we have been using is setObjectText.. please update for consistancy. Test is failing due to this. please test first before committing code