cancel
Showing results for 
Search instead for 
Did you mean: 

SPWF04S configuration variables from uPython

Dominic Moffat
Associate
Posted on November 06, 2017 at 18:32

Hi

How do I get access to the configuration variables (eg, standby_enabled etc) using a micropython scripts. Also how do I commit the variable changes to flash?

Best Regards

Dom

3 REPLIES 3
Posted on November 08, 2017 at 18:32

Use the machine class. Methods config (AT+S.SCFG-like), config_store (AT+S.WCFG), config_reset (AT+S.FCFG)

Posted on January 08, 2018 at 03:25

How did you know this command existed. I can not find any documentation that called out these methods. I've look on the upython wiki and the ST site. All I can find is the AN4964 document which doesn't have these methods called out. I would like to do some other things but I don't know what is available and I would like to explore using the SWPF04 chip as a hostless part.

Posted on January 09, 2018 at 12:19

You can use the TAB key within the REPL mode to get auto-completion and the list of supported methods