Skip to content

Commit 95ee89f

Browse files
committed
Merge branch 'fix/add_missing_attribute' into 'main'
Add missing tx_error_count attribute definition for ethernet_network_diagnostics cluster See merge request app-frameworks/esp-matter!1301
2 parents 21c53cd + d00dcbf commit 95ee89f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/esp_matter/data_model/esp_matter_attribute.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,6 +1274,12 @@ attribute_t *create_packet_tx_count(cluster_t *cluster, uint64_t value)
12741274
ATTRIBUTE_FLAG_MANAGED_INTERNALLY, esp_matter_uint64(value));
12751275
}
12761276

1277+
attribute_t *create_tx_error_count(cluster_t *cluster, uint64_t value)
1278+
{
1279+
return esp_matter::attribute::create(cluster, EthernetNetworkDiagnostics::Attributes::TxErrCount::Id,
1280+
ATTRIBUTE_FLAG_MANAGED_INTERNALLY, esp_matter_uint64(value));
1281+
}
1282+
12771283
attribute_t *create_collision_count(cluster_t *cluster, uint64_t value)
12781284
{
12791285
return esp_matter::attribute::create(cluster, EthernetNetworkDiagnostics::Attributes::CollisionCount::Id,

0 commit comments

Comments
 (0)