rpiMain.dev.bluefalcon.BluetoothPeripheral.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blue-falcon-rpi Show documentation
Show all versions of blue-falcon-rpi Show documentation
Bluetooth Multiplatform Library
package dev.bluefalcon
import com.welie.blessed.BluetoothPeripheral
actual class BluetoothPeripheral(val bluetoothDevice: BluetoothPeripheral) {
actual val name: String?
get() = bluetoothDevice.name
actual val services: List
get() = deviceServices
actual val uuid: String
get() = bluetoothDevice.address
actual var rssi: Float? = null
var deviceServices: List = listOf()
}