[WTF] how to develop user AT function?

jerry

[WTF] how to develop user AT function?

Postby jerry » Fri May 22, 2015 2:29 pm

I almost read all the documentation of SDK API guide ver. 1.0.1
and started to see how to add user AT command.
It's really simple, just call at_cmd_array_register.
BUT!
How do I get a connected TCP client's ESPCONN pointer?
WTF!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I can't find any API to get this pointer.
I almost CAN NOT do anything meaningful without ESPCONN pointer.
all AT commands related to send and receive data need that pointer.
Please KEEP open source your AT commands
so that we can add our own function in it.

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: [WTF] how to develop user AT function?

Postby ESP_Faye » Tue May 26, 2015 10:25 am

Hi,

Sorry for the inconvenience.

Espressif AT commands provide 5 network transmissions , ID 0 ~ 4

If you want to add your own AT commands , create TCP connection and send TCP data, you need to define your own espconn pointer.

Here is a demo about TCP connection http://bbs.espressif.com/viewtopic.php?f=21&t=232

Who is online

Users browsing this forum: No registered users and 136 guests