BluetoothCharacteristic

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

Marks a class as a GATT characteristic of a BluetoothService. Its properties, annotated with access markers such as Readable, Writable, Notifiable or Indicatable, define the characteristic's value(s) and how they may be accessed.

Properties

Link copied to clipboard

the characteristic UUID, either 16-bit shorthand or the full 128-bit form.