Ejemplo n.º 1
0
        } // 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()
Ejemplo n.º 2
0
        } // 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()
Ejemplo n.º 3
0
        } // 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()
Ejemplo n.º 4
0
 /// <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();
 }
Ejemplo n.º 5
0
 /// <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();
 }
Ejemplo n.º 6
0
        } // Open()

        /// <summary>
        /// Opens (asynchronously) a connection.
        /// </summary>
        /// <param name="userCallback">Callback method to notify
        /// application</param>
        public void Open(LowLevelAsyncCallback userCallback)
        {
            this.Open();
        } // Open()