Skip to content

Commit 1026288

Browse files
bzbarsky-applepull[bot]
authored andcommitted
Fix Darwin framework APIs to accept arbitrary types for command invokes (#11767)
* Generate Objective-C types to represent Matter structs and command payloads. * Improve Objective-C to C++ value conversion to handle more cases. * Change Darwin cluster command invocations to take payload structs. * Update the Darwin tests to use the new command APIs. * Update return value decoding for commands on Darwin to use the new APIs. This also extends the return value handling, and the test comparison bits, to all types. * Enable a bunch of complex-types tests on Darwin.
1 parent e4fcb1a commit 1026288

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+11580
-5316
lines changed

examples/chip-tool-darwin/main.m

+1-8
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,7 @@
1616
*
1717
*/
1818

19-
#import <CHIP/CHIPDevice.h>
20-
#import <CHIP/CHIPDeviceController.h>
21-
#import <CHIP/CHIPDevicePairingDelegate.h>
22-
#import <CHIP/CHIPManualSetupPayloadParser.h>
23-
#import <CHIP/CHIPPersistentStorageDelegate.h>
24-
#import <CHIP/CHIPQRCodeSetupPayloadParser.h>
25-
#import <CHIP/CHIPSetupPayload.h>
26-
#import <CHIP/zap-generated/CHIPClustersObjc.h>
19+
#import <CHIP/CHIP.h>
2720
#import <Foundation/Foundation.h>
2821

2922
int main(int argc, const char * argv[]) { return EXIT_SUCCESS; }

0 commit comments

Comments
 (0)