sendCommand implemented.