For the following commands, an I2C write fail might occur when the
sensor is still processing the command and a new command is sent:
sps30_start_measurement
sps30_stop_measurement
sps30_set_fan_auto_cleaning_interval
sps30_set_fan_auto_cleaning_interval_days
sps30_start_manual_fan_cleaning
sps30_reset
A delay of 10ms is added to these commands (15ms for
sps30_set_fan_auto_cleaning_interval and
sps30_set_fan_auto_cleaning_interval_days, 50ms for sps30_reset) to give
the sensor enough time to process these commands
For the following commands, an I2C write fail might occur when the sensor is still processing the command and a new command is sent:
A delay of 10ms is added to these commands (15ms for sps30_set_fan_auto_cleaning_interval and sps30_set_fan_auto_cleaning_interval_days, 50ms for sps30_reset) to give the sensor enough time to process these commands