2017-06-28 08:12 AM
Hi, I have a problem with SPWF04S.
When send command 'AT+S.PYTHON' the answer is 'AT-S.ERROR:16:Cannot switch to Python shell'I tried to look something in datasheet, but nothing. I dont know how go over. Any idea?#python #spwf04sa2017-06-29 12:06 AM
Hi,
please check the value of 'console_enabled' configuration variable. It must be '2' to enable uPython and '3' to boot from the python script specified in the 'python_script' configuration variable.
You can find these and more details in the application note 'AN4964: MicroPython scripting language over SPWF04S'
2017-07-03 02:43 AM
As I said, I followed the istructions in the application note. Therefore, I set 'console_enabled' to '2' but the answer is like this:
And I checked the value of 'console_enabled':
2017-07-03 03:01 AM
I found a solution. After change 'console_enabled' to 2, I need to save the configuration variable to no volatile storage (AT&W).
Restart the module and now shell started.Thanks for the support.