validate

fun validate(name: String, psk: ByteArray, role: Channel.Role = Channel.Role.SECONDARY): ChannelHelpers.ValidationResult(source)

Validates channel metadata before it is sent to the device.

Checks name length, blank-only names, and supported PSK lengths.

Since

0.1.0