add a more general function to send commands which are not padded