Check whether enough measurements results have been stored in order to satisfy the numMeasurements-requirement.
This is usually checked after successfully uploading a raw measurement to the calculation server. If the new amount of calculated results does not satisfy the requirements set by the config, another measurement process should be performed.
- The device must be connected to the internet.
- On success: Enough measurement results have been stored, and they can be combined into a single result.
- On repeat: At least one more unprocessed measurement is available.
- On insufficient measurement: All measurements have been processed, but not enough results have been stored.
- In case a measurement has been recorded that could not be processed properly by the server (see here), it will not be stored as a valid measurement result. This can lead to this function exit.