Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

ChannelUpsert

Channel field write or telemetry update, including optional snapshot data and owner/session/revision lineage.

API

Channel field write or telemetry update, including optional snapshot data and owner/session/revision lineage.

Namespace: DARTWIC::Share.

#include <dartwic/share/DARTWICShareProtocol.h>

Declaration

struct ChannelUpsert {
    std::string owner_node;
    std::string channel;
    std::string field = "value";
    Value value;
    std::optional<uint64_t> timestamp;
    std::vector<ChannelSample> samples;
    Value::Object channel_data;
    std::string command_origin;
    uint64_t revision = 0;
    std::string source_session_id;
};