[Bluetooth] BLEAdapter isScanning and BLEDevice new functions. 35/235535/19
authorArkadiusz Pietraszek <a.pietraszek@samsung.com>
Mon, 13 Jul 2020 12:20:35 +0000 (14:20 +0200)
committerPiotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Tue, 15 Sep 2020 08:40:15 +0000 (10:40 +0200)
commit091e2f15f9b5c481e8d4a9a35ea6498abea29710
tree0b1206ff6198913f526dc13d01d20cecd5fab7fd
parent87cb625f1cd2e3675f668b3807291ce5da270ced
[Bluetooth] BLEAdapter isScanning and BLEDevice new functions.

[ACR] TWDAPI-264

Bluetooth module can be upgraded with these functions provided by native layer:
BluetoothLEAdapter
bool isScanning ()

BluetoothLEDevice
bool isConnected ()
unsigned long getAttMtu ()
void requestAttMtuChange (unsigned long newAttMtu)
long addAttMtuChangeListener (ConnectionMTUCallback callback)
void removeAttMtuChangeListener (long watchId)

[Verification] New functionality has been tested on TW2 device in
developer console.

Change-Id: Id5f56ee4d67591b6d917552c6b7a09d2a5a06386
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@samsung.com>
src/bluetooth/bluetooth_adapter.cc
src/bluetooth/bluetooth_api.js
src/bluetooth/bluetooth_gatt_client_service.cc
src/bluetooth/bluetooth_gatt_client_service.h
src/bluetooth/bluetooth_instance.cc
src/bluetooth/bluetooth_instance.h
src/bluetooth/bluetooth_le_adapter.cc
src/bluetooth/bluetooth_le_adapter.h
src/bluetooth/bluetooth_le_device.cc
src/bluetooth/bluetooth_le_device.h