Update Reference.md
This commit is contained in:
parent
1cbac51a43
commit
0602b8ac3f
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue