user3626: The command is working fine if I type it directly to the serial interface
AT+CIPSTART="TCP","192.168.1.5",1647

But if I want to make it automatic and send it whenever I want from inside the code is not working at all. 
Used this but it's not working (Serial1 is from the hardware sp)
Serial1.println("AT+CIPSTART="TCP","192.168.1.5",1647")

Any way to arrange the data?

user4143: You need to escape your quotes:
Serial1.println("AT+CIPSTART=\"TCP\",\"192.168.1.5\",1647");


3626: <p>The command is working fine if I type it directly to the serial interface</p>

<pre><code>AT+CIPSTART="TCP","192.168.1.5",1647
</code></pre>

<p>But if I want to make it automatic and send it whenever I want from inside the code is not working at all. </p>

<p>Used this but it's not working (Serial1 is from the hardware sp)</p>

<pre><code>Serial1.println("AT+CIPSTART="TCP","192.168.1.5",1647")
</code></pre>

<p>Any way to arrange the data?</p>
 4143: <p>You need to escape your quotes:</p>

<pre><code>Serial1.println("AT+CIPSTART=\"TCP\",\"192.168.1.5\",1647");
</code></pre>
