Hi Hristijan,

What do you mean when you say you want to "restart the buffer completely"?
Or to put it another way, what behaviour are you seeing that you are trying
to avoid? And how does this behaviour differ from what you see when you
dock a shimmer to stop logging and remove a shimmer from a dock to restart
logging?

Mike



On Mon, Dec 19, 2011 at 11:44 AM, Hristijan Gjoreski <
[email protected]> wrote:

> Hello,
>
> I am using the JustFatLogging application with additional Bluetooth
> functionality.
> Until now I have managed to program events that stop and start the logging
> on the SD card.
>
> Unfortunately, every time I restart (stop and start) the logging, it
> continues from the same place where it stops.
> I would like to restart the buffer completely. I need the sensor to start
> logging at the moment I send the event for logging.
> I tried by restarting the "dma_blocks" variable to 0, but something wired
> happens. The sensor never starts to log again.
>
> How can I achieve this? I tried by looking at the methods that DMA0
> provides, but without success.
>
> Regards,
> Hristijan Gjoreski
> ______________________________**_________________
> Shimmer-users mailing list
> [email protected]
> https://lists.eecs.harvard.**edu/mailman/listinfo/shimmer-**users<https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users>
>
_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users

Reply via email to