Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I don't see a reason SensorCollector should send a flag when there is enough data to send, the circular buffer object should be able to tell you when there is enough data to send and it should not be coupled to your specific applicaton. For situations where you want the data to always be contigous and need a general purpose circular buffer, you can take a look at a library i wrote: https://github.com/DNedic/lfbb
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- OpenPicoRTOS: 'cause the world DEFINITELY needs another RTOS !
- How do you handle data coupling between RTOS tasks?
- LFBB – A Lock Free Bipartite Buffer Library Written in Standard C11
- Best practice for preventing data collisions between ISR and non ISR code without turning off interrupts? (FreeRTOS)
- A Lock Free Bipartite Buffer Library Written in Standard C11