Readonly
eventsAccess the behavior's events.
Optional
Readonly
connectionThe ConnectionStatus Event shall indicate that a Node’s connection status to a Thread network has changed.
Optional
Readonly
networkThe NetworkFaultChange Event shall indicate a change in the set of network faults currently detected by the Node.
Supported features as a flag object.
Readonly
stateAccess the behavior's state.
Readonly
activeReadonly
channel: null | numberThe Channel attribute shall indicate the 802.15.4 channel number configured on the Node’s Thread interface (that is, the Active Operational Dataset’s current Channel value). A value of null shall indicate that the Thread interface is not currently configured or operational.
Readonly
channelThe ChannelPage0Mask attribute indicates the channels within channel page 0, in the 2.4GHz ISM band. The channels are represented in most significant bit order, with bit value 1 meaning selected, bit value 0 meaning unselected. For example, the most significant bit of the left-most byte indicates channel 0. If channel 0 and channel 10 are selected, the mask would be: 80 20 00 00. Null when there is no dataset configured.
Readonly
dataThe DataVersion attribute shall indicate the full Network Data Version the Node currently uses. Null if not attached to a Thread network.
Readonly
extendedThe ExtendedPanId attribute shall indicate the unique 64-bit identifier of the Node on the Thread network. A value of null shall indicate that the Thread interface is not currently configured or operational.
Readonly
leaderThe LeaderRouterId attribute shall indicate the 8-bit LeaderRouterId the Node shall attempt to utilize upon becoming a router or leader on the Thread network. Null if not attached to a Thread network.
Readonly
meshThe MeshLocalPrefix attribute shall indicate the mesh-local IPv6 prefix for the Thread network that the Node has been configured to join to. A value of null shall indicate that the Thread interface is not currently configured or operational.
Readonly
neighborThe NeighborTable attribute shall indicate the current list of Nodes that comprise the neighbor table on the Node.
Readonly
networkThe NetworkName attribute shall indicate a human-readable (displayable) name for the Thread network that the Node has been configured to join to. A value of null shall indicate that the Thread interface is not currently configured or operational.
Readonly
operationalThe OperationalDatasetComponents attribute is a collection of flags to indicate the presence of various operationally acquired values.
Readonly
panThe PanId attribute shall indicate the 16-bit identifier of the Node on the Thread network. A value of null shall indicate that the Thread interface is not currently configured or operational.
Readonly
partitionThe PartitionId attribute shall indicate the Thread Leader Partition Id for the Thread network to which the Node is joined. Null if not attached to a Thread network.
Readonly
routeThe RouteTable attribute shall indicate the current list of router capable Nodes for which routes have been established.
Readonly
routingThe RoutingRole attribute shall indicate the role that this Node has within the routing of messages through the Thread network, as defined by RoutingRoleEnum. The potential roles are defined in the following table. A value of null shall indicate that the Thread interface is not currently configured or operational.
Readonly
securityThe SecurityPolicy attribute indicates the current security policies for the Thread partition to which a Node is connected. Null when there is no dataset configured.
Readonly
stableThe StableDataVersion attribute shall indicate the Network Data Version for the stable subset of
data the Node currently uses. Null if not attached to a Thread network.
Readonly
weighting: null | numberThe Weighting attribute shall indicate the Thread Leader Weight used when operating in the Leader role. Null if not attached to a Thread network.
Optional
Readonly
activeNull when there is no dataset configured.
Optional
Readonly
delay?: null | numberNull when there is no dataset configured.
Optional
Readonly
pendingNull when there is no dataset configured.
Release resources. This is the public API for releasing application resources held by behaviors in internal state.
Protected
callbackCreate 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: {}Protected
reactInstall a Reactor.
Important: The reactor MUST be a real JS function - arrow functions will not work!
The implemented cluster.