UnicastAddress

A unicast address is a unique address allocated to each element. A unicast address has bit 15 set to 0. The unicast address shall not have the value 0x0000, and therefore can have any value from 0x0001 to 0x7FFF inclusive.

Throws

If the given address value is not a valid Unicast address.

Constructors

Link copied to clipboard
constructor(address: Int)
constructor(address: Address)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val address: Address

16-bit address of the unicast address.

Functions

Link copied to clipboard
operator fun compareTo(o: UnicastAddress): Int
Link copied to clipboard
operator fun minus(other: Int): UnicastAddress
operator fun minus(other: UnicastAddress): UnicastAddress
Link copied to clipboard
operator fun plus(other: Int): UnicastAddress
operator fun plus(other: UnicastAddress): UnicastAddress
Link copied to clipboard
Link copied to clipboard
open override fun toHex(prefix0x: Boolean): String

Converts a mesh address to a hex string.