[Tizen.Network.Bluetooth] Fix ValueChanged callback function bug (#354)
authordh79pyun <31202060+dh79pyun@users.noreply.github.com>
Mon, 30 Jul 2018 05:00:37 +0000 (14:00 +0900)
committertaesubkim <35015408+taesubkim@users.noreply.github.com>
Mon, 30 Jul 2018 05:00:37 +0000 (14:00 +0900)
commit1d1c64eca198c8f56cf1c43de2348907b38f3649
tree124d42b6ac34dc122825bec1dc6156d6a94839fb
parent972c5c6b8d7b5a220b78e6426cc3f7e008ac7dbb
[Tizen.Network.Bluetooth] Fix ValueChanged callback function bug (#354)

BluetoothGattCharacteristic.ValueChanged event always calls back
with a Byte array containing only the first byte of the actual
value. This problem is caused by marshaling the byte array from
the unmanaged C code.

Signed-off-by: Arumoy Biswas <arumoy.b@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/Tizen.Network.Bluetooth/Interop/Interop.Bluetooth.cs
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothEventArgs.cs
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothGatt.cs