Merge "[BT C#] Fix BLE scan callback to indicate correct result type" into tizen
authorPyun DoHyun <dh79.pyun@samsung.com>
Mon, 6 Feb 2017 07:56:44 +0000 (23:56 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 6 Feb 2017 07:56:44 +0000 (23:56 -0800)
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothEventArgs.cs
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothGatt.cs

index 6ecbc47..563ba87 100755 (executable)
@@ -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>
index 473ee49..a2db4ca 100755 (executable)
@@ -214,7 +214,7 @@ namespace Tizen.Network.Bluetooth
         }
 
         /// <summary>
-        /// Gets service with given UUID that belongs to this client.
+        /// Gets service with given UUID that belongs to the remote device.
         /// </summary>
         /// <param name="uuid">UUID for the service to get</param>
         /// <returns>service with given uuid if it exists, null otherwise</returns>
@@ -224,9 +224,9 @@ namespace Tizen.Network.Bluetooth
         }
 
         /// <summary>
-        /// Gets list of services that belongs to this client.
+        /// Gets list of services that belongs to the remote device.
         /// </summary>
-        /// <returns>list of services that belongs to this client</returns>
+        /// <returns>list of services that belongs to the remote device</returns>
         public IEnumerable<BluetoothGattService> GetServices()
         {
             return _impl.GetServices(this);