bluetooth lowenergy - How the onCharacteristicWrite know the status is success in Android ? -


i developing in ble android , have question oncharacteristicwrite.

i know oncharacteristicwrite call , return status when write value remote ble device.

when oncharacteristicwrite return status 0 after gatt.writecharacteristic, means write success.

question:

how oncharacteristicwrite know return status 0 ?? remote ble device send ack android ??

yes, ble device send successful write acknowledgement. part of low level bluetooth low energy specification.


Comments

Popular posts from this blog

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

node.js - Using Node without global install -

java - JavaScript + Thymeleaf - select onchange -