annotations / com.gmail.ayteneve93.blueberrysherbetannotations / INDICATE
(JVM) @Target([AnnotationTarget.FUNCTION]) annotation class INDICATE
BLE function annotation for ‘Indicate’ method.
This annotation is used to declare ‘Indicate’ method BLE function.
Example Code
@BlueberryService
interface YourBleService {
@INDICATE("aaaaaaaa-bbbb-cccc-dddd-eeeeeeee0101")
fun funcA()
}
Name | Summary |
---|---|
(JVM) <init> | BLE function annotation for ‘Indicate’ method.INDICATE(uuidString: String , endSignal: String = 0x00.toChar().toString()) |
Name | Summary |
---|---|
(JVM) endSignal | Indication end signal string.val endSignal: String |
(JVM) uuidString | UUID value in string format of BLE characteristic.val uuidString: String |