diff --git a/src/setup_payload/SetupPayload.h b/src/setup_payload/SetupPayload.h index 5e503aea49f62c..4892e9ea0d2a23 100644 --- a/src/setup_payload/SetupPayload.h +++ b/src/setup_payload/SetupPayload.h @@ -120,6 +120,10 @@ struct PayloadContents uint16_t vendorID = 0; uint16_t productID = 0; CommissioningFlow commissioningFlow = CommissioningFlow::kStandard; + // rendezvousInformation is Optional, because a payload parsed from a manual + // numeric code would not have any rendezvousInformation available. A + // payload parsed from a QR code would always have a value for + // rendezvousInformation. Optional rendezvousInformation; SetupDiscriminator discriminator; uint32_t setUpPINCode = 0;