readRssi

abstract suspend fun readRssi(): Boolean

Initiates a read of the RSSI value from the peripheral.

The result should be reported by emitting RssiRead event to events flow.

Return

True if RSSI was requested successfully; false otherwise.

Throws

If BLUETOOTH_CONNECT permission is denied.