Detailed Description

Macros

#define CONFIG_SPS30_ERROR_RETRY   (500U)
 Maximum number of automatic retries on communication errors. More...
 

Macro Definition Documentation

◆ CONFIG_SPS30_ERROR_RETRY

#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.

Definition at line 148 of file sps30.h.