Hi
I'm working with ringbuffers (docs.zephyrproject.org/.../ring_buffers.html). I'm using the data item mode. Periodically I put data into the buffer (if I'm correct, you need to use different values for 'my_value' everytime you put something in a ringbuffer). When I press a button, I want to get all the data out of the ringbuffer. Is there a way to call ring_buf_item_get() just once and get all the data of the ringbuffer? And is it possible to explain the meaning of 'my_value', because I'm not sure if I'm doing it right.
Kind regards
Sarah