FakeMeshNetwork
Fake MeshNetwork for unit testing without hardware.
Provides an in-memory mesh network with controllable state, injected nodes, and recorded sent messages for assertion.
Constructors
Properties
Application keys registered in this network.
Client for configuring nodes post-provisioning.
Flow of incoming mesh messages addressed to our models.
Whether we are currently connected to a proxy node.
Network keys registered in this network.
Our unicast address on this mesh network.
Functions
Add an application key to this network.
Add a network key to this network.
Connect to the mesh network via a GATT Proxy node.
Disconnect from the current proxy node.
Find a node by its primary unicast address.
Remove a node from this network.
Send a mesh message to a destination address.
Send a configuration message encrypted with the node's DeviceKey.