From a5db90555d3ab8ac24f1f24a3094bce5a739f1d5 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Thu, 22 Dec 2022 12:40:49 -0600 Subject: [PATCH] Update Reference.md --- docs/Reference.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/Reference.md b/docs/Reference.md index 6ea8f8d..19af3d6 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -186,6 +186,13 @@ The following **optional** `homeSpan` methods enable additional features and pro * `void setTimeServerTimeout(uint32_t tSec)` * changes the default 10-second timeout period HomeSpan uses when `enableWebLog()` tries set the device clock from an internet time server to *tSec* seconds +* `void processSerialCommand(const char *CLIcommand)` + * processes the *CLIcommand* just as if were typed into the Serial Monitor + * allows for programmatic access to all CLI commands, included any custom commands defined by the user + * will work whether or not device is connected to a computer + * example: `homeSpan.processSerialCommand("A");` starts the HomeSpan Setup Access Point + * example: `homeSpan.processSerialCommand("Q HUB3");` changes the HomeKit Setup ID for QR Codes to "HUB3" + --- The following **optional** `homeSpan` methods provide additional run-time functionality for more advanced use cases: