Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect over TCP Address #32

Closed
Ti-webdev opened this issue Jul 13, 2016 · 6 comments
Closed

Connect over TCP Address #32

Ti-webdev opened this issue Jul 13, 2016 · 6 comments

Comments

@Ti-webdev
Copy link

Using Espruino Web IDE we can connect to ESP over TCP/IP address.
It will be useful here too.

@gfwilliams
Copy link
Member

Thanks! Yes, good idea!

@arknotts
Copy link

Would be great to have this as an option! This would let one script code updates to several espruinos over wifi, which could save a lot of time when there are a lot of them. I'm not familiar with the code much, but on first glance it seems that another TCP serial module could be added that isn't coupled to the chrome sockets library. I might try my hand at a PR at some point.

@gfwilliams
Copy link
Member

Hi - yes, that'd be great!

Hopefully it wouldn't be too hard to copy serial_socket.js and make it work with Node's API. Then it's just a matter of making the command-line part of it set Espruino.Config.SERIAL_TCPIP and the port to the same IP address and you're sorted.

Out of interest, what boards are you using it with? ESP8266?

@arknotts
Copy link

@gfwilliams Yes I'm using pretty much all ESP8266's right now. Only one has espruino flashed on it (the rest have nodemcu/lua) but I'm planning on converting the rest over after trying it. I'd love to have my entire IoT codebase in JavaScript (going to try TypeScript on it as well) and being able to update so easily OTA is a big plus.

@planer-pro
Copy link

planer-pro commented Feb 23, 2017

Very useful GREAT IDEA!

jugglingcats pushed a commit to jugglingcats/EspruinoTools that referenced this issue Mar 12, 2018
gfwilliams added a commit that referenced this issue Mar 14, 2018
Fix for #32 connect over TCP/IP using CLI
@gfwilliams
Copy link
Member

done now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants