From a770ddecad76926695ba4711ab43d4713bc088ec Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Sun, 15 Nov 2020 10:56:50 -0600 Subject: [PATCH] Update ServiceList.md --- docs/ServiceList.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ServiceList.md b/docs/ServiceList.md index 48a8080..f865f9e 100644 --- a/docs/ServiceList.md +++ b/docs/ServiceList.md @@ -15,7 +15,7 @@ new Service::LightBulb(); // instantiate a Light Bulb Se new Characteristic::Name("Living Room Lamp"); // instantiate an optional Name Characteristic for this Service, and set to "Living Room Lamp" ``` -Please see Section 8 and 9 of [HAP-R2](https://developer.apple.com/support/homekit-accessory-protocol/) for a complete description of all HAP Services and Characteristics. Note that HomeSpan's Service and Characteristic Classes already contain all the required HAP fields, such as the UUID, Format, and Permissions, so you don't need to specify any of these parameters. +Please see Sections 8 and 9 of [HAP-R2](https://developer.apple.com/support/homekit-accessory-protocol/) for a complete description of all HAP Services and Characteristics. Note that HomeSpan's Service and Characteristic Classes already contain all the required HAP fields, such as the UUID, Format, and Permissions, so you don't need to specify any of these parameters. Additionally, when first starting up, HomeSpan begins by validating the device's configuration to ensure each Service you instantiate includes all required Characteristics, but does not include any Characteristics that are neither required nor optional. If any errors are found, HomeSpan reports them to the Arduino Serial Monitor and halts the program.