feat/per-device-wifi #14
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/per-device-wifi"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
esp_console_setup_history() calls linenoiseHistorySetMaxLen(max_history_len), which returns 0 for any length below 1; esp_console_new_repl_usb_serial_jtag() propagates that as ESP_FAIL, so provisioning_start() bailed out and the REPL was never created -- no prompt and no reply to any command, for the life of the device. The config asked for max_history_len 0 ("no history"), which linenoise cannot express; 1 is the smallest accepted value. Only a run on hardware could show this: the boot log carried E (945) console.common: set max history length to 0 failed E (946) provisioning: esp_console_new_repl_usb_serial_jtag -> ESP_FAIL while the host suite (creds + tool) and the firmware build were both happy. Guarded with _Static_assert so the regression fails the build instead. Verified on device (MAC a0:f2:62:e3:47:34) after rebuild + reflash: the boot log shows the REPL banner, the `communicator> ` prompt and "provisioning console ready (wifi set/show/clear)"; `help` lists the wifi command and `wifi show` answers `WIFI: SSID=... PASSWORD=set SRC=build`. The plan's Task 4 prose (.max_history_len = 0) is corrected in the same commit; the SDD ledger records the ruling and what remains unverified.