Hi everyone,
I’m updating a Matter attribute:
uint16_t mv;
if (get_battery_voltage(&mv) == BATTERY_OK)
{
Clusters::PowerSource::Attributes::BatVoltage::Set(
kPositionEndpoint,
static_cast<uint32_t>(mv),
MarkAttributeDirty::kYes);
}
I’d like to know if there is any callback or event that confirms when the attribute report has actually been sent by the Matter stack.
I don’t need confirmation from the controller; I only need to know that the report transmission has completed so I can safely power down the device.
Is there any recommended way to detect this?
Thanks!