Update Reference.md

This commit is contained in:
HomeSpan 2022-05-29 10:32:57 -05:00 committed by GitHub
parent c5ba453a95
commit af5839e5a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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) * if *duration* is set to zero, auto-off is disabled (Status LED will remain on indefinitely)
* `int getStatusPin()` * `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)` * `void setApSSID(const char *ssid)`
* sets the SSID (network name) of the HomeSpan Setup Access Point (default="HomeSpan-Setup") * sets the SSID (network name) of the HomeSpan Setup Access Point (default="HomeSpan-Setup")
@ -62,6 +62,9 @@ The following **optional** `homeSpan` methods override various HomeSpan initiali
* note the log level can also be changed at runtime with the 'L' command via the [HomeSpan CLI](CLI.md) * 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 * 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)` * `void reserveSocketConnections(uint8_t nSockets)`
* reserves *nSockets* network sockets for uses **other than** by the HomeSpan HAP Server for HomeKit Controller Connections * reserves *nSockets* network sockets for uses **other than** by the HomeSpan HAP Server for HomeKit Controller Connections
* for sketches compiled under Arduino-ESP32 v2.0.1 or later, HomeSpan reserves 14 sockets for HAP Controller Connections * for sketches compiled under Arduino-ESP32 v2.0.1 or later, HomeSpan reserves 14 sockets for HAP Controller Connections