Sign up ×
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

Sorry about my English.

I'm a new bie in program Arduino and interested in ESP8266. I'm trying to use ESP8266 control Arduino Yun using REST API.

Like you know, we using web browser as

http:///arduino ///value> (optional)>

Example: http:///arduino/digital/13/1

you bring pin 13 to high, by closing the relay and giving light to the LED,

while with: http:///arduino/digital/13/0

the relay is opened and the LED is turned off

and I want to use ESP8266 to send command like using web browser and it didn't work.

After connect to Wifi access point and Server of Yun done, I've tried to send command like

GET /http:///arduino/digital/13/1

Please give me some idea or move advices about this situation. Thanks for reading my topic. :D

Here is my problem:

AT+CIPSTART="TCP","192.168.0.150",80

OK Linked AT+CIPSEND=58

GET /http://192.168.0.150/arduino/digital/13/1 HTTP/1.0\n

wrong syntax

ERROR

share|improve this question
    
The syntax depends on the firmware you're using. Are you using multiplexing? Have you tried if AT+CIPSEND=0,58 also returns "wrong syntax"? –  fuenfundachtzig May 9 at 8:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.