Hello,
I have a value that is read from a device via BLE (every second), but that is not changed every second (it is based on user interaction).
Now I'm wondering if I should just call `setData` and let this method take care of whether the value is changed before writing it to the FIT file, if I should take care not to write unchanged data, or even if Garmin creates an entry every second even when `setData` has not been called.
The documentation is unclear on this point:
Best practice is to only call setData() when values have changed to accommodate Smart Recording.
But Smart Recording is a feature of the Garmin device, so I guess `setData` takes care about changed values!?
If `setData` doesn`t care about this, I will store the previous value in my code and only call the method if the new value differs, but if the `setData` method cares about this, I can save this overhead in my code. Does anyone know how this behaves?
Many regards,
Jens