TelinkMeshConfig class

Configuration for Telink mesh network initialization

Constructors

TelinkMeshConfig({required String networkKey, required int netKeyIndex, required Map<int, String> appKeys, required int ivIndex, required int sequenceNumber, required int localAddress})
const
TelinkMeshConfig.fromMap(Map<String, dynamic> map)
Create from map received from platform channel
factory

Properties

appKeys Map<int, String>
Application keys mapped by their indices
final
hashCode int
The hash code for this object.
no setterinherited
ivIndex int
IV index for network freshness (32-bit value)
final
localAddress int
Local address for this node (unicast address)
final
netKeyIndex int
Network key index (0-4095)
final
networkKey String
Network key for mesh network encryption (16 bytes)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequenceNumber int
Sequence number for message ordering
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