BluetoothService

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class BluetoothService(val uuid: String)

Marks a class as a GATT service of a Bluetooth device. The BluetoothCharacteristic properties it exposes define the service's characteristics.

Properties

Link copied to clipboard

the service UUID, either 16-bit shorthand (e.g. "180a") or the full 128-bit form.