How to update virtual node with esp and arduino?

9 years 1 month ago #2516 by arturmaj
I try to update my local EasyIOT server (raspberry pi2) from arduino Uno but connected with esp8266.
The wifi connection has no problem.
I also can connect to my raspberrry. I cannot do virtual node update.
This is what arduino is sending to esp8266:
ESP8266 Demo
Module is ready
AT+CWJAP="e2500","xxxxx"
OK, Connected to WiFi.
AT+CIPSTART="TCP","192.168.90.9",80
POST data to URL:
POST /Api/EasyIoT/Control/Module/Virtual/N4S0/ControlLevel/20.00 HTTP / 1.1
Host: 192.168.90.9
Connection: close
Authorization: Basic YWRtaW46ZxVwYQ==
Content - Length: 0

I am reciving some garbage:
P¦Q�
*5ê‹i—‹¬Z]]l/NMÁ½*’r„ŠÒ¤¦CCERRI5BŠ”)¨¨)ªªB·²ctÞ¹éõ«¨====
My question: How do I authorize with server and shouldn't i use AT+CIPSEND=length of the string to be send?
Are there any documentation?

Please Log in or Create an account to join the conversation.

9 years 1 month ago #2517 by piman

Please Log in or Create an account to join the conversation.

9 years 1 month ago #2520 by arturmaj
18Hi Piman,

I already started and I have read build examples.
If you know how to update virtual node using AT commands or know where the answer is, please point me to it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.149 seconds

Forum latest

  • No posts to display.