Skip to content

Commit

Permalink
Fix selector for status update on CHIPToolDeviceControllerDelegate. (#…
Browse files Browse the repository at this point in the history
…28506)

This did not get correctly updated in
#23665, so it was not
getting the status update callbacks.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Oct 20, 2023
1 parent dec06e3 commit 1208035
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 1208035

Please sign in to comment.