annotations / com.gmail.ayteneve93.blueberrysherbetannotations / WRITE_WITHOUT_RESPONSE
(JVM) @Target([AnnotationTarget.FUNCTION]) annotation class WRITE_WITHOUT_RESPONSE
BLE function annotation for ‘Write Without Response’ method.
This annotation is used to declare ‘Write Without Response’ method BLE function.
Example Code
@BlueberryService
interface YourBleService {
@WRITE_WITHOUT_RESPONSE("aaaaaaaa-bbbb-cccc-dddd-eeeeeeee0101")
fun funcA()
}
Name | Summary |
---|---|
(JVM) <init> | BLE function annotation for ‘Write Without Response’ method.WRITE_WITHOUT_RESPONSE(uuidString: String , checkIsReliable: Boolean = false) |
Name | Summary |
---|---|
(JVM) checkIsReliable | Set true when it should be reliable write.val checkIsReliable: Boolean |
(JVM) uuidString | UUID value in string format of BLE characteristic.val uuidString: String |