[Bluetooth] Fix writeValue method from BluetoothGATT 84/244184/1
authorRafal Walczyna <r.walczyna@samsung.com>
Tue, 15 Sep 2020 13:27:31 +0000 (15:27 +0200)
committerRafal Walczyna <r.walczyna@samsung.com>
Tue, 15 Sep 2020 14:33:25 +0000 (16:33 +0200)
commit2193b34ed66f2cae6f1f86289b4b686c863a691f
treee2e993b8d57e19bba7ff0331e856c82869f031db
parent10f6001aa4e220bbfc5773c8cf677bf40b3111e4
[Bluetooth] Fix writeValue method from BluetoothGATT

There was an exception when user has not provided callbacks parameters.
successCallback and errorCallback was set to undefined, what caused
validator to fail.

Added array validate to toDOMString method of BluetoothManager

[Verification] tct-bluetooth auto: 100% pass
BluetoothGATTCombined: 100% pass

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