struct te_mi_log_kvpairΒΆ

Key-value pair that represents a comment to any MI data. Comment is considered an additional MI data. The struct also used to represent a measurement key.

te_kvpair is not used here since it is a tail queue element which is meant to be dynamically allocated. But te_mi_log_meas() API is more convenient to use with an on-stack allocated array argument, which can be easily constructed using te_mi_log_kvpair.

#include <te_mi_log.h>

struct te_mi_log_kvpair {
    // fields

    const char* key;
    const char* value;
};