You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Darwin API review fixes for MTRSetupPayload and MTROptionalQRCodeInfo (#22566)
* Rename MTRDiscoveryCapabilitiesNone to MTRDiscoveryCapabilitiesUnknown to
indicate capabilities unknown (e.g. manual setup code).
* In MTROptionalQRCodeInfo mark integerValue and stringValue as nullable and
document they are mutually exclusive.
* In MTROptionalQRCodeInfo switch infoType to MTROptionalQRCodeInfoType, not
NSNumber.
* Change rendezvousInformation to just be a MTRDiscoveryCapabilities value, not
nullable NSNumber, with MTRDiscoveryCapabilitiesNone meaning unknown. When
parsing QR code, if the value ends up as 0, reset it to
MTRDiscoveryCapabilitiesOnNetwork.
* Rename setUpPINCode to setupPasscode.
* Mark serialNumber as nullable.
* Add setupPayloadWithOnboardingPayload class method on MTRSetupPayload.
* Stop exposing the various payload parser APIs from the framework;
consumers should use setupPayloadWithOnboardingPayload.
Fixes#22543Fixes#22539
Addresses part of #22420
0 commit comments