RssiRead

data class RssiRead(val rssi: Int) : GattEvent

Event indicating that the RSSI value has been read.

The RSSI value is the signal strength of the signal received from the peripheral, in dBm. The higher value, the stronger signal. Usually, RSSI is in range -100 dBm (far away) to -30 dBm (very close). The value depends on multiple factors, such as distance, obstacles, antenna, phone orientation, etc.

Parameters

rssi

The RSSI value.

Constructors

Link copied to clipboard
constructor(rssi: Int)

Properties

Link copied to clipboard

Whether the event notifies about a disconnection.

Link copied to clipboard

Whether the event notifies about services change, including disconnection.

Link copied to clipboard
val rssi: Int