Closed mtrucc closed 3 years ago
I use for this simple bash script on server.
20.01.2018 12:56 PM "mtrucc" notifications@github.com napisał(a):
This project is great! Can add the ability to upload remotely through the server. Is the server to send a command, esp8266 will be able to automatically download the server-side files and programming Arduino
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jeelabs/esp-link/issues/355, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHOUzgfVnlceLf2dqYqt6gQ-mFwPxh5ks5tMdSJgaJpZM4RlaW1 .
@uzi18 No, I mean esp-link can automatically listen for commands from remote servers after networking. For example, I have a server iot.server.com. When esplink is able to connect to the Internet, it starts listening for commands from iot.server.com or sends the IP address to the server so that the server can execute the upload process
You can send this IP to server by using ELClient library.
2018-01-20 13:03 GMT+01:00 mtrucc notifications@github.com:
@uzi18 https://github.com/uzi18 No, I mean esp-link can automatically listen for commands from remote servers after networking. For example, I have a server iot.server.com. When esplink is able to connect to the Internet, it starts listening for commands from iot.server.com or sends the IP address to the server so that the server can execute the upload process
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jeelabs/esp-link/issues/355#issuecomment-359166645, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHOU5YfOhwYQrOfIH4kYDVSQNgVjnmbks5tMdYrgaJpZM4RlaW1 .
@uzi18 My contact email is mtrucc@gmail.com Can you contact me, I will only use docker to compile the file, but I will not modify the file, I would like to know how to add ELClient library to esplink
You add ELClient to Your Arduino project and use there, i assume esp-link is connected to Arduino.
@uzi18 This is not good, I expect esp8266 to be more perfect
@uzi18 I may say incomplete, I mean, expect esp8266 have such a function, so you do not have to write in the Arduino UNO related procedures. Also, esp8266.h will not be used because esplink is affected after using esp-link?
You need to think about esp-link like serial bridge or ethernet card for Arduino :)
With ELClinet lib, You can say to esp-link to connect to one server and send there something (eg. IP) It is realy simple.
Yes, you're right, then I should add ELClient to esplink. Not Arduino.
wow, it's easy for you, but it's hard for me because I only use Arduino IDE to write some very simple programs. Interestingly, before I understood esplink, I turned out to be using the Arduino IDE flash esplink to convert the hex code into hexadecimal and off-line to burn the Arduino. This makes me sad
@uzi18 Can you teach me? My email has been sent to you.
I found that I can not upload programs using WAN IP COM to LAN IP : ok but com to wan ip : failed
too long time later..
This project is great! Can add the ability to upload remotely through the server. Is the server to send a command, esp8266 will be able to automatically download the server-side files and programming Arduino
for example, I am now writing a car anti-theft module, gave my friend, the results module has some BUG, then I need to update remotely.
For example, I have a server iot.server.com. When esplink is able to connect to the Internet, it starts listening for commands from iot.server.com or sends the IP address to the server so that the server can execute the upload process
I should have esplink keep sending to website (POST) Then the server can know the IP
I found that I can not upload programs using WAN IP COM to LAN IP : ok but com to wan ip : failed