} // Write() /// <summary> /// Writes (asynchronously) to the current connection. /// </summary> /// <param name="buffer">An array of type Byte that containing the data to send.</param> /// <param name="offset">The zero-based position in the buffer parameter at which to store the received data.</param> /// <param name="len">The number of bytes to receive.</param> /// <param name="userCallback">Callback method to notify application</param> public void Write(byte[] buffer, int offset, int len, LowLevelAsyncCallback userCallback) { // asynchronous mode currently not supported, use default this.port.Write(buffer, offset, len); } // Write()
} // Write() /// <summary> /// Writes (asynchronously) to the current serial connection. /// </summary> /// <param name="data">Data to send.</param> /// <param name="userCallback">Callback method to notify application</param> public void Write(string data, LowLevelAsyncCallback userCallback) { // asynchronous mode currently not supported, use default this.port.Write(data); } // Write()
} // Open() /// <summary> /// Opens (asynchronously) a serial connection. /// </summary> /// <param name="userCallback">Callback method to notify application</param> public void Open(LowLevelAsyncCallback userCallback) { // asynchronous mode currently not supported, use default this.Open(); } // Open()
/// <summary> /// Writes (asynchronously) to the current connection. /// </summary> /// <param name="buffer">An array of type Byte that containing the data /// to send.</param> /// <param name="offset">The zero-based position in the buffer parameter /// at which to store the received data.</param> /// <param name="len">The number of bytes to receive.</param> /// <param name="userCallback">Callback method to notify application</param> public void Write(byte[] buffer, int offset, int len, LowLevelAsyncCallback userCallback) { throw new NotImplementedException(); }
/// <summary> /// Writes (asynchronously) to the current connection. /// </summary> /// <param name="data">Data to send.</param> /// <param name="userCallback">Callback method to notify application</param> public void Write(string data, LowLevelAsyncCallback userCallback) { throw new NotImplementedException(); }
} // Open() /// <summary> /// Opens (asynchronously) a connection. /// </summary> /// <param name="userCallback">Callback method to notify /// application</param> public void Open(LowLevelAsyncCallback userCallback) { this.Open(); } // Open()