Ivan Grokhotkov
Ivan Grokhotkov
I think the problem is that you are sending data into a connection that is already closed: ``` +CIPDISCONNECT:3 CIPNOTACCEPT +CIPDR:3,8 AT+CIPSENDI=3,"1\r\n" ``` Here you can not send data to...
Regarding the fact that connections are closed in 2 seconds: I'll add a configurable timeout parameter. Created #20 for that.
Regarding connection re-use. You need to send a +CIPCLOSE command to recycle the connection context when you are done with it. The firmware will not do that for you, because...
I didn't say it won't disconnect, I said it won't recycle the connection context after disconnect. And as I said, I have created a feature request #20 to tune disconnect...
[Some code](https://github.com/igrr/atproto/commit/40bec9bfc382c3067d47fb22bdf6b012e7963e4a) is already [feature/mqtt branch](https://github.com/igrr/atproto/tree/feature/mqtt). I'm porting [PubSubClient](https://github.com/knolleary/pubsubclient), and it has to be done on top of lwip. Contributions are welcome, btw :)
@gorec2005 You mean like `AT+GPIO1=1` to set GPIO1 high and `AT+GPIO2=?` to read GPIO2?
Yep it is possible. I wonder though why would you want this, are you connecting the esp8266 to some microcontroller without enough GPIOs?
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...
That would probably be a good effort, although I imagine it may take quite a lot of resources. We should rebase our changes on the latest upstream version first (#9).
@mirko On the ESP32, you can enable CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN (https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/kconfig.html#config-mbedtls-asymmetric-content-len) to reduce the amount of RAM used by the outgoing fragment buffer.