Fix ValueChanged callback function bug (#355)
authordh79pyun <31202060+dh79pyun@users.noreply.github.com>
Mon, 30 Jul 2018 05:01:00 +0000 (14:01 +0900)
committertaesubkim <35015408+taesubkim@users.noreply.github.com>
Mon, 30 Jul 2018 05:01:00 +0000 (14:01 +0900)
commit1ecbc5af5e085b883ecedb232e9e921a5b141134
tree0be437da5482dcd957c6abc33c05573a15093fc6
parentb9a8cfc4eab8c5d436440381da7c1b7972f9f0d6
Fix ValueChanged callback function bug (#355)

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