atproto
atproto copied to clipboard
How about gpio in/out command via AT ? thank's
subj...
please clarify your question !
@gorec2005 You mean like AT+GPIO1=1
to set GPIO1 high and AT+GPIO2=?
to read GPIO2?
whether it is possible to add the ability through AT commands control the state of GPIO outputs and receive status GPIO inputs
Yes!
Yep it is possible. I wonder though why would you want this, are you connecting the esp8266 to some microcontroller without enough GPIOs?
if use esp without microcontroller! - may be just for powerplug ( tcp-server+gpio-in-out )... if it can do onewire protocol it can more useful things without microcontroller :-)
Ooh, I see. Currently AT protocol is used on the serial (UART) interface, not on the network (TCP) side. Data from network is passed through to the application listening on the UART port, no parsing or command processing takes place there.
You can definitely use AT protocol for network communications. You can even reuse all my DCE code for that. You need to set up a tcp server in user_init and then pump received data into dce_handle_input function as I do with serial.
On Thu, Nov 13, 2014 at 4:18 PM, gorec2005 [email protected] wrote:
if use esp without microcontroller! - may be just for powerplug ( tcp-server+gpio-in-out )... if it can do onewire protocol it can more useful things without microcontroller :-)
Reply to this email directly or view it on GitHub https://github.com/igrr/atproto/issues/13#issuecomment-62888661.
Yes! you right!!! with this posibility it's will be really cool for home automation!!!