MicrohardPairingParameters
public struct MicrohardPairingParameters : Equatable
Microhard device pairing parameters.
-
Pairing channel, in
Microhard.supportedChannelRange
.Declaration
Swift
public var channel: UInt
-
Pairing power in dBm, in
Microhard.supportedPowerRange
.Declaration
Swift
public var power: UInt
-
Pairing bandwidth, in
Microhard.supportedBandwidths
.Declaration
Swift
public var bandwidth: MicrohardBandwidth
-
Pairing encryption algorithm, in
Microhard.supportedEncryptions
.Declaration
Swift
public var encryption: MicrohardEncryption
-
Constructor.
Declaration
Swift
public init(channel: UInt, power: UInt, bandwidth: MicrohardBandwidth, encryption: MicrohardEncryption)
Parameters
channel
pairing channel in MHz, in
Microhard.supportedChannelRange
power
pairing power in dBm, in
Microhard.supportedPowerRange
bandwidth
pairing bandwidth, in
Microhard.supportedBandwidths
encryption
pairing encryption algorithm, in
Microhard.supportedEncryptions