/// </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>
/// 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>
}
/// <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>
}
/// <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);