nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ sample

int(* vtf_channel::sample) (struct vtf_sample *out)

Fetch the channel's latest sample.

Must be non-NULL. Returns 0 on success or a negative errno; on error, the aggregator marks the snapshot entry with VTF_STATUS_ERROR and keeps the previous value.