MeshBeaconSecureNetwork
public struct MeshBeaconSecureNetwork : MeshBeacon
Secure Network Mesh Beacon
The Secure Network beacon is used by nodes to identify the subnet and its security state
-
Declaration
Swift
public struct Flag : OptionSet
-
Mesh Beacon Type
Declaration
Swift
private(set) public var unitType: MeshBeaconType { get }
-
Beacon Flags
Declaration
Swift
private(set) public var flags: Flag { get }
-
Network ID
The Network ID of the mesh network
Declaration
Swift
private(set) public var networkId: UInt64 { get }
-
IV Index Value
Current value of the IV Index
Declaration
Swift
private(set) public var ivIndex: UInt32 { get }
-
Authentication Value
Authenticates security network beacon
Declaration
Swift
private(set) public var authenticationValue: UInt64 { get }
-
Undocumented
Declaration
Swift
public init(flags: Flag, networkId: UInt64, ivIndex: UInt32, authenticationValue: UInt64)
-
Encodes Provisioning Protocol Data Unit into Data
Declaration
Swift
public func encode() -> Result<Data, BluetoothEncodeError>
Return Value
Encoded Data Result