Macros | |
#define | CONFIG_SPS30_ERROR_RETRY (500U) |
Maximum number of automatic retries on communication errors. More... | |
#define CONFIG_SPS30_ERROR_RETRY (500U) |
Maximum number of automatic retries on communication errors.
If no delays happen between individual requests to the sensor, it may happen that the sensor is not yet ready to serve data. Handling this within the driver simplifies application code by omitting sleep handling or retries there. This value may be overwritten to 0 if more fine-grained feedback is required or even increased if the device is connected over suboptimal wiring.