This is not the version of the code presented in the demo and now it reads the actual HWClock, not the system clock is being kept by the Linux system. The first one was using the date which has been noted, and it has been changed to the current implementation.
The mode fill is calling this function to get the base weight before a fill (for load cell vs integrated flow check). The large filter takes too long and mode fill sometimes get higher value if drain and fill happens too fast.
Would the end-user know the type of parameter to be sent, or does it make sense to make that choice for them automatically? Think that not all end-users are SW savvy (manufacturing, service, etc.)