[C# Bluetooth]: Add response_needed parameter in eventargs
authorGowtham Anandha Babu <gowtham.ab@samsung.com>
Thu, 2 Feb 2017 06:34:24 +0000 (12:04 +0530)
committerGowtham Anandha Babu <gowtham.ab@samsung.com>
Thu, 2 Feb 2017 06:34:24 +0000 (12:04 +0530)
Change-Id: If914faf163e7e2142d8e0fefafb99c6a8eea691a

src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothEventArgs.cs [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 8c136d6..4d5dbfd
@@ -954,13 +954,14 @@ namespace Tizen.Network.Bluetooth
     /// </summary>
     public class WriteRequestedEventArgs : EventArgs
     {
-        internal WriteRequestedEventArgs(BluetoothGattServer server, string clientAddress, int requestId, byte[] value, int offset)
+        internal WriteRequestedEventArgs(BluetoothGattServer server, string clientAddress, int requestId, byte[] value, int offset, bool response_needed)
         {
             Server = server;
             ClientAddress = clientAddress;
             RequestId = requestId;
             Value = value;
             Offset = offset;
+            Response_needed = response_needed;
         }
 
         /// <summary>
@@ -983,6 +984,10 @@ namespace Tizen.Network.Bluetooth
         /// The offset.
         /// </summary>
         public int Offset { get; }
+        /// <summary>
+        /// Indicates whether a response is required by the remote device.
+        /// </summary>
+        public bool Response_needed { get; }
     }
 
     /// <summary>