@@ -249,7 +249,7 @@ client's lifecycle:
249
249
return commissionableData;
250
250
}
251
251
252
- // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature commissioning flow :
252
+ // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature:
253
253
public void updateCommissionableDataSetupPasscode(long setupPasscode, int discriminator) {
254
254
commissionableData.setSetupPasscode(setupPasscode);
255
255
commissionableData.setDiscriminator(discriminator);
@@ -281,7 +281,7 @@ client's lifecycle:
281
281
return commissionableData
282
282
}
283
283
284
- // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature commissioning flow :
284
+ // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature:
285
285
func update(_ newCommissionableData: MCCommissionableData) {
286
286
self.commissionableData = newCommissionableData
287
287
}
@@ -842,7 +842,7 @@ void ConnectionHandler(CHIP_ERROR err, matter::casting::core::CastingPlayer * ca
842
842
}
843
843
}
844
844
845
- // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature commissioning flow :
845
+ // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature:
846
846
// Define a callback to handle CastingPlayer’s CommissionerDeclaration messages.
847
847
void CommissionerDeclarationCallback(const chip::Transport::PeerAddress & source,
848
848
chip::Protocols::UserDirectedCommissioning::CommissionerDeclaration cd)
@@ -889,7 +889,7 @@ CHIP_ERROR result = idOptions.addTargetAppInfo(targetAppInfo);
889
889
matter:: casting:: core:: ConnectionCallbacks connectionCallbacks;
890
890
connectionCallbacks. mOnConnectionComplete = ConnectionHandler ;
891
891
892
- // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature commissioning flow :
892
+ // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature:
893
893
// Set the IdentificationDeclaration CommissionerPasscode flag to instruct the CastingPlayer /
894
894
// Commissioner to use the Commissioner-generated Passcode for commissioning. Set the
895
895
// CommissionerDeclarationCallback in ConnectionCallbacks.
@@ -921,7 +921,7 @@ IdentificationDeclarationOptions idOptions = new IdentificationDeclarationOption
921
921
TargetAppInfo targetAppInfo = new TargetAppInfo (DESIRED_TARGET_APP_VENDOR_ID );
922
922
idOptions. addTargetAppInfo(targetAppInfo);
923
923
924
- // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature commissioning flow .
924
+ // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature.
925
925
// Set the IdentificationDeclaration CommissionerPasscode flag to instruct the CastingPlayer /
926
926
// Commissioner to use the Commissioner-generated Passcode for commissioning.
927
927
idOptions = new IdentificationDeclarationOptions (commissionerPasscode: true );
@@ -959,7 +959,7 @@ ConnectionCallbacks connectionCallbacks =
959
959
});
960
960
}
961
961
},
962
- // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature commissioning flow .
962
+ // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature.
963
963
// Define a callback to handle CastingPlayer’s CommissionerDeclaration messages.
964
964
// This can be null if using Casting Client / Commissionee generated passcode commissioning.
965
965
new MatterCallback<CommissionerDeclaration > () {
@@ -1044,7 +1044,7 @@ func connect(selectedCastingPlayer: MCCastingPlayer?) {
1044
1044
}
1045
1045
}
1046
1046
1047
- // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature commissioning flow .
1047
+ // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature.
1048
1048
// Define a callback to handle CastingPlayer’s CommissionerDeclaration messages.
1049
1049
let commissionerDeclarationCallback: (MCCommissionerDeclaration) -> Void = { commissionerDeclarationMessage in
1050
1050
DispatchQueue.main .async {
@@ -1119,7 +1119,7 @@ func connect(selectedCastingPlayer: MCCastingPlayer?) {
1119
1119
)
1120
1120
identificationDeclarationOptions.addTargetAppInfo (targetAppInfo)
1121
1121
1122
- // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature commissioning flow .
1122
+ // If using the alternate CastingPlayer / Commissioner-Generated Passcode UDC feature.
1123
1123
// Set the IdentificationDeclaration CommissionerPasscode flag to instruct the CastingPlayer /
1124
1124
// Commissioner to use the Commissioner-generated Passcode for commissioning. Set the
1125
1125
// CommissionerDeclarationCallback in MCConnectionCallbacks.
0 commit comments