pub struct OpenWindow {
pub status: WindowStatus,
pub expires_at: Instant,
pub admin_fabric: Option<FabricIndex>,
pub admin_vendor: Option<VendorId>,
pub discriminator: u16,
pub ephemeral: Option<EphemeralVerifier>,
}Expand description
An open commissioning window (§11.19.7).
Fields§
§status: WindowStatusWhich method opened it.
expires_at: InstantWhen it closes. §11.19.8.1.1: the timeout “applies only to cessation of any announcements and to accepting of new commissioning sessions; it does not apply to abortion of connections”.
admin_fabric: Option<FabricIndex>AdminFabricIndex — “the FabricIndex associated with the Fabric scoping of the
Administrator that opened the window”.
“If, during an open commissioning window, the fabric for the Administrator that opened
the window is removed, then this attribute SHALL be set to null” — which is why it is
an Option even while the window is open.
admin_vendor: Option<VendorId>AdminVendorId. Unlike the fabric index, this one is not cleared when the fabric
goes: “If the fabric for the Administrator that opened the window is removed from the
node while the commissioning window is still open, this attribute SHALL NOT be
updated.” A user looking at the device still learns who opened it.
discriminator: u16Discriminator — “used by the Node as the long discriminator for DNS-SD
advertisement … for discovery by the new Administrator”.
ephemeral: Option<EphemeralVerifier>The ephemeral PAKE verifier and its PBKDF parameters, for an Enhanced window.
None for a Basic window, which runs against the device’s own factory verifier.