diff --git a/docs/Reference.md b/docs/Reference.md index 73b3121..a806646 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -83,6 +83,9 @@ The following **optional** `homeSpan` methods override various HomeSpan initiali * `const char *getSketchVersion()` * returns the version of a HomeSpan sketch, as set using `void setSketchVersion(const char *sVer)`, or "n/a" if not set +* `void setWifiCallback(void (*func)(void))` + * Sets an optional user-defined callback function, *func*, to be called by HomeSpan upon start-up just after WiFi connectivity has been established. This one-time call to *func* is provided for users that are implementing other network-related services as part of their sketch, but that cannot be started until WiFi connectivity is established. The function *func* must be of type *void* and have no arguments + ## *SpanAccessory(uint32_t aid)* Creating an instance of this **class** adds a new HAP Accessory to the HomeSpan HAP Database.