FoundDevice

data class FoundDevice(val deviceName: String, val address: String, val rssi: Int, val lastScanned: LocalDateTime)

A result of a device that has been found nearby.

Parameters

deviceName

The name of the device. This will be the name you need to pass to SOCommOutsideAPI.connect when you want to connect to that device.

address

The MAC address of the device.

rssi

The current RSSI (Received Signal Strength Indicator) of the device. This will be a negative number, nearer devices will have a higher value than devices farther away.

lastScanned

The timestamp of when the device has latest been found in the scan.

Constructors

Link copied to clipboard
constructor(deviceName: String, address: String, rssi: Int, lastScanned: LocalDateTime)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val lastScanned: LocalDateTime
Link copied to clipboard
val rssi: Int