BlePeripheral

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun getCharacteristicWrites(device: String, service: String, characteristic: String): List<ByteArray>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun isAdapterEnabled(): Boolean
Link copied to clipboard
abstract suspend fun isAdvertising(): Boolean
Link copied to clipboard
abstract suspend fun notifyCharacteristicData(deviceAddress: String, service: String, characteristic: String, data: ByteArray)
Link copied to clipboard
abstract suspend fun setCharacteristicData(service: String, characteristic: String, data: ByteArray)
Link copied to clipboard
abstract suspend fun startAdvertisement(deviceName: String?, services: List<ServiceDescriptionBindingDto>): String?
Link copied to clipboard
abstract suspend fun stopAdvertisement()
Link copied to clipboard
abstract suspend fun stopServer()
Link copied to clipboard
abstract suspend fun waitForCharacteristicRead(device: String, service: String, characteristic: String)