#import <WTLDeviceController+XPC.h>
Protocol that remote object must support over XPC
Definition at line 93 of file WTLDeviceController+XPC.h.
◆ getAnyDeviceControllerWithCompletion:
Gets any available device controller ID
◆ getDeviceControllerWithFabricId:completion:
| - (void) getDeviceControllerWithFabricId: |
|
(uint64_t) |
fabricId |
| completion: |
|
("This never called.") |
|
|
|
(macos(13.0, 13.3)) |
|
|
|
(watchos(9.1, 9.4)) |
|
|
|
(tvos(16.1, 16.4)) |
WTL_DEPRECATED |
|
|
| |
|
optional |
Gets device controller ID corresponding to a specific fabric ID
◆ invokeCommandWithController:nodeId:endpointId:clusterId:commandId:fields:timedInvokeTimeout:completion:
| - (void) invokeCommandWithController: |
|
(id _Nullable) |
controller |
| nodeId: |
|
(uint64_t) |
nodeId |
| endpointId: |
|
(NSNumber *) |
endpointId |
| clusterId: |
|
(NSNumber *) |
clusterId |
| commandId: |
|
(NSNumber *) |
commandId |
| fields: |
|
(id) |
fields |
| timedInvokeTimeout: |
|
(NSNumber *_Nullable) |
timeoutMs |
| completion: |
|
(WTLValuesHandler) |
completion |
|
|
| |
|
required |
Requests invoking command
◆ readAttributeCacheWithController:nodeId:endpointId:clusterId:attributeId:completion:
| - (void) readAttributeCacheWithController: |
|
(id _Nullable) |
controller |
| nodeId: |
|
(uint64_t) |
nodeId |
| endpointId: |
|
(NSNumber *_Nullable) |
endpointId |
| clusterId: |
|
(NSNumber *_Nullable) |
clusterId |
| attributeId: |
|
(NSNumber *_Nullable) |
attributeId |
| completion: |
|
(WTLValuesHandler) |
completion |
|
|
| |
|
required |
Requests reading attribute cache
◆ readAttributeWithController:nodeId:endpointId:clusterId:attributeId:params:completion:
| - (void) readAttributeWithController: |
|
(id _Nullable) |
controller |
| nodeId: |
|
(uint64_t) |
nodeId |
| endpointId: |
|
(NSNumber *_Nullable) |
endpointId |
| clusterId: |
|
(NSNumber *_Nullable) |
clusterId |
| attributeId: |
|
(NSNumber *_Nullable) |
attributeId |
| params: |
|
(NSDictionary< NSString *, id > *_Nullable) |
params |
| completion: |
|
(WTLValuesHandler) |
completion |
|
|
| |
|
required |
Requests reading attribute
◆ stopReportsWithController:nodeId:completion:
| - (void) stopReportsWithController: |
|
(id _Nullable) |
controller |
| nodeId: |
|
(uint64_t) |
nodeId |
| completion: |
|
(dispatch_block_t) |
completion |
|
|
| |
|
required |
Requests to stop reporting
◆ subscribeAttributeWithController:nodeId:endpointId:clusterId:attributeId:minInterval:maxInterval:params:establishedHandler:
| - (void) subscribeAttributeWithController: |
|
(id _Nullable) |
controller |
| nodeId: |
|
(uint64_t) |
nodeId |
| endpointId: |
|
(NSNumber *_Nullable) |
endpointId |
| clusterId: |
|
(NSNumber *_Nullable) |
clusterId |
| attributeId: |
|
(NSNumber *_Nullable) |
attributeId |
| minInterval: |
|
(NSNumber *) |
minInterval |
| maxInterval: |
|
(NSNumber *) |
maxInterval |
| params: |
|
(NSDictionary< NSString *, id > *_Nullable) |
params |
| establishedHandler: |
|
(dispatch_block_t) |
establishedHandler |
|
|
| |
|
required |
Requests subscribing attribute. The minInterval/maxInterval arguments override whatever intervals might be present in params.
◆ subscribeWithController:nodeId:minInterval:maxInterval:params:shouldCache:completion:
| - (void) subscribeWithController: |
|
(id _Nullable) |
controller |
| nodeId: |
|
(uint64_t) |
nodeId |
| minInterval: |
|
(NSNumber *) |
minInterval |
| maxInterval: |
|
(NSNumber *) |
maxInterval |
| params: |
|
(NSDictionary< NSString *, id > *_Nullable) |
params |
| shouldCache: |
|
(BOOL) |
shouldCache |
| completion: |
|
(WTLStatusCompletion) |
completion |
|
|
| |
|
required |
Requests subscription of all attributes. The minInterval/maxInterval arguments override whatever intervals might be present in params.
◆ writeAttributeWithController:nodeId:endpointId:clusterId:attributeId:value:timedWriteTimeout:completion:
| - (void) writeAttributeWithController: |
|
(id _Nullable) |
controller |
| nodeId: |
|
(uint64_t) |
nodeId |
| endpointId: |
|
(NSNumber *) |
endpointId |
| clusterId: |
|
(NSNumber *) |
clusterId |
| attributeId: |
|
(NSNumber *) |
attributeId |
| value: |
|
(id) |
value |
| timedWriteTimeout: |
|
(NSNumber *_Nullable) |
timeoutMs |
| completion: |
|
(WTLValuesHandler) |
completion |
|
|
| |
|
required |
Requests writing attribute
The documentation for this protocol was generated from the following file:
- /Users/humtong/Downloads/Pods_副本/ThingSmartMatterKit/Build/VendorsFramework/Water.framework/Headers/WTLDeviceController+XPC.h