ServiceScope
interface ServiceScope
Scope of a GATT service.
Functions
Link copied to clipboard
open fun Characteristic(shortUuid: Int, property: CharacteristicProperty, builder: CharacteristicScope.() -> Unit = {}): Int
Declares a characteristic with the given 16 or 32 bit short UUID without permission to read or write.
open fun Characteristic(uuid: Uuid, property: CharacteristicProperty, builder: CharacteristicScope.() -> Unit = {}): Int
Declares a characteristic with the given UUID without permission to read or write.
open fun Characteristic(shortUuid: Int, properties: Set<CharacteristicProperty> = emptySet(), permissions: Set<Permission> = emptySet(), builder: CharacteristicScope.() -> Unit = {}): Int
open fun Characteristic(shortUuid: Int, properties: Set<CharacteristicProperty>, permission: Permission, builder: CharacteristicScope.() -> Unit = {}): Int
open fun Characteristic(shortUuid: Int, property: CharacteristicProperty, permission: Permission, builder: CharacteristicScope.() -> Unit = {}): Int
Declares a characteristic with the given 16 or 32 bit short UUID.
abstract fun Characteristic(uuid: Uuid, properties: Set<CharacteristicProperty> = emptySet(), permissions: Set<Permission> = emptySet(), builder: CharacteristicScope.() -> Unit = {}): Int
open fun Characteristic(uuid: Uuid, properties: Set<CharacteristicProperty>, permission: Permission, builder: CharacteristicScope.() -> Unit = {}): Int
open fun Characteristic(uuid: Uuid, property: CharacteristicProperty, permission: Permission, builder: CharacteristicScope.() -> Unit = {}): Int
Declares a characteristic with the given UUID.
Link copied to clipboard
Declares an inner service with the given 16 or 32 bit short UUID.
Declares an inner service with the given UUID.