GatewayNotification

Types

Link copied to clipboard

Part of a configuration transfer.

Link copied to clipboard

Part of a device info transfer.

Link copied to clipboard
class Event(notificationData: ByteArray) : GatewayNotification

Something the gateway reported happening, such as a configuration change being accepted or rejected.

Link copied to clipboard

Part of a transfer of the gateway's sensor list.

Link copied to clipboard

A notification the gateway is passing on from one of the sensors it serves.

Link copied to clipboard
class Unknown(notificationData: ByteArray) : GatewayNotification

Notification whose code the library does not recognise. Read code and data to handle it yourself.

Properties

Link copied to clipboard
val code: Int

Code associated with notification

Link copied to clipboard

Notification data (first byte of notification is omitted)

Functions

Link copied to clipboard
open override fun toString(): String