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

rpiMain.dev.bluefalcon.BluetoothService.kt Maven / Gradle / Ivy

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

import com.welie.blessed.BluetoothGattService

actual class BluetoothService(val service: BluetoothGattService) {
    actual val name: String?
        get() = service.uuid.toString()
    actual val characteristics: List
        get() = service.characteristics.map {
            BluetoothCharacteristic(it)
        }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy