[Bluetooth] Add BluetoothGATTServer. Implement start, stop and getServer 89/235889/13
authorPawel Wasowski <p.wasowski2@samsung.com>
Mon, 6 Jul 2020 18:36:21 +0000 (20:36 +0200)
committerPawel Wasowski <p.wasowski2@samsung.com>
Mon, 17 Aug 2020 16:49:25 +0000 (18:49 +0200)
commit04b8a17a66e7500b82eb913b8ae5588d15bd8466
treea525ee9062ac8d218accaa6ce27c4e7faecfa11b
parentcca975ea4bf08290406a6a5363e1db9acc9b94bd
[Bluetooth] Add BluetoothGATTServer. Implement start, stop and getServer

ACR: TWDAPI-263

This commit adds BluetoothGATTServer class in C++ and implements JS
APIs:
- tizen.bluetooth.getGATTServer()
- BluetoothGATTServer.start()
- BluetoothGATTServer.stop()

Verification: The code tested in the Chrome DevTools console works fine

Change-Id: I688df55298be1b5ec997a5ae8ff42877f1bd6a24
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
src/bluetooth/bluetooth.gyp
src/bluetooth/bluetooth_api.js
src/bluetooth/bluetooth_gatt_server.cc [new file with mode: 0644]
src/bluetooth/bluetooth_gatt_server.h [new file with mode: 0644]
src/bluetooth/bluetooth_instance.cc
src/bluetooth/bluetooth_instance.h
src/bluetooth/bluetooth_util.cc
src/bluetooth/bluetooth_util.h