[Bluetooth] Implement BluetoothGATTServerDescriptor::setReadValueRequestCallback() 86/244186/3
authorPawel Wasowski <p.wasowski2@samsung.com>
Tue, 15 Sep 2020 14:37:55 +0000 (16:37 +0200)
committerPawel Wasowski <p.wasowski2@samsung.com>
Tue, 15 Sep 2020 22:09:48 +0000 (00:09 +0200)
commite02945f443adc4c8bc03d7aa0b1639f7bc9d46b3
tree5fa99dab8f2be33826e45ce24de7ab7c9dfcee5d
parent748cbc62a1c656406233e49adf3ea1697e0e3c52
[Bluetooth] Implement BluetoothGATTServerDescriptor::setReadValueRequestCallback()

This commit isolates the implementation of setReadValueRequestCallback,
which is common for GATT characteristic and descriptor and adds it to
both these interfaces.

[Verification] Tested manually in Chrome DevTools. It works fine

Change-Id: I721db57deb597634dedad3b947590ad7a6e116b7
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
src/bluetooth/bluetooth_api.js