diff --git a/docs/ServiceList.md b/docs/ServiceList.md
index e6141f1..893e539 100644
--- a/docs/ServiceList.md
+++ b/docs/ServiceList.md
@@ -26,7 +26,8 @@ The pre-defined constant expressions for enumerated Characteristics are in names
-## Mandatory Services
+
+## MANDATORY SERVICES
### AccessoryInformation (3E)
Required Identification Information. For each Accessory in a HomeSpan device this must be included as the first Service.
| Characteristic | Format | Perms | Min | Max | Constants/Defaults |
ServiceLabelNamespace (CD) :small_blue_diamond:- indicates how un-named Services linked together with a ServiceLabel Service should be displayed in the Home App
| uint8 | PR | 0 | 1 | - DOTS (0)
- NUMERALS (1) :heavy_check_mark:
|
-| Version (37) :small_blue_diamond: | string | PR | - | - | "1.0.0" |
-| Mute (11A) :small_blue_diamond: | bool | PW+PR+EV | 0 | 1 | - OFF (0) :heavy_check_mark:
- ON (1)
|
-| Volume (119) | uint8 | PW+PR+EV | 0 | 100 | 0 |
-ConfiguredName (E3) - a "configurable" Service name - any updates made from within the Home App trigger an update in HomeSpan and vice versa.
| string | PW+PR+EV | - | - | "unnamed" |
-| Mute (11A) :small_blue_diamond: | bool | PW+PR+EV | 0 | 1 | - OFF (0) :heavy_check_mark:
- ON (1)
|
-| Volume (119) | uint8 | PW+PR+EV | 0 | 100 | 0 |
-ConfiguredName (E3) - a "configurable" Service name - any updates made from within the Home App trigger an update in HomeSpan and vice versa.
| string | PW+PR+EV | - | - | "unnamed" |
---
diff --git a/src/Span.h b/src/Span.h
index b73058c..fe0e34c 100644
--- a/src/Span.h
+++ b/src/Span.h
@@ -43,6 +43,7 @@
#define END_SERV }};
#define REQ(HAPCHAR) req.push_back(&hapChars.HAPCHAR)
+#define REQ_DEP(HAPCHAR) req.push_back(&hapChars.HAPCHAR)
#define OPT(HAPCHAR) opt.push_back(&hapChars.HAPCHAR)
#define OPT_DEP(HAPCHAR) opt.push_back(&hapChars.HAPCHAR)
@@ -448,20 +449,20 @@ namespace Service {
// Deprecated or unsupported Services
CREATE_SERV_DEP(HAPProtocolInformation,A2)
- REQ(Version);
+ REQ_DEP(Version);
END_SERV
CREATE_SERV_DEP(Microphone,112)
- REQ(Mute);
- OPT(Volume);
- OPT(ConfiguredName);
+ REQ_DEP(Mute);
+ OPT_DEP(Volume);
+ OPT_DEP(ConfiguredName);
OPT_DEP(Name);
END_SERV
CREATE_SERV_DEP(Speaker,113)
- REQ(Mute);
- OPT(Volume);
- OPT(ConfiguredName);
+ REQ_DEP(Mute);
+ OPT_DEP(Volume);
+ OPT_DEP(ConfiguredName);
OPT_DEP(Name);
END_SERV
diff --git a/tools/makeServiceList b/tools/makeServiceList
index 4abd69d..6d35c56 100755
--- a/tools/makeServiceList
+++ b/tools/makeServiceList
@@ -4,6 +4,3 @@ grep -B 1000 "AUTOGENERATED_TEXT" ../docs/ServiceList.md > ServiceList.md
./makeServices ../src/Characteristics.h ../src/Span.h >> ServiceList.md
mv ServiceList.md ../docs/ServiceList.md
-#grep -B 1000 "AUTOGENERATED_TEXT" ../docs/ServiceList_Expanded.md > ServiceList_Expanded.md
-#./makeServices -vdetailsAtt=" open" ../src/Characteristics.h ../src/Span.h >> ServiceList_Expanded.md
-#mv ServiceList_Expanded.md ../docs/ServiceList_Expanded.md
diff --git a/tools/makeServices b/tools/makeServices
index 404c882..ece63f4 100755
--- a/tools/makeServices
+++ b/tools/makeServices
@@ -69,7 +69,7 @@ END {
for(i=0;i