Class OpenThreadDataset
- Namespace
- nanoFramework.Networking.Thread
- Assembly
- nanoFramework.Networking.Thread.dll
Represents a OpenThread Dataset.
public class OpenThreadDataset
- Inheritance
-
OpenThreadDataset
- Inherited Members
- Extension Methods
Constructors
OpenThreadDataset()
Construct an empty Thread Dataset.
public OpenThreadDataset()
Properties
Channel
Get or Set the Channel.
public ushort Channel { get; set; }
Property Value
ExtendedPanId
Get or Set the Extended PAN ID. Must be a byte[8].
public byte[] ExtendedPanId { get; set; }
Property Value
- byte[]
NetworkKey
Get or set the Thread Network Key. Must be a byte[8].
public byte[] NetworkKey { get; set; }
Property Value
- byte[]
Remarks
This is the only data required to connect to an existing network. Although having channel will speed up connection. Must be 8 bytes length.
NetworkName
Get or Set Network Name. Must be less than or equal to 16 characters.
public string NetworkName { get; set; }
Property Value
Exceptions
- ArgumentOutOfRangeException
Network name is longer then 16 characters.
PSKc
Get or Set the PSKc. The pre-shared key required for commissioner. Must be a byte[16].
public byte[] PSKc { get; set; }
Property Value
- byte[]
PanId
Get or Set the PAN ID.
public ushort PanId { get; set; }