0

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?

2

You need to escape your quotes:

Serial1.println("AT+CIPSTART=\"TCP\",\"192.168.1.5\",1647");
1
  • Man that was fast! Thanks Majenko it worked perfectly!
    – DarkXDroid
    May 14 '16 at 0:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.