Update Reference.md

This commit is contained in:
HomeSpan 2020-11-25 13:11:08 -06:00 committed by GitHub
parent b4ab09c3e8
commit 67bd52e7b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -10,10 +10,10 @@ At runtime this HomeSpan will create a global object named `homeSpan` that suppo
* `void begin(Category catID, char *displayName, char *hostNameBase, char *modelName);` * `void begin(Category catID, char *displayName, char *hostNameBase, char *modelName);`
* Initializes HomeSpan * Initializes HomeSpan
* **Must** be called at the beginning of each sketch before any other HomeSpan functions. * **Must** be called at the beginning of each sketch before any other HomeSpan functions
* All arguments are **optional**. * All arguments are **optional**
* *catID* - the HAP Category HomeSpan broadcasts for pairing to HomeKit. Default is [Category::Lighting](Categories.md) * *catID* - the HAP Category HomeSpan broadcasts for pairing to HomeKit. Default is [Category::Lighting](Categories.md)
* *displayName* - the MDNS display name broadcast by HomeSpan. Default is "HomeSpan Server" * *displayName* - the MDNS display name broadcast by HomeSpan. Default is "HomeSpan Server"
* *hostNameBase* - the full MDNS host name is broadcast by HomeSpan as *hostNameBase-DeviceID*.local, where DeviceID is a unique 6-byte code generated automatically by HomeSpan. Default is "HomeSpan" * *hostNameBase* - the full MDNS host name is broadcast by HomeSpan as *hostNameBase-DeviceID*.local, where DeviceID is a unique 6-byte code generated automatically by HomeSpan. Default is "HomeSpan"
* modelName - the HAP model name HomeSpan broadcasts for pairing to HomeKit. Default is "HomeSpan-ESP32" * *modelName* - the HAP model name HomeSpan broadcasts for pairing to HomeKit. Default is "HomeSpan-ESP32"