So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By gdsports
#64607
BobAGI wrote:So far OK, but I would like to know if there are TELNET command intercepts implemented because our use case involves a purely binary protocol, so each byte sent in both direction must be forwarded without change. Any kind of "protocol interference" would kill our use of this function.
Is this not happening?


I do not know if it will work for your application. esp-link is used to download firmware to AVR processors using avrdude which indicates it works in binary mode. I think you just have to try it.

BobAGI wrote:And can this system be used on an AdaFruit HUZZAH ESP8266 breakout board https://learn.adafruit.com/adafruit-huzzah-esp8266-breakout/overview? This board is what I can lay my hands on...

I have used esp-link on Huzzah boards. It works best on boards without USB to serial bridge chips like the Huzzah since the uP must be connect to the ESP UART port.
User avatar
By BobAGI
#64622
alex_g wrote:You might also want to have a look at the NodeMCU firmware solution.
This provides a Lua scripting interface to a whole bunch of libraries on the ESP8266, including the "net" and "wifi" and "uart" libraries, which, from the spec you give, I think might cover your needs


Thanks for your input!
I think that AdaFruit ships the HUZZAH Breakout with LUA loaded.
I have tried to find a good tutorial about LUA too but so far unsuccessful...

alex_g wrote:Hi BoB,
http://nodemcu.readthedocs.io/en/master/

If you scroll down on the right sidebar you can see descriptions of all the functionality offered, which

Unfortunately I do not see a sidebar to the right on this page, did you mean left perhaps?
Or else maybe FireFox is involved in reshaping the webpage....
User avatar
By alex_g
#64624 Oh god, and it's usually only my wife that mixes up left and right! Maybe after all this years I've caught the disease too!
Although I put nothing past Firefox, I don't think it was the culprit this time. :lol:

I used this to learn Lua, it's prettygood
https://www.lua.org/pil/contents.html

There is this too, but I don't know it, seems OK
https://www.tutorialspoint.com/lua/

Finally, be absolutely sure to read the FAQ, as it highlights where the event-driven programming model of the ESP8266 differs from procedural-style in Lua.
https://nodemcu.readthedocs.io/en/maste ... is-faq-for

HTH
User avatar
By BobAGI
#64626 Thanks again!
I have ordered a set of boards on Amazon now and am waiting for them.
Also looked at the Chinese offerings via eBay, which seem extremely cheap, but with long freight times....
Anyway, if this pans out I will need to design an interface board for myself with the ESP-12F module itself, possibly an FT232RL serial-to-USB chip and an antenna connector to put into our data collection system.
I need the external antenna connector since everything is built into a metal box...