linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem about Read Multiple Raw Function
@ 2019-11-26 12:56 Oezguen Guenyeli
  2019-11-26 15:16 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Oezguen Guenyeli @ 2019-11-26 12:56 UTC (permalink / raw)
  To: linux-iio

Hi, 
I am developing Linux iio driver for one sensor and sensor provides 15 measurement samples that have to been sent the user-space for high level algorithm. 
I can read data from dev/iio:device and I can apply high-level algorithm. However, I have problem about read_raw_multi function. Max_len pass value as INDIO_MAX_RAW_ELEMENTS in iio_read_channel_info function that locates in industrialio-core.c file and INDIO_MAX_RAW_ELEMENTS is defined 4 in iio.h file.
Is there any specific reason to define 4 ? Because in that way I cannot pass 15 values to user space with read_raw_multi function. 

Thanks, 

Özgün Kemal Günyeli


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-26 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26 12:56 Problem about Read Multiple Raw Function Oezguen Guenyeli
2019-11-26 15:16 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).