- /* Acquisition settings */
- uint64_t limit_samples; /**< The sampling limit (in number of samples). */
- uint64_t limit_msec; /**< The time limit (in milliseconds). */
- void *session_cb_data; /**< Opaque pointer passed in by the frontend. */
-
- /* Operational state */
- enum optarif optarif; /**< The device mode (which mesures are reported) */
- uint64_t num_samples; /**< The number of already received samples. */
- int64_t start_time; /**< The time at which sampling started. */
-
- /* Temporary state across callbacks */
+ struct sr_sw_limits sw_limits;
+ enum optarif optarif; /**< The device mode (which measures are reported) */