The implemented cluster.
ReadonlyeventsAccess the behavior's events.
Optional ReadonlyassociationThe AssociationFailure event shall indicate that a Node has attempted to connect, or reconnect, to a Wi-Fi access point, but is unable to successfully associate or authenticate, after exhausting all internal retries of its supplicant.
Optional ReadonlyconnectionThe ConnectionStatus Event shall indicate that a Node’s connection status to a Wi-Fi network has changed. Connected, in this context, shall mean that a Node acting as a Wi-Fi station is successfully associated to a Wi-Fi Access Point.
Optional Readonlydisconnection?: ClusterEvents.EventObservable<OptionalEvent<TypeFromFields<{ The Disconnection Event shall indicate that a Node’s Wi-Fi connection has been disconnected as a result of de-authenticated or dis-association and indicates the reason.
Supported features as a flag object.
ReadonlystateAccess the behavior's state.
Readonlybssid: null | Uint8ArrayThe BSSID attribute shall indicate the BSSID for which the Wi-Fi network the Node is currently connected.
ReadonlychannelThe ChannelNumber attribute shall indicate the channel that Wi-Fi communication is currently operating on.
Readonlyrssi: null | numberThe RSSI attribute shall indicate the current RSSI of the Node’s Wi-Fi radio in dBm.
ReadonlysecurityThe SecurityType attribute shall indicate the current type of Wi-Fi security used.
ReadonlywiThe WiFiVersion attribute shall indicate the current 802.11 standard version in use by the Node, per the table below.
Static ReadonlyclusterBase cluster state include all attribute values but may be extended by subclasses.
Static ReadonlydefaultsStatic Optional ReadonlydependenciesStatic ReadonlyearlyStatic ReadonlyEventsStatic ReadonlyExtensionStatic ReadonlyidThe behavior ID for ClusterBehaviors is the name of the cluster.
Static ReadonlyInterfaceStatic ReadonlyInternalImplementation of internal state. Subclasses may override to extend.
Static ReadonlynameStatic Optional ReadonlyschemaStatic ReadonlyStateStatic ReadonlysupervisorStaticsupportsDoes this behavior support functionality of a specific implementation?
Release resources. This is the public API for releasing application resources held by behaviors in internal state.
Execute logic with elevated privileges.
The provided function executes with privileges escalated to offline mode. This is not commonly necessary.
Elevated logic effectively ignores ACLs so should be used with care.
Note that interactions with the behavior will remain elevated until the synchronous completion of this call. You should only elevate privileges for synchronous logic.
the elevated logic
ProtectedcallbackCreate a generic callback function that has the same properties as a Reactor.
Like a reactor, the callback's "this" will be bound to an active Behavior instance. Because of this: The reactor MUST be a real JS function - arrow functions will not work!
Behaviors are ephemeral and should not perform initialization in their constructor. They can override this method instead.
This method may be synchronous or asyncronous. If asynchronous, the behavior will not be available for external use until initialization completes.
Optional_options: {}ProtectedreactInstall a Reactor.
Important: The reactor MUST be a real JS function - arrow functions will not work!
StaticalterStaticenableStaticforStaticsetStaticwith
This is the default server implementation of WiFiNetworkDiagnosticsBehavior.