Skip to content

Commit

Permalink
Add a call SetAdditionalCommissioning() instead of SetCommisioningMod…
Browse files Browse the repository at this point in the history
…e() (#9169)
  • Loading branch information
selissia authored Aug 20, 2021
1 parent 2ff871b commit 84876c7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/mdns/platform/tests/TestPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ CommissionAdvertisingParameters commissionableNodeParamsSmall =
.SetMac(ByteSpan(kMac))
.SetLongDiscriminator(0xFFE)
.SetShortDiscriminator(0xF)
.SetCommissioningMode(false, false);
.SetCommissioningMode(false)
.SetAdditionalCommissioning(false);
// Instance names need to be obtained from the advertiser, so they are not set here.
test::ExpectedCall commissionableSmall = test::ExpectedCall()
.SetProtocol(MdnsServiceProtocol::kMdnsProtocolUdp)
Expand All @@ -89,7 +90,8 @@ CommissionAdvertisingParameters commissionableNodeParamsLarge =
.SetShortDiscriminator(2)
.SetVendorId(chip::Optional<uint16_t>(555))
.SetDeviceType(chip::Optional<uint16_t>(25))
.SetCommissioningMode(true, true)
.SetCommissioningMode(true)
.SetAdditionalCommissioning(false)
.SetDeviceName(chip::Optional<const char *>("testy-test"))
.SetPairingHint(chip::Optional<uint16_t>(3))
.SetPairingInstr(chip::Optional<const char *>("Pair me"))
Expand Down

0 comments on commit 84876c7

Please sign in to comment.