AForge.Robotics.Lego.Internals.SerialCommunication.SendMessage C# (CSharp) Method

SendMessage() public method

Send message to NXT brick over the communication interface.
This method assumes that message starts from the start of the specified buffer and occupies entire buffer.
public SendMessage ( byte message ) : bool
message byte Buffer containing the message to send.
return bool
        public bool SendMessage( byte[] message )
        {
            return SendMessage( message, 0, message.Length );
        }

Same methods

SerialCommunication::SendMessage ( byte message, int length ) : bool
SerialCommunication::SendMessage ( byte message, int offset, int length ) : bool