@@ -1158,6 +1158,8 @@ - (void)writeAttributeWithEndpointID:(NSNumber *)endpointID
1158
1158
queue : (dispatch_queue_t )queue
1159
1159
completion : (MTRDeviceResponseHandler)completion
1160
1160
{
1161
+ MTR_LOG (" %@ write %@ 0x%llx 0x%llx: %@" , self, endpointID, clusterID.unsignedLongLongValue , attributeID.unsignedLongLongValue , value);
1162
+
1161
1163
auto * bridge = new MTRDataValueDictionaryCallbackBridge (queue, completion,
1162
1164
^(ExchangeManager & exchangeManager, const SessionHandle & session, MTRDataValueDictionaryCallback successCb,
1163
1165
MTRErrorCallback failureCb, MTRCallbackBridgeBase * bridge) {
@@ -1367,6 +1369,8 @@ - (void)_invokeCommandWithEndpointID:(NSNumber *)endpointID
1367
1369
timeoutMs = MTRClampedNumber (timeoutMs, @(1 ), @(UINT16_MAX));
1368
1370
}
1369
1371
1372
+ MTR_LOG (" %@ invoke %@ 0x%llx 0x%llx: %@" , self, endpointID, clusterID.unsignedLongLongValue , commandID.unsignedLongLongValue , commandFields);
1373
+
1370
1374
auto * bridge = new MTRDataValueDictionaryCallbackBridge (queue, completion,
1371
1375
^(ExchangeManager & exchangeManager, const SessionHandle & session, MTRDataValueDictionaryCallback successCb,
1372
1376
MTRErrorCallback failureCb, MTRCallbackBridgeBase * bridge) {
@@ -2148,6 +2152,12 @@ - (void)downloadLogOfType:(MTRDiagnosticLogType)type
2148
2152
completion: completion];
2149
2153
}
2150
2154
2155
+ - (NSString *)description
2156
+ {
2157
+ return [NSString
2158
+ stringWithFormat: @" <%@ : %p , node: %016llX -%016llX (%llu )>" , NSStringFromClass (self .class ), self , _deviceController.compressedFabricID.unsignedLongLongValue, _nodeID, _nodeID];
2159
+ }
2160
+
2151
2161
@end
2152
2162
2153
2163
@implementation MTRBaseDevice (Deprecated)
0 commit comments