You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.with(device, data -> { /* called when the data have been received */ })
160
+
.with( (device, data)-> { /* called when the data have been received */ })
161
161
// [...]
162
162
// Once again, remember to enqueue each request!
163
163
.enqueue()
@@ -241,4 +241,4 @@ val response: MyResponse = readCharacteristic(someCharacteristic)
241
241
To validate the received value use `suspendForValidResponse()` with a type extending `ProfileReadResponse`.
242
242
See an example [here](https://github.com/NordicSemiconductor/Android-nRF-Blinky/blob/8352e92ce2dd12af5a05a60643a64187473adbc0/blinky/ble/src/main/java/no/nordicsemi/android/blinky/ble/data/LedCallback.kt#L7).
0 commit comments