Modules§
- bootstrap_
ordinals - factory_
data_ manager_ ordinals - pairing_
state_ watcher_ ordinals - provisioner_
ordinals - signer_
ordinals - stack_
ordinals - stack_
provider_ ordinals - svc_
directory_ watcher_ ordinals - wlan_
network_ config_ provider_ ordinals
Structs§
- Factory
Data Manager GetPairing Code Response - Host
Port - A tuple of host and port to represent a connectable endpoint.
- Pairing
State - Current state of pairing/provisioning. At the point of a completely unprovisioned
or factory reset device, all states will be
false. Outside of an explicit ResetConfig call or factory reset, the provisioning states will only transition fromfalsetotrueas Weave profiles are provisioned. - Pairing
State Watcher Watch Pairing State Response - Provisioner
Generate KeyPair Response - QrCode
- QR Code data for pairing.
- Reset
Config Flags - ResetConfig flags.
- Signer
Sign Hash Request - Signer
Sign Hash Response - Signer
Sign Hash With Private KeyRequest - Signer
Sign Hash With Private KeyResponse - Stack
GetQr Code Response - Stack
Reset Config Request - SvcDirectory
Watcher Watch Service Directory Response - Wlan
Network Config Provider Watch Connected Network Response
Enums§
Constants§
- MAX_
HOST_ PORTS - The maximum number of HostPorts that Weave can return in a HostPortList, as weave indexes HostPortLists by a uint8.
- MAX_
PUBLIC_ KEY_ SIZE - The maximum size for a public key produced when generating a key pair.
- MAX_
QR_ CODE_ SIZE - The largest supported size of a QR code encoded in string format may be.
- MAX_
SIGNATURE_ SIZE - The maximum size of a signature supported by Weave.
- RESET_
CONFIG_ ALL - Reset all device configuration information.
Type Aliases§
- Private
Key - Bytes representing a wrapped private key. Since the size of the wrapping is
implementation-defined, the bytes are only bounded by MAX. The bytes should
be considered opaque, both in structure and in content, as the value is only
meaningful to operations such as [
Provisioner.GenerateKeyPair]. - Service
Endpoint Id - An endpoint ID used for identifying which service endpoints are of interest when looking up endpoints in the Weave Service Directory.