where to get AT CMD example?

wziy520
Posts: 42
Joined: Thu Nov 10, 2016 7:58 am

where to get AT CMD example?

Postby wziy520 » Mon Dec 05, 2016 3:45 pm

Do we have AT CMD simplie example for ESP32?

Does esp have a list with github link for esp example(easy to get) && third part example? If not, recommend file a topic for all example.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: where to get AT CMD example?

Postby kolban » Mon Dec 05, 2016 5:06 pm

The official samples can be found here:

https://github.com/espressif/esp-idf/tr ... r/examples

To the best of my knowledge, there is currently no equivalent of the ESP8266 AT command processor. It might simply be the case that if one wants to use serial AT commands to interact with WiFi then one would stick with the ESP8266 which can perform that task just fine. It may very well be the case that there won't necessarily be an AT command processor for the ESP32 (but maybe there will be enhanced with Bluetooth functions).
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

wziy520
Posts: 42
Joined: Thu Nov 10, 2016 7:58 am

Re: where to get AT CMD example?

Postby wziy520 » Tue Dec 06, 2016 7:54 am

@ kolban
I have this question, because I want build a console log debug system for this Chip for my project ? I think i can reference the AT example.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: where to get AT CMD example?

Postby kolban » Tue Dec 06, 2016 4:02 pm

The ESP-IDF has an architected console logging mechanism built into it. See the macros and definitions in the supplied <esp_log.h> found with documentation here ...

https://github.com/espressif/esp-idf/tr ... onents/log

By using these macros, you can log diagnostics to the serial port or other destination, decide whether the debug statements are included at compile time and for those that are, dynamically enable or disable which ones are active.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

wziy520
Posts: 42
Joined: Thu Nov 10, 2016 7:58 am

Re: where to get AT CMD example?

Postby wziy520 » Thu Dec 08, 2016 7:00 am

thanks @Kolban,

I want get console input example if esp-idf have the example already. and i don't want modify on IDF sdk.
Looks like i need implement it myself.

afeezaziz
Posts: 7
Joined: Sat Dec 31, 2016 5:28 am

Re: where to get AT CMD example?

Postby afeezaziz » Sat Dec 31, 2016 5:31 am

Hi,

I think for the most part, we can use the same AT commands as with ESP8266. I have tried with a few basic AT commands such as AT+CWJAP which do work. Nevertheless, I did not test all.

Please do share if there is extra AT commands for ESP32, since it does have BLE.

wziy520
Posts: 42
Joined: Thu Nov 10, 2016 7:58 am

Re: where to get AT CMD example?

Postby wziy520 » Sun Jan 01, 2017 8:04 am

@afeezaziz

Which example you have test the AT cmd for ESP32, I have try ESP32 examples, all not accept input, only log outputs?

afeezaziz
Posts: 7
Joined: Sat Dec 31, 2016 5:28 am

Re: where to get AT CMD example?

Postby afeezaziz » Fri Jan 06, 2017 3:30 am

Hi @wziy520,

As I mentioned in my previous post, I tried with a few basic AT commands such as AT+CWJAP which do work. Thanks.

WiFive
Posts: 2481
Joined: Tue Dec 01, 2015 7:35 am

Re: where to get AT CMD example?

Postby WiFive » Fri Jan 06, 2017 4:40 am

afeezaziz wrote:Hi @wziy520,

As I mentioned in my previous post, I tried with a few basic AT commands such as AT+CWJAP which do work. Thanks.
Where did you buy your esp32 module/board and was there a firmware preloaded?

afeezaziz
Posts: 7
Joined: Sat Dec 31, 2016 5:28 am

Re: where to get AT CMD example?

Postby afeezaziz » Fri Jan 06, 2017 4:44 am

WiFive wrote:
afeezaziz wrote:Hi @wziy520,

As I mentioned in my previous post, I tried with a few basic AT commands such as AT+CWJAP which do work. Thanks.
Where did you buy your esp32 module/board and was there a firmware preloaded?
AliExpress and yes, firmware preloaded.

Who is online

Users browsing this forum: No registered users and 21 guests