From 6cfbe3c209149a2b4768549004c1eb56b2a14201 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Fri, 27 May 2022 18:41:09 -0500 Subject: [PATCH] Update CLI.md --- docs/CLI.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/CLI.md b/docs/CLI.md index a670d2a..1572914 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -35,6 +35,9 @@ In addition to listening for incoming HAP requests, HomeSpan also continuously p * **d** - print the full HAP Accessory Attributes Database in JSON format * This outputs the full HAP Database in JSON format, exactly as it is transmitted to any HomeKit device that requests it (with the exception of the newlines and spaces that make it easier to read on the screen). Note that the value tag for each Characteristic will reflect the *current* value on the device for that Characteristic. +* **m** - print free heap memory (in bytes) + * This prints the amount of memory available for use when creating new objects or allocating memory. Useful for developers only. + * **W** - configure WiFi Credentials and restart * HomeSpan sketches *do not* contain WiFi network names or WiFi passwords. Rather, this information is separately stored in a dedicated Non-Volatile Storage (NVS) partition in the ESP32's flash memory, where it is permanently retained until updated (with this command) or erased (see below). When HomeSpan receives this command it first scans for any local WiFi networks. If your network is found, you can specify it by number when prompted for the WiFi SSID. Otherwise, you can directly type your WiFi network name. After you then type your WiFi Password, HomeSpan updates the NVS with these new WiFi Credentials, and restarts the device.