Re: [PATCH v3 3/3] iio: flow: add Sensirion SLF3S liquid flow sensor driver
From: Wadim Mueller
Date: Wed Jun 03 2026 - 10:20:24 EST
On Sun, 31 May 2026 21:45:23 -0300
Marcelo Schmitt <marcelo.schmitt1@xxxxxxxxx> wrote:
> Can buf be 6 bytes long? 2 bytes of flow data + 1 CRC + 2 bytes of temp
> + 1 CRC.
Yes. The third word (Byte 7-9 in the datasheet, Table 8) is the signaling
flags: 2 byte flags + 1 CRC. The driver does not use the flags, and the
datasheet says the read can be aborted with a NACK/STOP after the temp
word. So i make buf 6 bytes and read only flow + temp.
Wadim