示例#1
0
 /// <summary>
 /// Set tx buffer transmit to slave device.
 /// </summary>
 /// <param name="slaveIndex">The index of the corresponding slave.</param>
 /// <param name="buffer">Tx buffer.</param>
 /// <param name="dataSize">Size of tx buffer.</param>
 /// <returns>True if buffer was set successfully, false otherwise.</returns>
 public bool SetTxBuffer(int slaveIndex, IntPtr buffer, int dataSize)
 {
     return(EcHL.SetTxBuffer((UInt16)slaveIndex, buffer, dataSize));
 }