Add BluetoothGATTServer::isRunning implementation 17/244317/3
authorRafal Walczyna <r.walczyna@samsung.com>
Thu, 17 Sep 2020 07:32:14 +0000 (09:32 +0200)
committerPiotr Kosko <p.kosko@samsung.com>
Thu, 17 Sep 2020 12:20:58 +0000 (12:20 +0000)
commitea89fcee23e92d97bb59187739e6f1d2abcae5fa
tree070a1ee994647440480a000871a98d97bfaae1a2
parent8f8bab739f3f67cafac2e1c6232e9cc5068b0991
Add BluetoothGATTServer::isRunning implementation

Property isRunning has been added to JS BluetoothGATTServer
Changes of property are handled by C++ function
BluetoothGATTServer::SetRunningState. It should be called instead
of changing BluetoothGATTServer::running_ value manually.

[ACR] https://code.sec.samsung.net/jira/browse/TWDAPI-263

[Verification] Tested in Chrome developer console

Change-Id: I423dee736624df61d2cd98096407f33e6003e6ea
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
src/bluetooth/bluetooth_api.js
src/bluetooth/bluetooth_gatt_server.cc
src/bluetooth/bluetooth_gatt_server.h