[Bluetooth] Fixed constructor of BluetoothGATTDescriptor.
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Fri, 7 Aug 2015 09:19:33 +0000 (11:19 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Fri, 7 Aug 2015 09:50:19 +0000 (18:50 +0900)
Change-Id: Ic540ec9898af6403cfb3ccd5ddc21b249b834ab5
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
src/bluetooth/bluetooth_api.js

index f813278..08b6aa4 100755 (executable)
@@ -1847,7 +1847,7 @@ var _bleConnectChangeListener = _multipleListenerBuilder(
 );
 
 //class BluetoothGATTDescriptor ////////////////////////////////////////////////////
-var BluetoothGATTDescriptor = function(address) {
+var BluetoothGATTDescriptor = function(data, address) {
   var handle_ = data.handle;
   //address_ is needed to control if device is still connected
   var address_ = address;