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.
public SendMessage ( byte message, int length ) : bool
message byte Buffer containing the message to send.
length int Length of the message to send.
return bool
        public bool SendMessage( byte[] message, int length )
        {
            return SendMessage( message, 0, length );
        }

Same methods

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