All Downloads are FREE. Search and download functionalities are using the official Maven repository.

androidMain.dev.bluefalcon.BluetoothPeripheral.kt Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
package dev.bluefalcon

import android.bluetooth.BluetoothDevice

actual class BluetoothPeripheral(val bluetoothDevice: BluetoothDevice) {
    actual val name: String?
        get() = bluetoothDevice.name ?: bluetoothDevice.address
    actual val services: List
        get() = deviceServices
    actual val uuid: String
        get() = bluetoothDevice.address

    actual var rssi: Float? = null

    var deviceServices: List = listOf()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy