ServerConfiguration

sealed interface ServerConfiguration

Represents configuration parameters of server to which sensor sends data

Inheritors

Types

Link copied to clipboard
data class DataServer(val ipAddressOrHostname: IpAddressOrHostname, val port: Port) : ServerConfiguration

Server the sensor sends its measurements to.

Link copied to clipboard
data class UpdateServer(val ipAddressOrHostname: IpAddressOrHostname, val udpPort: Port, val coapPort: Port) : ServerConfiguration

Server the sensor downloads firmware updates from.