Read the lesson first. These are deliberate clear actions for the named course applications, not universal firmware commands. Clearing removes lab credentials; preserve private backups if you need them. Keep secrets out of screenshots, chat and Git.
Front view, antenna up: native USB bottom left. Use one known data cable with other circuits/external supplies disconnected. Close every other serial tool. Rediscover the runtime port if it changes. If you cannot reach the interface, arrange service access instead of repeating radio setup blindly.
Use the C09 computer folder containing its usb_config.py and helper files. Replace PORT with the current runtime port. The first command lists devices; the next reads redacted state; the last deliberately clears the named lab file and disconnects STA.
mpremote connect list python usb_config.py --port PORT status python usb_config.py --port PORT clear
Expected: configured false and no active lab station link. Use C09's hidden-input configure command to send replacement training settings, then restart with BOOT released and verify the fresh STA+IP result. Do not put credentials in command arguments.
Open the USB REPL with mpremote connect PORT repl. Press Ctrl+C twice to stop the running application. To preserve the saved file but open setup again:
import softap_lab softap_lab.run(force_setup=True)
Expected: fresh setup network/key and local address in private USB. Join using the new key. For a deliberate named-file clear instead, interrupt again, then:
import softap_lab print(softap_lab.clear())
Expected: cleared and configured false. Press RST alone, BOOT released. Setup should open again. A new submission still needs current STA+IP and restart proof.
Close the BLE client. Open the current USB REPL and press Ctrl+C twice. Clear only the C12 lab configuration:
import lab_config print(lab_config.clear())
Expected: missing/unconfigured state and no active lab station link. Restart with BOOT released, rescan with the matching C12 client, inspect the service contract and subscribe before sending replacement training settings. A clear is not secure flash erasure.
Use the C13 project and its configured ESP-IDF5.5.2 environment. Open its native USB monitor, replacing PORT:
idf.py -p PORT monitor
If the application is running and its console is ready, send a single C (or c). It deletes only namespace ml_c13, key wifi, commits and restarts. Expected: LAB LAB_KEY_CLEARED_RESTART, followed by a fresh bounded listening window. Exit monitor with Ctrl+].
This is not a Python REPL, a USB credential upload protocol or a clear-all operation. If the app cannot start or reports STORAGE_ERROR_GET_HELP, the C handler may be unavailable: stop and use the documented C13/firmware recovery guidance. Do not promise that another transport's helper will work. Replacing firmware requires backup and the correct generated flash workflow.