From 17d8b94cfba689750bab5ae166cab76ca8fab6b6 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Tue, 26 Jan 2021 19:26:34 -0600 Subject: [PATCH] Update Reference.md --- docs/Reference.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/Reference.md b/docs/Reference.md index b725400..ac4e7d8 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -63,6 +63,12 @@ The following **optional** `homeSpan` methods override various HomeSpan initiali * setting *suffix* to a null string "" is permitted. * example: `homeSpan.begin(Category::Fans, "Living Room Ceiling Fan", "LivingRoomFan");` will yield a default *hostName* of the form *LivingRoomFan-A1B2C3D4E5F6.local*. Calling `homeSpan.setHostNameSuffix("v2")` prior to `homeSpan.begin()` will instead yield a *hostName* of *LivingRoomFanv2.local* +* `void setQRID(const char *ID)` + * changes the Setup ID from the HomeSpan default ("HSPN") to *ID* + * *ID* must be exactly 4 alphanumeric characters. If not, the request to change the Setup ID is silently ignored and remains "HSPN" + * The Setup ID is an optional parameter used when pairing the device to HomeKit with a QR Code (instead of the usual Setup Code) + + ## *SpanAccessory(uint32_t aid)* Creating an instance of this **class** adds a new HAP Accessory to the HomeSpan HAP Database.