Update Reference.md
This commit is contained in:
parent
23976e5f45
commit
ae7d4ddcb8
|
|
@ -544,6 +544,8 @@ Note that Custom Characteristics must be created at the global level (i.e. not i
|
|||
|
||||
> Advanced Tip 2: The DATA format is not currently used by any native Home App Characteristic, though it is part of the HAP-R2 specifications. This format is included in HomeSpan because other applications, such as *Eve for HomeKit* do use these types of Characteristics to create functionality beyond that of the Home App, and are thus provided for advanced users to experiment.
|
||||
|
||||
> Advanced Tip 3: When using multi-file sketches, the compiler will throw a "redefinition error" if you define the same Custom Characteristic in more than one file. To avoid this error and allow the same Custom Characteristic to be used across more than one file, add the line `#define CUSTOM_CHAR_HEADER` *before* `#include "HomeSpan.h"` in each file containing a *duplicate* definition of a previously-defined Custom Characteristic.
|
||||
|
||||
### *CUSTOM_SERV(name,uuid)*
|
||||
|
||||
Creates a custom Service for use with third-party applications (such as *Eve for HomeKit*). Custom Services will be displayed in the native Apple Home App with a Tile labeled "Not Supported", but otherwise the Service will be safely ignored by the Home App. Parameters are as follows (note that quotes should NOT be used in either of the macro parameters):
|
||||
|
|
|
|||
Loading…
Reference in New Issue