beckdac / ESP8266-transparent-bridge

Absolutely transparent bridge for the ESP8266
GNU General Public License v2.0
367 stars 95 forks source link

AT command from local uart #8

Closed djlover closed 9 years ago

djlover commented 9 years ago

Good day to everyone, I'm trying to use +++AT command but on side uart ( not tcp side of communication ) this will able to change paramenter, join network from local uart device, but I'm still in trouble for now..

petgit commented 9 years ago

The 'AT-Interpreter' is only on network side. I have lost the connection to a device by enter a none numeric value for n with +++AT MODE n. Which is interpreted as +++AT MODE 0: no Station and no AP. I have flashed LUA and set the mode back from 0 to 1. But an 'AT-Interpreter' at uart side would only help if the baudrate is known. I think it would be better to make a condition at some GPIO at boot to reset the settings to initial values as AP with known password. Similiar GPIO=0 at boot to enter flashmode. Any ideas? Some modules have limited GPIO connected. Possible check if a connection between TX & Rx or GPIO 0 exists, if yes, set defaults.

beckdac commented 9 years ago

The AT command set is only on the network side. The GPIO2 is now exposed if that helps implement your idea petgit.