forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix various miscellaneous Darwin API issues.
This is a re-landing of PR project-chip#22574. * Rename readAttributeWithEndpointID to readAttributePathWithEndpointID * Document readAttributePathWithEndpointID * Rename subscribeAttributeWithEndpointID to subscribeAttributePathWithEndpointID * Document subscribeAttributePathWithEndpointID * Switch various things from "strong" to "copy" for paths, reports, etc. * Remove redundant "nonnull" declarations on properties. * Create typedefs for the NSData representations of certificates, for readability * Replace "(nullable X *)" with "(X * _Nullable)" in various places. * Fix various documentation. * Rename "failSafeExpiryTimeoutSecs" to "failSafeExpiryTimeout". The nullable to _Nullable change we might want to undo, but keeping it for now to make re-landing other PRs that were on top of project-chip#22574 easier. The header changes not accompanied by backwards-compat shims are OK for the following reasons: * The changes to MTRBaseDevice.h are all to MTR_NEWLY_AVAILABLE APIs or fixing obvious API bugs (replacing "strong" with "copy"). * MTRBaseDevice_Internal.h is not public API. * The changes to MTRCertificates.h are all to MTR_NEWLY_AVAILABLE APIs or are source+binary compatible. * The changes to MTRCluster.h are source+binary compatible. * MTRCluster_internal.h is not public API. * The changes to MTRDeviceController.h are source+binary compatible. * The changes to MTRDeviceControllerStartupParams.h are source+binary compatible. * MTRDeviceControllerStartupParams_Internal.h is not public API. * The changes to MTRDevicePairingDelegate.h are source+binary compatible. * The changes to MTRError.h are source+binary compatible. * MTRError_Internal.h is not public API. * The changes to MTRManualSetupPayloadParser.h are source+binary compatible. * The changes to MTROnboardingPayloadParser.h are source+binary compatible. * The changes to MTRPersistentStorageDelegate.h are source+binary compatible. * The changes to MTRQRCodeSetupPayloadParser.h are source+binary compatible. * The changes to MTRSetupPayload.h are source+binary compatible. * The changes to MTRThreadOperationalDataset.h are source+binary compatible. * The changes to MTRBaseClusters.h are source+binary compatible. * The changes to MTRClusters.h are source+binary compatible. * The changes to MTRCommandPayloadsObjc.h are source+binary compatible. * The changes to MTRStructsObjc.h are source+binary compatible.
- Loading branch information
1 parent
42b4438
commit a817c67
Showing
47 changed files
with
1,873 additions
and
1,798 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.