[Bluetooth] Add or modify uuid fields of BLE GATT objects 26/223426/19
authorPawel Wasowski <p.wasowski2@samsung.com>
Wed, 29 Jan 2020 14:38:38 +0000 (15:38 +0100)
committerPiotr Kosko <p.kosko@samsung.com>
Tue, 16 Jun 2020 12:10:02 +0000 (12:10 +0000)
commit07d31e324646e4ee044cd75569be8e9537d3bd9f
treee3bcb806bd1b11c93da8616bdf20c12242cf7593
parente5dc60a2b54d6f7d9608fcba642131d307a9e0bb
[Bluetooth] Add or modify uuid fields of BLE GATT objects

This commit adds uuid field to BluetoothGATTCharacteristic and
BluetoothGATTDescriptor objects and serviceUuid to BluetoothGATTService.
uuid values of BluetoothGATT{Characteristic, Descriptor} and
BluetoothGATTService::serviceUuid default to null,
if Web API implementation is unable to retrieve them from Native API.

There are more UUID fields in Bluetooth API objects, but have not been
made nullable. We expect values of BluetoothLEServiceData::uuid,
BluetoothSocket::uuid, BluetoothServiceHandler::uuid fields
to be valid, if the objects containing them are created successfully.

Related ACR: TWDAPI-255

[Verification] tct-bluetooth-tizen-tests auto: 100%;
               manual Bluetooth04_BLE_wearable: 100%

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