From af5839e5a950b7e3079080e4f85397f0400c4aa0 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Sun, 29 May 2022 10:32:57 -0500 Subject: [PATCH] Update Reference.md --- docs/Reference.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/Reference.md b/docs/Reference.md index 46b6e26..9dbd30f 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -40,7 +40,7 @@ The following **optional** `homeSpan` methods override various HomeSpan initiali * if *duration* is set to zero, auto-off is disabled (Status LED will remain on indefinitely) * `int getStatusPin()` -* returns the pin number of the Status LED as set by `setStatusPin(pin)`, or -1 if no pin has been set + * returns the pin number of the Status LED as set by `setStatusPin(pin)`, or -1 if no pin has been set * `void setApSSID(const char *ssid)` * sets the SSID (network name) of the HomeSpan Setup Access Point (default="HomeSpan-Setup") @@ -61,6 +61,9 @@ The following **optional** `homeSpan` methods override various HomeSpan initiali * 2 = all HomeSpan status messages plus all HAP communication packets to and from the HomeSpan device, as well as all `LOG1()` and `LOG2()` messages specified in the sketch by the user * note the log level can also be changed at runtime with the 'L' command via the [HomeSpan CLI](CLI.md) * see [Message Logging](Logging.md) for complete details + +* `int getLogLevel()` + * returns the current Log Level as set by `setLogLevel(level)` * `void reserveSocketConnections(uint8_t nSockets)` * reserves *nSockets* network sockets for uses **other than** by the HomeSpan HAP Server for HomeKit Controller Connections