DeviceProvisionConfig class
Configuration for provisioning a new device into the mesh network
Constructors
- DeviceProvisionConfig({required String deviceUuid, required int unicastAddress, int netKeyIndex = 0, int appKeyIndex = 0, bool useFastProvisioning = false, int timeoutSeconds = 60})
-
const
-
DeviceProvisionConfig.fromMap(Map<
String, dynamic> map) -
Create from map received from platform channel
factory
Properties
- appKeyIndex → int
-
Application key index to bind
final
- deviceUuid → String
-
UUID of the device to provision
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- netKeyIndex → int
-
Network key index to use
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeoutSeconds → int
-
Timeout for provisioning operation in seconds
final
- unicastAddress → int
-
Unicast address to assign to the device (must be unique in network)
final
- useFastProvisioning → bool
-
Use fast provisioning (Telink private protocol) if supported
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Convert to map for platform channel communication
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited