Joli\ArDrone\Control\AtCommand::__toString PHP Method

__toString() public method

public __toString ( )
    public function __toString()
    {
        $command = 'AT*' . $this->type . '=' . $this->sequence;
        if (count($this->args) > 0) {
            $command .= ',' . implode(',', $this->args);
        }
        $command .= "\r";
        return $command;
    }