namespace NModbus
{
///
/// Modbus Serial Master device.
///
public interface IModbusSerialMaster : IModbusMaster
{
///
/// Transport for used by this master.
///
new IModbusSerialTransport Transport { get; }
///
/// Serial Line only.
/// Diagnostic function which loops back the original data.
/// NModbus only supports looping back one ushort value, this is a
/// limitation of the "Best Effort" implementation of the RTU protocol.
///
/// Address of device to test.
/// Data to return.
/// Return true if slave device echoed data.
bool ReturnQueryData(byte slaveAddress, ushort data);
}
}