diff --git a/src/darwin/Framework/CHIP/CHIPDeviceController.mm b/src/darwin/Framework/CHIP/CHIPDeviceController.mm index dce0716239c729..24ec342d232498 100644 --- a/src/darwin/Framework/CHIP/CHIPDeviceController.mm +++ b/src/darwin/Framework/CHIP/CHIPDeviceController.mm @@ -198,7 +198,7 @@ - (BOOL)startup:(_Nullable id)storageDelegate params.fabricStorage = _fabricStorage; params.fabricIndependentStorage = _persistentStorageDelegateBridge; commissionerParams.storageDelegate = _persistentStorageDelegateBridge; - commissionerParams.deviceAddressUpdateDelegate = _pairingDelegateBridge; + commissionerParams.deviceAddressUpdateDelegate = nullptr; commissionerParams.pairingDelegate = _pairingDelegateBridge; commissionerParams.operationalCredentialsDelegate = _operationalCredentialsDelegate; diff --git a/src/darwin/Framework/CHIP/CHIPDevicePairingDelegateBridge.h b/src/darwin/Framework/CHIP/CHIPDevicePairingDelegateBridge.h index 85dbf70eb8272a..7763219114b3ed 100644 --- a/src/darwin/Framework/CHIP/CHIPDevicePairingDelegateBridge.h +++ b/src/darwin/Framework/CHIP/CHIPDevicePairingDelegateBridge.h @@ -23,8 +23,7 @@ NS_ASSUME_NONNULL_BEGIN -class CHIPDevicePairingDelegateBridge : public chip::Controller::DevicePairingDelegate, - public chip::Controller::DeviceAddressUpdateDelegate +class CHIPDevicePairingDelegateBridge : public chip::Controller::DevicePairingDelegate { public: CHIPDevicePairingDelegateBridge(); @@ -40,8 +39,6 @@ class CHIPDevicePairingDelegateBridge : public chip::Controller::DevicePairingDe void OnCommissioningComplete(chip::NodeId deviceId, CHIP_ERROR error) override; - void OnAddressUpdateComplete(chip::NodeId nodeId, CHIP_ERROR error) override; - private: id mDelegate; dispatch_queue_t mQueue; diff --git a/src/darwin/Framework/CHIP/CHIPDevicePairingDelegateBridge.mm b/src/darwin/Framework/CHIP/CHIPDevicePairingDelegateBridge.mm index c0a69fe17cb98d..e026553e3c080d 100644 --- a/src/darwin/Framework/CHIP/CHIPDevicePairingDelegateBridge.mm +++ b/src/darwin/Framework/CHIP/CHIPDevicePairingDelegateBridge.mm @@ -109,9 +109,3 @@ } } } - -void CHIPDevicePairingDelegateBridge::OnAddressUpdateComplete(chip::NodeId nodeId, CHIP_ERROR error) -{ - // Todo, is there any benefit of exposing this anymore? - NSLog(@"OnAddressUpdateComplete. Status %s", chip::ErrorStr(error)); -}