Skip to content

Commit

Permalink
Fix selector for status update on CHIPToolDeviceControllerDelegate.
Browse files Browse the repository at this point in the history
This did not get correctly updated in
project-chip#23665, so it was not
getting the status update callbacks.
  • Loading branch information
bzbarsky-apple committed Aug 3, 2023
1 parent 4b1fcb6 commit a93f9a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
@property MTRDeviceController * commissioner;
@property MTRCommissioningParameters * params;

- (void)controller:(MTRDeviceController *)controller statusUpdate:(MTRCommissioningStatus)status;
- (void)controller:(MTRDeviceController *)controller commissioningSessionEstablishmentDone:(NSError *)error;
- (void)controller:(MTRDeviceController *)controller commissioningComplete:(NSError *)error;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ @interface CHIPToolDeviceControllerDelegate ()
@end

@implementation CHIPToolDeviceControllerDelegate
- (void)onStatusUpdate:(MTRCommissioningStatus)status
- (void)controller:(MTRDeviceController *)controller statusUpdate:(MTRCommissioningStatus)status
{
NSLog(@"Pairing Status Update: %tu", status);
switch (status) {
Expand Down

0 comments on commit a93f9a2

Please sign in to comment.