Skip to content

Commit

Permalink
Add attribution data
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Dec 11, 2023
1 parent 302bdd0 commit bd73e8e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/lib/format/protocol_messages.matter
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,24 @@ client cluster IMProtocol = 0xFFFF0001 {
StatusIB status = 1;
}

struct AttributionData {
// NOTE: 0 is missing
int8u context_information = 1;
int32u source_context = 2;

// at-most-one-of {
int64u node_id = 3;
int16u group_id = 4;
// }

// at-most-one-of {
int64u epoch_timestamp = 5;
int64u system_timestamp = 6;
// }

int8u fabric_index = 0xFE;
}

struct AttributeData {
optional int32u data_version = 0;
AttributePathIB path = 1;
Expand Down Expand Up @@ -264,6 +282,8 @@ client cluster IMProtocol = 0xFFFF0001 {
// }

cluster_event_payload data = 7;

AttributionData attribution_data = 8;
}

struct EventReportIB {
Expand All @@ -286,6 +306,7 @@ client cluster IMProtocol = 0xFFFF0001 {
int32u data_version = 0;
AttributePathIB path = 1;
cluster_attribute_payload data = 2;
AttributionData attribution_data = 3;
}

struct WriteRequestMessage {
Expand Down

0 comments on commit bd73e8e

Please sign in to comment.