add generic transmit cmd