Command usage on ESP-WROOM-32 board

xiangcheng
Posts: 29
Joined: Mon Feb 20, 2017 2:27 am

Command usage on ESP-WROOM-32 board

Postby xiangcheng » Mon Feb 20, 2017 2:34 am

This is resolved. thanks all.

Hi,

I just received the new board ESP-WROOM-32 board but could not find any command help information. When typing "help" it shows "Please refer to document ssc_commands.xlsx ". when typing "AT" referring from "esp32_at_instruction_set_and_examples_cn", it shows nothing. Please help and thanks a lot.

Please refer to document ssc_commands.xlsx for detail

:>AT
:>AT+GMR

boot log is:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3ffc0000,len:0
load:0x3ffc0000,len:2304
load:0x40078000,len:3788
ho 0 tail 12 room 4
load:0x40098000,len:532
entry 0x4009813c


**************************************
* hello espressif ESP32! *
* 2nd boot is running! *
* version (V0.1) *
**************************************
compile time 18:16:58
Last edited by xiangcheng on Wed Feb 22, 2017 2:33 am, edited 1 time in total.

jimbob
Posts: 29
Joined: Fri Aug 05, 2016 10:47 pm

Re: Command usage on ESP-WROOM-32 board

Postby jimbob » Mon Feb 20, 2017 8:36 am

Hello

Does it run other firmware ok instead of the AT interpreter?

User avatar
rudi ;-)
Posts: 1730
Joined: Fri Nov 13, 2015 3:25 pm

Re: Command usage on ESP-WROOM-32 board

Postby rudi ;-) » Mon Feb 20, 2017 8:46 am

xiangcheng wrote: ..
hi
have you seen this.

but i have also interesst in this list of ssc_command for testing ( and sure in the src of code )
@espressif
know, there is no further support in this, but the firmware is on the DevKit*S
perhabs you can provide the list of commands, cause this will be not the last ask for it from user's

thanks

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1730
Joined: Fri Nov 13, 2015 3:25 pm

Re: Command usage on ESP-WROOM-32 board

Postby rudi ;-) » Mon Feb 20, 2017 9:23 am

ah have seen, its in the start getting 0.1

cause i have just in time not the modul at work desk,
you must test by self - not sure is this actually version or all command works
perhabs you have a try with this,

all zipped
SSC.zip
(797.34 KiB) Downloaded 1383 times

best wishes
rudi ;-)

example:
ESP32_AT_SSL_SSC_50_prozent_15.jpg
ESP32_AT_SSL_SSC_50_prozent_15.jpg (43.41 KiB) Viewed 18154 times
ESP32_AT_SSL_SSC_50_prozent_16.jpg
ESP32_AT_SSL_SSC_50_prozent_16.jpg (43.29 KiB) Viewed 18154 times
Last edited by rudi ;-) on Mon Feb 20, 2017 9:26 am, edited 1 time in total.
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1730
Joined: Fri Nov 13, 2015 3:25 pm

Re: Command usage on ESP-WROOM-32 board

Postby rudi ;-) » Mon Feb 20, 2017 9:24 am

ESP32_AT_SSL_SSC_50_prozent_17.jpg
ESP32_AT_SSL_SSC_50_prozent_17.jpg (42.22 KiB) Viewed 18154 times
ESP32_AT_SSL_SSC_50_prozent_18.jpg
ESP32_AT_SSL_SSC_50_prozent_18.jpg (42.79 KiB) Viewed 18154 times
ESP32_AT_SSL_SSC_50_prozent_19.jpg
ESP32_AT_SSL_SSC_50_prozent_19.jpg (21.82 KiB) Viewed 18154 times
best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1730
Joined: Fri Nov 13, 2015 3:25 pm

Re: Command usage on ESP-WROOM-32 board

Postby rudi ;-) » Mon Feb 20, 2017 9:28 am

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1730
Joined: Fri Nov 13, 2015 3:25 pm

Re: Command usage on ESP-WROOM-32 board

Postby rudi ;-) » Mon Feb 20, 2017 9:38 am

feedback just now,
ok they work!

best wishes
rudi :-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

xiangcheng
Posts: 29
Joined: Mon Feb 20, 2017 2:27 am

Re: Command usage on ESP-WROOM-32 board

Postby xiangcheng » Mon Feb 20, 2017 10:51 am

rudi ;-) wrote:feedback just now,
ok they work!

best wishes
rudi :-)
Really appreciated. but do these commands work? Whenever I set STA or AP mode, it seems the WiFi connection is NOT ok. Could you show me this correct commands to let me do wifi connection at SAP or STA mode?
1. STA
sta -S --> scan is OK. but sta -s <my_ap> doesn't work. I have set with op -S -o 1 to set to sta mode.
:>op -Q
+CURMODE:1

+MODE:OK

:>
:>sta -s kkktpl

:>sta -Q

+JAP:DISCONNECTED
2. AP mode
same commands.

:>op -Q

+CURMODE:2

+MODE:OK

:>ap -S

+SAP:OK

:>ap -Q

+APCONFIG:empty_string,empty_string,11,0,0,4,100

:>ap -s test_ap

+AP:ERROR

:>ap -s test_esp -p 12345678 -t 1 -n 6

+AP:ERROR

:>
:>ap -Q

+APCONFIG:empty_string,empty_string,11,0,0,4,100

User avatar
rudi ;-)
Posts: 1730
Joined: Fri Nov 13, 2015 3:25 pm

Re: Command usage on ESP-WROOM-32 board

Postby rudi ;-) » Tue Feb 21, 2017 3:27 am

hi
ap -s test_esp -p 12345678 -t 1 -n 6
you want -SET
you forget to write -S after ap
-s is parameter for ssid
be sure you use big letter and small letter ( -S -s )

ap_ssc_1.png
ap_ssc_1.png (10.19 KiB) Viewed 18114 times

other example:

ssid: FIREBOOST
pass: not4upublic
encrypt: 3
channel: 5

ap -S -s FIREBOOST -p not4upublic -t 3 -n 5

and querry

ap -Q
ap_ssc_2.png
ap_ssc_2.png (2.38 KiB) Viewed 18113 times

// STATION and SOFTAP Mode
op -S -o 3

// check mode
op -Q

// SCAN AP
sta -S

// Status of Station ( JAP connected or disconnected )
sta -Q

// connect to a JAP
sta -C -s YOURSSID -p YOURPASSWORD

// Disconnect from connected JAP
sta -D


be sure you use big letter if document use big letter
it is differen if you write

op -q

// or

op -Q

..and so on..

hope this helps
in the posted docu all works fine

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

xiangcheng
Posts: 29
Joined: Mon Feb 20, 2017 2:27 am

Re: Command usage on ESP-WROOM-32 board

Postby xiangcheng » Tue Feb 21, 2017 9:39 am

Thanks it works now. Seems no throughput test or ping test tool. what's the real throughput for TCP/UDP tx/rx at 11NA/NG mode? And what's the stability and power status if running long time?
rudi ;-) wrote:hi
ap -s test_esp -p 12345678 -t 1 -n 6
you want -SET
you forget to write -S after ap
-s is parameter for ssid
be sure you use big letter and small letter ( -S -s )

hope this helps
in the posted docu all works fine

best wishes
rudi ;-)

Who is online

Users browsing this forum: No registered users and 99 guests