From 39a41e6f7476cbf24f02cc025a2cae0f2669b70c Mon Sep 17 00:00:00 2001 From: Shana Azria Date: Fri, 29 May 2020 17:39:21 +0200 Subject: [PATCH 1/5] Add TLV implementation in the iOS/macOS CHIP framework --- .../CHIPTool.xcodeproj/project.pbxproj | 4 +- .../CHIPTool/UI/Base.lproj/Main.storyboard | 36 +++++++++++--- .../CHIPTool/UI/QRCodeViewController.h | 1 + .../CHIPTool/UI/QRCodeViewController.m | 8 ++- src/darwin/Framework/CHIP/CHIPError.h | 3 +- src/darwin/Framework/CHIP/CHIPError.mm | 4 ++ src/darwin/Framework/CHIP/CHIPSetupPayload.h | 17 +++++++ src/darwin/Framework/CHIP/CHIPSetupPayload.mm | 49 ++++++++++++++++++- src/setup_payload/tests/TestQRCodeTLV.cpp | 2 +- 9 files changed, 109 insertions(+), 15 deletions(-) diff --git a/src/darwin/CHIPTool/CHIPTool.xcodeproj/project.pbxproj b/src/darwin/CHIPTool/CHIPTool.xcodeproj/project.pbxproj index f5d3f20ea47baa..759468ebd42248 100644 --- a/src/darwin/CHIPTool/CHIPTool.xcodeproj/project.pbxproj +++ b/src/darwin/CHIPTool/CHIPTool.xcodeproj/project.pbxproj @@ -194,7 +194,7 @@ }; }; }; - buildConfigurationList = B204A617244E1D0600C7C0E1 /* Build configuration list for PBXProject "CHIPTool" */; + buildConfigurationList = B204A617244E1D0600C7C0E1 /* Build configuration list for PBXProject "chiptool" */; compatibilityVersion = "Xcode 9.3"; developmentRegion = en; hasScannedForEncodings = 0; @@ -476,7 +476,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - B204A617244E1D0600C7C0E1 /* Build configuration list for PBXProject "CHIPTool" */ = { + B204A617244E1D0600C7C0E1 /* Build configuration list for PBXProject "chiptool" */ = { isa = XCConfigurationList; buildConfigurations = ( B204A649244E1D0700C7C0E1 /* Debug iOS */, diff --git a/src/darwin/CHIPTool/CHIPTool/UI/Base.lproj/Main.storyboard b/src/darwin/CHIPTool/CHIPTool/UI/Base.lproj/Main.storyboard index 0b855604b3aaf8..302525ce01aa6f 100644 --- a/src/darwin/CHIPTool/CHIPTool/UI/Base.lproj/Main.storyboard +++ b/src/darwin/CHIPTool/CHIPTool/UI/Base.lproj/Main.storyboard @@ -1,5 +1,5 @@ - + @@ -19,7 +19,7 @@ - + @@ -61,7 +61,7 @@