ESP_Faye wrote:Hi rudi,
Could you use SSC commands now ?
SSC commands end with "\r\n".
Thanks for your interest in ESP32 !
Hi Faye
thank you for thinking at this and demand,
since RTOS SDK 1.1.0 i can play with it, RTOS SDK 1.0.0 do not have the example
ok, here my result :
btw the bin example in RTOS 1.1.0 is compiled with RTOS 1.0.0.
after boot the screen is "empty" ( no prompt ) :
EDIT2 we have a prompt, see picture at end
ok. btw perhabs missed the prompt at start?
ok..now i put ssc command "ram" and send like you suggest with \r\n
USER INPUT : ram\r\n
SOC OUTPUT:
Code: Select all
ram\r\n
free heap size:0x12024 73764\r\n
\r\n
:>
looks good,
next user command: i test the same after the response comes,
please, have a look, there is a little \r\n mistake
REMIND SCREEN STAND: :>
USER INPUT again: ram\r\n
SCREEN OUTPUT NOW:
Code: Select all
ram\r\n
\r\n
free heap size:0x12024 73764\r\n
\r\n
:>what?\r\n
so i test after command ram only \r as Send on Enter
and the output looks better:
USER IPUT : ram\r
SOC OUTPUT NOW:
Code: Select all
ram\r\n
\r\n
free heap size:0x12024 73764\r\n
\r\n
:>
i test then only send \r
then the prompt comes always fine.
SCREEN NOW: :>
USER INPUT : \r
SOC OUTPUT:
Code: Select all
:>\r\n
:>
(moretime again user \r)
:>\r\n
:>
:>\r\n
:>
:>\r\n
:>
:>\r\n
:>
:>\r\n
:>
test then allways with \r
reboot .. ok
mac -Q o 1
response
mac -Q o 2
response
EDIT1: btw, be noted, there is no MAC response?
btw we have an IP for AP (192.168.4.1)
see ip check
ap -Q -o 3
response
( note have not set client at this time, so think response is ok )
Code: Select all
ip -Q o 3\r\n
\r\n
ap ip :192.168.4.1\r\n
:>
Faye, because i have not use op -Q s
think the response at this time with:
op -Q
is ok:
Code: Select all
op -Q\r\n
\r\n
get opt\r\n
c 63please check -o param first.\r\n
\r\n
:>
before i try op -S -o ..
can i clear to primordial state by using blank.bin later again ?
is it possible to expand the example by append user code?
or better, have you the or an example in source and can you give free
or an example with one ssc command as example code?
..
next steps:
client mode, scan, ap mode, check connection ..
thank you for your helpfulness.
best wishes
rudi
- ssc_prompt.png (14.94 KiB) Viewed 12813 times