Revert "added command len to send_command"

This reverts commit fbd8643802fc06ca72e97fddc786b06a97417247.