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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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_Yún_Address>/arduino/<status>/<pin>/<value(optional)>

Example: http://<Arduino_Yún_Address>/arduino/digital/13/1

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

while with: http://<Arduino_Yún_Address>/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_Yún_Address>/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 '15 at 8:38
    
Did any one manage to find a solution to this problem ?? – Alok Jan 17 at 13:19

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.