We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9c192b commit d31f7beCopy full SHA for d31f7be
examples/fabric-bridge-app/fabric-bridge-common/src/ZCLCallbacks.cpp
@@ -34,10 +34,9 @@ Protocols::InteractionModel::Status emberAfExternalAttributeReadCallback(Endpoin
34
const EmberAfAttributeMetadata * attributeMetadata,
35
uint8_t * buffer, uint16_t maxReadLength)
36
{
37
- uint16_t endpointIndex = emberAfGetDynamicIndexFromEndpoint(endpoint);
38
AttributeId attributeId = attributeMetadata->attributeId;
39
40
- Device * dev = DeviceMgr().GetDevice(endpointIndex);
+ Device * dev = DeviceMgr().GetDevice(endpoint);
41
if (dev != nullptr && clusterId == app::Clusters::BridgedDeviceBasicInformation::Id)
42
43
using namespace app::Clusters::BridgedDeviceBasicInformation::Attributes;
0 commit comments