From c5a30ebedf0f58b3ac7038d0b4de2661dd42cac4 Mon Sep 17 00:00:00 2001 From: Gregg Date: Fri, 19 Jan 2024 17:33:41 -0600 Subject: [PATCH] update --- src/Span.h | 7 +- tools/makeServiceList | 11 ++- tools/test.md | 164 +++++++++++++++++++++--------------------- 3 files changed, 96 insertions(+), 86 deletions(-) diff --git a/src/Span.h b/src/Span.h index a315c7f..57c6172 100644 --- a/src/Span.h +++ b/src/Span.h @@ -48,9 +48,14 @@ namespace Service { OPT(Name); OPT(SerialNumber); OPT(HardwareRevision); - OPT(AccessoryFlags); + OPT(AccessoryFlags); END_SERV +//! Here is some important text you need to read. +//! Spacing is not critical since this will be +//! formated in HTML where spaces are ignored. +//! You can use *standard* markdown elements as well. + CREATE_SERV(AirPurifier,BB) REQ(Active); REQ(CurrentAirPurifierState); diff --git a/tools/makeServiceList b/tools/makeServiceList index ca6bd7c..ecc2510 100755 --- a/tools/makeServiceList +++ b/tools/makeServiceList @@ -6,13 +6,19 @@ BEGIN { charsFile = "../src/Characteristics.h" ws="[ \t,();]+" # regexp of separators - ltws="^" ws "|" ws "$" # regexp of leading and training separators + ltws="^" ws "|" ws "$" # regexp of leading and trailing separators nServs=0 while(getline < servicesFile ){ gsub(ltws,"") # strip out leading or trailing separators + + if(index($0,"//!")==1){ + desc[currentService]=desc[currentService] " " substr($0,4) + continue + } + n=split($0,x,ws) # split line by separators if(x[1]=="CREATE_SERV"){ @@ -20,7 +26,6 @@ BEGIN { services[nServs++]=currentService uuid[currentService]=x[3] nChars[currentService]=0 - desc[currentService]="Placeholder for description of Service" } else if(x[1]=="REQ" || x[1]=="OPT"){ @@ -84,7 +89,7 @@ BEGIN { printf("\n") } - printf(">\n\n") + printf("\n\n") } } diff --git a/tools/test.md b/tools/test.md index 1402e0a..a2ca0c5 100644 --- a/tools/test.md +++ b/tools/test.md @@ -1,5 +1,5 @@ ## AccessoryInformation (3E) -
Placeholder for description of Service
+
Here is some important text you need to read. Spacing is not critical since this will be formated in HTML where spaces are ignored. You can use *standard* markdown elements as well.
@@ -9,10 +9,10 @@ -
CharacteristicUUIDFormatPermsMinMaxConstants
Identify14boolPW01
    FirmwareRevision52stringPR+EV--
      SerialNumber30stringPR--
        HardwareRevision53stringPR--
          AccessoryFlagsA6uint32PR+EV11
            >
            + ## AirPurifier (BB) -
            Placeholder for description of Service
            +

            @@ -21,10 +21,10 @@ -
            CharacteristicUUIDFormatPermsMinMaxConstants
            ActiveB0uint8PW+PR+EV01
            • INACTIVE (0)
            • ACTIVE (1)
            CurrentAirPurifierStateA9uint8PR+EV02
            • INACTIVE (0)
            • IDLE (1)
            • PURIFYING (2)
            RotationSpeed29floatPR+PW+EV0100
              SwingModeB6uint8PR+EV+PW01
              • SWING_DISABLED (0)
              • SWING_ENABLED (1)
              LockPhysicalControlsA7uint8PW+PR+EV01
              • CONTROL_LOCK_DISABLED (0)
              • CONTROL_LOCK_ENABLED (1)
              >
              + ## AirQualitySensor (8D) -
              Placeholder for description of Service
              +

              @@ -38,19 +38,19 @@ -
              CharacteristicUUIDFormatPermsMinMaxConstants
              AirQuality95uint8PR+EV05
              • UNKNOWN (0)
              • EXCELLENT (1)
              • GOOD (2)
              • FAIR (3)
              • INFERIOR (4)
              • POOR (5)
              Name23stringPR--
                StatusFault77uint8PR+EV01
                • NO_FAULT (0)
                • FAULT (1)
                StatusTampered7Auint8PR+EV01
                • NOT_TAMPERED (0)
                • TAMPERED (1)
                StatusLowBattery79uint8PR+EV01
                • NOT_LOW_BATTERY (0)
                • LOW_BATTERY (1)
                >
                + ## BatteryService (96) -
                Placeholder for description of Service
                +

                -
                CharacteristicUUIDFormatPermsMinMaxConstants
                BatteryLevel68uint8PR+EV0100
                  ChargingState8Fuint8PR+EV02
                  • NOT_CHARGING (0)
                  • CHARGING (1)
                  • NOT_CHARGEABLE (2)
                  StatusLowBattery79uint8PR+EV01
                  • NOT_LOW_BATTERY (0)
                  • LOW_BATTERY (1)
                  Name23stringPR--
                    >
                    + ## CarbonDioxideSensor (97) -
                    Placeholder for description of Service
                    +

                    @@ -60,10 +60,10 @@ -
                    CharacteristicUUIDFormatPermsMinMaxConstants
                    CarbonDioxideDetected92uint8PR+EV01
                    • NORMAL (0)
                    • ABNORMAL (1)
                    Name23stringPR--
                      StatusLowBattery79uint8PR+EV01
                      • NOT_LOW_BATTERY (0)
                      • LOW_BATTERY (1)
                      CarbonDioxideLevel93floatPR+EV0100000
                        CarbonDioxidePeakLevel94floatPR+EV0100000
                          >
                          + ## CarbonMonoxideSensor (7F) -
                          Placeholder for description of Service
                          +

                          @@ -73,10 +73,10 @@ -
                          CharacteristicUUIDFormatPermsMinMaxConstants
                          CarbonMonoxideDetected69uint8PR+EV01
                          • NORMAL (0)
                          • ABNORMAL (1)
                          Name23stringPR--
                            StatusLowBattery79uint8PR+EV01
                            • NOT_LOW_BATTERY (0)
                            • LOW_BATTERY (1)
                            CarbonMonoxideLevel90floatPR+EV0100
                              CarbonMonoxidePeakLevel91floatPR+EV0100
                                >
                                + ## ContactSensor (80) -
                                Placeholder for description of Service
                                +

                                @@ -84,10 +84,10 @@ -
                                CharacteristicUUIDFormatPermsMinMaxConstants
                                ContactSensorState6Auint8PR+EV01
                                • DETECTED (0)
                                • NOT_DETECTED (1)
                                Name23stringPR--
                                  StatusFault77uint8PR+EV01
                                  • NO_FAULT (0)
                                  • FAULT (1)
                                  StatusTampered7Auint8PR+EV01
                                  • NOT_TAMPERED (0)
                                  • TAMPERED (1)
                                  StatusLowBattery79uint8PR+EV01
                                  • NOT_LOW_BATTERY (0)
                                  • LOW_BATTERY (1)
                                  >
                                  + ## Door (81) -
                                  Placeholder for description of Service
                                  +

                                  @@ -95,19 +95,19 @@ -
                                  CharacteristicUUIDFormatPermsMinMaxConstants
                                  CurrentPosition6Duint8PR+EV0100
                                    TargetPosition7Cuint8PW+PR+EV0100
                                      Name23stringPR--
                                        HoldPosition6FboolPW01
                                          ObstructionDetected24boolPR+EV01
                                            >
                                            + ## Doorbell (121) -
                                            Placeholder for description of Service
                                            +

                                            -
                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                            ProgrammableSwitchEvent73uint8PR+EV+NV02
                                            • SINGLE_PRESS (0)
                                            • DOUBLE_PRESS (1)
                                            • LONG_PRESS (2)
                                            Name23stringPR--
                                              Volume119uint8PW+PR+EV0100
                                                Brightness8intPR+PW+EV0100
                                                  >
                                                  + ## Fan (B7) -
                                                  Placeholder for description of Service
                                                  +

                                                  @@ -117,27 +117,27 @@ -
                                                  CharacteristicUUIDFormatPermsMinMaxConstants
                                                  ActiveB0uint8PW+PR+EV01
                                                  • INACTIVE (0)
                                                  • ACTIVE (1)
                                                  Name23stringPR--
                                                    RotationSpeed29floatPR+PW+EV0100
                                                      SwingModeB6uint8PR+EV+PW01
                                                      • SWING_DISABLED (0)
                                                      • SWING_ENABLED (1)
                                                      LockPhysicalControlsA7uint8PW+PR+EV01
                                                      • CONTROL_LOCK_DISABLED (0)
                                                      • CONTROL_LOCK_ENABLED (1)
                                                      >
                                                      + ## Faucet (D7) -
                                                      Placeholder for description of Service
                                                      +

                                                      -
                                                      CharacteristicUUIDFormatPermsMinMaxConstants
                                                      ActiveB0uint8PW+PR+EV01
                                                      • INACTIVE (0)
                                                      • ACTIVE (1)
                                                      StatusFault77uint8PR+EV01
                                                      • NO_FAULT (0)
                                                      • FAULT (1)
                                                      Name23stringPR--
                                                        >
                                                        + ## FilterMaintenance (BA) -
                                                        Placeholder for description of Service
                                                        +

                                                        -
                                                        CharacteristicUUIDFormatPermsMinMaxConstants
                                                        FilterChangeIndicationACuint8PR+EV01
                                                        • NO_CHANGE_NEEDED (0)
                                                        • CHANGE_NEEDED (1)
                                                        Name23stringPR--
                                                          FilterLifeLevelABfloatPR+EV0100
                                                            ResetFilterIndicationADuint8PW11
                                                              >
                                                              + ## GarageDoorOpener (41) -
                                                              Placeholder for description of Service
                                                              +

                                                              @@ -145,16 +145,16 @@ -
                                                              CharacteristicUUIDFormatPermsMinMaxConstants
                                                              CurrentDoorStateEuint8PR+EV04
                                                              • OPEN (0)
                                                              • CLOSED (1)
                                                              • OPENING (2)
                                                              • CLOSING (3)
                                                              • STOPPED (4)
                                                              TargetDoorState32uint8PW+PR+EV01
                                                              • OPEN (0)
                                                              • CLOSED (1)
                                                              LockCurrentState1Duint8PR+EV03
                                                              • UNLOCKED (0)
                                                              • LOCKED (1)
                                                              • JAMMED (2)
                                                              • UNKNOWN (3)
                                                              LockTargetState1Euint8PW+PR+EV01
                                                              • UNLOCK (0)
                                                              • LOCK (1)
                                                              Name23stringPR--
                                                                >
                                                                + ## HAPProtocolInformation (A2) -
                                                                Placeholder for description of Service
                                                                +

                                                                -
                                                                CharacteristicUUIDFormatPermsMinMaxConstants
                                                                Version37stringPR--
                                                                  >
                                                                  + ## HeaterCooler (BC) -
                                                                  Placeholder for description of Service
                                                                  +

                                                                  @@ -167,10 +167,10 @@ -
                                                                  CharacteristicUUIDFormatPermsMinMaxConstants
                                                                  ActiveB0uint8PW+PR+EV01
                                                                  • INACTIVE (0)
                                                                  • ACTIVE (1)
                                                                  CurrentTemperature11floatPR+EV0100
                                                                    CoolingThresholdTemperatureDfloatPR+PW+EV1035
                                                                      HeatingThresholdTemperature12floatPR+PW+EV025
                                                                        LockPhysicalControlsA7uint8PW+PR+EV01
                                                                        • CONTROL_LOCK_DISABLED (0)
                                                                        • CONTROL_LOCK_ENABLED (1)
                                                                        >
                                                                        + ## HumidifierDehumidifier (BD) -
                                                                        Placeholder for description of Service
                                                                        +

                                                                        @@ -183,10 +183,10 @@ -
                                                                        CharacteristicUUIDFormatPermsMinMaxConstants
                                                                        ActiveB0uint8PW+PR+EV01
                                                                        • INACTIVE (0)
                                                                        • ACTIVE (1)
                                                                        CurrentRelativeHumidity10floatPR+EV0100
                                                                          SwingModeB6uint8PR+EV+PW01
                                                                          • SWING_DISABLED (0)
                                                                          • SWING_ENABLED (1)
                                                                          WaterLevelB5floatPR+EV0100
                                                                            LockPhysicalControlsA7uint8PW+PR+EV01
                                                                            • CONTROL_LOCK_DISABLED (0)
                                                                            • CONTROL_LOCK_ENABLED (1)
                                                                            >
                                                                            + ## HumiditySensor (82) -
                                                                            Placeholder for description of Service
                                                                            +

                                                                            @@ -194,30 +194,30 @@ -
                                                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                                                            CurrentRelativeHumidity10floatPR+EV0100
                                                                              Name23stringPR--
                                                                                StatusFault77uint8PR+EV01
                                                                                • NO_FAULT (0)
                                                                                • FAULT (1)
                                                                                StatusTampered7Auint8PR+EV01
                                                                                • NOT_TAMPERED (0)
                                                                                • TAMPERED (1)
                                                                                StatusLowBattery79uint8PR+EV01
                                                                                • NOT_LOW_BATTERY (0)
                                                                                • LOW_BATTERY (1)
                                                                                >
                                                                                + ## InputSource (D9) -
                                                                                Placeholder for description of Service
                                                                                +

                                                                                -
                                                                                CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                ConfiguredNameE3stringPW+PR+EV--
                                                                                  IsConfiguredD6uint8PR+EV01
                                                                                  • NOT_CONFIGURED (0)
                                                                                  • CONFIGURED (1)
                                                                                  IdentifierE6uint32PR0255
                                                                                    CurrentVisibilityState135uint8PR+EV01
                                                                                      TargetVisibilityState134uint8PW+PR+EV01
                                                                                        >
                                                                                        + ## IrrigationSystem (CF) -
                                                                                        Placeholder for description of Service
                                                                                        +

                                                                                        -
                                                                                        CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                        ActiveB0uint8PW+PR+EV01
                                                                                        • INACTIVE (0)
                                                                                        • ACTIVE (1)
                                                                                        ProgramModeD1uint8PR+EV02
                                                                                        • NONE (0)
                                                                                        • SCHEDULED (1)
                                                                                        • SCHEDULE_OVERRIDEN (2)
                                                                                        InUseD2uint8PR+EV01
                                                                                        • NOT_IN_USE (0)
                                                                                        • IN_USE (1)
                                                                                        RemainingDurationD4uint32PR+EV03600
                                                                                          StatusFault77uint8PR+EV01
                                                                                          • NO_FAULT (0)
                                                                                          • FAULT (1)
                                                                                          >
                                                                                          + ## LeakSensor (83) -
                                                                                          Placeholder for description of Service
                                                                                          +

                                                                                          @@ -225,10 +225,10 @@ -
                                                                                          CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                          LeakDetected70uint8PR+EV01
                                                                                          • NOT_DETECTED (0)
                                                                                          • DETECTED (1)
                                                                                          Name23stringPR--
                                                                                            StatusFault77uint8PR+EV01
                                                                                            • NO_FAULT (0)
                                                                                            • FAULT (1)
                                                                                            StatusTampered7Auint8PR+EV01
                                                                                            • NOT_TAMPERED (0)
                                                                                            • TAMPERED (1)
                                                                                            StatusLowBattery79uint8PR+EV01
                                                                                            • NOT_LOW_BATTERY (0)
                                                                                            • LOW_BATTERY (1)
                                                                                            >
                                                                                            + ## LightBulb (43) -
                                                                                            Placeholder for description of Service
                                                                                            +

                                                                                            @@ -236,10 +236,10 @@ -
                                                                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                            On25boolPR+PW+EV01
                                                                                              Brightness8intPR+PW+EV0100
                                                                                                Name23stringPR--
                                                                                                  Saturation2FfloatPR+PW+EV0100
                                                                                                    ColorTemperatureCEuint32PR+PW+EV140500
                                                                                                      >
                                                                                                      + ## LightSensor (84) -
                                                                                                      Placeholder for description of Service
                                                                                                      +

                                                                                                      @@ -247,26 +247,26 @@ -
                                                                                                      CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                      CurrentAmbientLightLevel6BfloatPR+EV0.0001100000
                                                                                                        Name23stringPR--
                                                                                                          StatusFault77uint8PR+EV01
                                                                                                          • NO_FAULT (0)
                                                                                                          • FAULT (1)
                                                                                                          StatusTampered7Auint8PR+EV01
                                                                                                          • NOT_TAMPERED (0)
                                                                                                          • TAMPERED (1)
                                                                                                          StatusLowBattery79uint8PR+EV01
                                                                                                          • NOT_LOW_BATTERY (0)
                                                                                                          • LOW_BATTERY (1)
                                                                                                          >
                                                                                                          + ## LockMechanism (45) -
                                                                                                          Placeholder for description of Service
                                                                                                          +

                                                                                                          -
                                                                                                          CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                          LockCurrentState1Duint8PR+EV03
                                                                                                          • UNLOCKED (0)
                                                                                                          • LOCKED (1)
                                                                                                          • JAMMED (2)
                                                                                                          • UNKNOWN (3)
                                                                                                          LockTargetState1Euint8PW+PR+EV01
                                                                                                          • UNLOCK (0)
                                                                                                          • LOCK (1)
                                                                                                          Name23stringPR--
                                                                                                            >
                                                                                                            + ## Microphone (112) -
                                                                                                            Placeholder for description of Service
                                                                                                            +

                                                                                                            -
                                                                                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                            Mute11AboolPW+PR+EV01
                                                                                                            • OFF (0)
                                                                                                            • ON (1)
                                                                                                            Name23stringPR--
                                                                                                              Volume119uint8PW+PR+EV0100
                                                                                                                >
                                                                                                                + ## MotionSensor (85) -
                                                                                                                Placeholder for description of Service
                                                                                                                +

                                                                                                                @@ -274,10 +274,10 @@ -
                                                                                                                CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                MotionDetected22boolPR+EV01
                                                                                                                  Name23stringPR--
                                                                                                                    StatusFault77uint8PR+EV01
                                                                                                                    • NO_FAULT (0)
                                                                                                                    • FAULT (1)
                                                                                                                    StatusTampered7Auint8PR+EV01
                                                                                                                    • NOT_TAMPERED (0)
                                                                                                                    • TAMPERED (1)
                                                                                                                    StatusLowBattery79uint8PR+EV01
                                                                                                                    • NOT_LOW_BATTERY (0)
                                                                                                                    • LOW_BATTERY (1)
                                                                                                                    >
                                                                                                                    + ## OccupancySensor (86) -
                                                                                                                    Placeholder for description of Service
                                                                                                                    +

                                                                                                                    @@ -285,18 +285,18 @@ -
                                                                                                                    CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                    OccupancyDetected71uint8PR+EV01
                                                                                                                    • NOT_DETECTED (0)
                                                                                                                    • DETECTED (1)
                                                                                                                    Name23stringPR--
                                                                                                                      StatusFault77uint8PR+EV01
                                                                                                                      • NO_FAULT (0)
                                                                                                                      • FAULT (1)
                                                                                                                      StatusTampered7Auint8PR+EV01
                                                                                                                      • NOT_TAMPERED (0)
                                                                                                                      • TAMPERED (1)
                                                                                                                      StatusLowBattery79uint8PR+EV01
                                                                                                                      • NOT_LOW_BATTERY (0)
                                                                                                                      • LOW_BATTERY (1)
                                                                                                                      >
                                                                                                                      + ## Outlet (47) -
                                                                                                                      Placeholder for description of Service
                                                                                                                      +

                                                                                                                      -
                                                                                                                      CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                      On25boolPR+PW+EV01
                                                                                                                        OutletInUse26boolPR+EV01
                                                                                                                          Name23stringPR--
                                                                                                                            >
                                                                                                                            + ## SecuritySystem (7E) -
                                                                                                                            Placeholder for description of Service
                                                                                                                            +

                                                                                                                            @@ -304,16 +304,16 @@ -
                                                                                                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                            SecuritySystemCurrentState66uint8PR+EV04
                                                                                                                            • ARMED_STAY (0)
                                                                                                                            • ARMED_AWAY (1)
                                                                                                                            • ARMED_NIGHT (2)
                                                                                                                            • DISARMED (3)
                                                                                                                            • ALARM_TRIGGERED (4)
                                                                                                                            SecuritySystemTargetState67uint8PW+PR+EV03
                                                                                                                            • ARM_STAY (0)
                                                                                                                            • ARM_AWAY (1)
                                                                                                                            • ARM_NIGHT (2)
                                                                                                                            • DISARM (3)
                                                                                                                            SecuritySystemAlarmType8Euint8PR+EV01
                                                                                                                            • KNOWN (0)
                                                                                                                            • UNKNOWN (1)
                                                                                                                            StatusFault77uint8PR+EV01
                                                                                                                            • NO_FAULT (0)
                                                                                                                            • FAULT (1)
                                                                                                                            StatusTampered7Auint8PR+EV01
                                                                                                                            • NOT_TAMPERED (0)
                                                                                                                            • TAMPERED (1)
                                                                                                                            >
                                                                                                                            + ## ServiceLabel (CC) -
                                                                                                                            Placeholder for description of Service
                                                                                                                            +

                                                                                                                            -
                                                                                                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                            ServiceLabelNamespaceCDuint8PR01
                                                                                                                            • DOTS (0)
                                                                                                                            • NUMERALS (1)
                                                                                                                            >
                                                                                                                            + ## Slat (B9) -
                                                                                                                            Placeholder for description of Service
                                                                                                                            +

                                                                                                                            @@ -321,10 +321,10 @@ -
                                                                                                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                            CurrentSlatStateAAuint8PR+EV02
                                                                                                                            • FIXED (0)
                                                                                                                            • JAMMED (1)
                                                                                                                            • SWINGING (2)
                                                                                                                            SlatTypeC0uint8PR01
                                                                                                                            • HORIZONTAL (0)
                                                                                                                            • VERTICAL (1)
                                                                                                                            SwingModeB6uint8PR+EV+PW01
                                                                                                                            • SWING_DISABLED (0)
                                                                                                                            • SWING_ENABLED (1)
                                                                                                                            CurrentTiltAngleC1intPR+EV-9090
                                                                                                                              TargetTiltAngleC2intPW+PR+EV-9090
                                                                                                                                >
                                                                                                                                + ## SmokeSensor (87) -
                                                                                                                                Placeholder for description of Service
                                                                                                                                +

                                                                                                                                @@ -332,50 +332,50 @@ -
                                                                                                                                CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                                SmokeDetected76uint8PR+EV01
                                                                                                                                • NOT_DETECTED (0)
                                                                                                                                • DETECTED (1)
                                                                                                                                Name23stringPR--
                                                                                                                                  StatusFault77uint8PR+EV01
                                                                                                                                  • NO_FAULT (0)
                                                                                                                                  • FAULT (1)
                                                                                                                                  StatusTampered7Auint8PR+EV01
                                                                                                                                  • NOT_TAMPERED (0)
                                                                                                                                  • TAMPERED (1)
                                                                                                                                  StatusLowBattery79uint8PR+EV01
                                                                                                                                  • NOT_LOW_BATTERY (0)
                                                                                                                                  • LOW_BATTERY (1)
                                                                                                                                  >
                                                                                                                                  + ## Speaker (113) -
                                                                                                                                  Placeholder for description of Service
                                                                                                                                  +

                                                                                                                                  -
                                                                                                                                  CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                                  Mute11AboolPW+PR+EV01
                                                                                                                                  • OFF (0)
                                                                                                                                  • ON (1)
                                                                                                                                  Name23stringPR--
                                                                                                                                    Volume119uint8PW+PR+EV0100
                                                                                                                                      >
                                                                                                                                      + ## StatelessProgrammableSwitch (89) -
                                                                                                                                      Placeholder for description of Service
                                                                                                                                      +

                                                                                                                                      -
                                                                                                                                      CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                                      ProgrammableSwitchEvent73uint8PR+EV+NV02
                                                                                                                                      • SINGLE_PRESS (0)
                                                                                                                                      • DOUBLE_PRESS (1)
                                                                                                                                      • LONG_PRESS (2)
                                                                                                                                      Name23stringPR--
                                                                                                                                        ServiceLabelIndexCBuint8PR1255
                                                                                                                                          >
                                                                                                                                          + ## Switch (49) -
                                                                                                                                          Placeholder for description of Service
                                                                                                                                          +

                                                                                                                                          -
                                                                                                                                          CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                                          On25boolPR+PW+EV01
                                                                                                                                            Name23stringPR--
                                                                                                                                              >
                                                                                                                                              + ## Television (D8) -
                                                                                                                                              Placeholder for description of Service
                                                                                                                                              +

                                                                                                                                              -
                                                                                                                                              CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                                              ActiveB0uint8PW+PR+EV01
                                                                                                                                              • INACTIVE (0)
                                                                                                                                              • ACTIVE (1)
                                                                                                                                              ConfiguredNameE3stringPW+PR+EV--
                                                                                                                                                ActiveIdentifierE7uint32PW+PR+EV0255
                                                                                                                                                  RemoteKeyE1uint8PW016
                                                                                                                                                    PowerModeSelectionDFuint8PW01
                                                                                                                                                      >
                                                                                                                                                      + ## TelevisionSpeaker (113) -
                                                                                                                                                      Placeholder for description of Service
                                                                                                                                                      +

                                                                                                                                                      -
                                                                                                                                                      CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                                                      VolumeControlTypeE9uint8PR+EV03
                                                                                                                                                        VolumeSelectorEAuint8PW01
                                                                                                                                                          >
                                                                                                                                                          + ## TemperatureSensor (8A) -
                                                                                                                                                          Placeholder for description of Service
                                                                                                                                                          +

                                                                                                                                                          @@ -383,10 +383,10 @@ -
                                                                                                                                                          CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                                                          CurrentTemperature11floatPR+EV0100
                                                                                                                                                            Name23stringPR--
                                                                                                                                                              StatusFault77uint8PR+EV01
                                                                                                                                                              • NO_FAULT (0)
                                                                                                                                                              • FAULT (1)
                                                                                                                                                              StatusTampered7Auint8PR+EV01
                                                                                                                                                              • NOT_TAMPERED (0)
                                                                                                                                                              • TAMPERED (1)
                                                                                                                                                              StatusLowBattery79uint8PR+EV01
                                                                                                                                                              • NOT_LOW_BATTERY (0)
                                                                                                                                                              • LOW_BATTERY (1)
                                                                                                                                                              >
                                                                                                                                                              + ## Thermostat (4A) -
                                                                                                                                                              Placeholder for description of Service
                                                                                                                                                              +

                                                                                                                                                              @@ -398,10 +398,10 @@ -
                                                                                                                                                              CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                                                              CurrentHeatingCoolingStateFuint8PR+EV02
                                                                                                                                                              • OFF (0)
                                                                                                                                                              • HEATING (1)
                                                                                                                                                              • COOLING (2)
                                                                                                                                                              TargetHeatingCoolingState33uint8PW+PR+EV03
                                                                                                                                                              • OFF (0)
                                                                                                                                                              • HEAT (1)
                                                                                                                                                              • COOL (2)
                                                                                                                                                              • AUTO (3)
                                                                                                                                                              HeatingThresholdTemperature12floatPR+PW+EV025
                                                                                                                                                                Name23stringPR--
                                                                                                                                                                  TargetRelativeHumidity34floatPW+PR+EV0100
                                                                                                                                                                    >
                                                                                                                                                                    + ## Valve (D0) -
                                                                                                                                                                    Placeholder for description of Service
                                                                                                                                                                    +

                                                                                                                                                                    @@ -412,10 +412,10 @@ -
                                                                                                                                                                    CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                                                                    ActiveB0uint8PW+PR+EV01
                                                                                                                                                                    • INACTIVE (0)
                                                                                                                                                                    • ACTIVE (1)
                                                                                                                                                                    InUseD2uint8PR+EV01
                                                                                                                                                                    • NOT_IN_USE (0)
                                                                                                                                                                    • IN_USE (1)
                                                                                                                                                                    ServiceLabelIndexCBuint8PR1255
                                                                                                                                                                      StatusFault77uint8PR+EV01
                                                                                                                                                                      • NO_FAULT (0)
                                                                                                                                                                      • FAULT (1)
                                                                                                                                                                      Name23stringPR--
                                                                                                                                                                        >
                                                                                                                                                                        + ## Window (8B) -
                                                                                                                                                                        Placeholder for description of Service
                                                                                                                                                                        +

                                                                                                                                                                        @@ -423,10 +423,10 @@ -
                                                                                                                                                                        CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                                                                        CurrentPosition6Duint8PR+EV0100
                                                                                                                                                                          TargetPosition7Cuint8PW+PR+EV0100
                                                                                                                                                                            Name23stringPR--
                                                                                                                                                                              HoldPosition6FboolPW01
                                                                                                                                                                                ObstructionDetected24boolPR+EV01
                                                                                                                                                                                  >
                                                                                                                                                                                  + ## WindowCovering (8C) -
                                                                                                                                                                                  Placeholder for description of Service
                                                                                                                                                                                  +

                                                                                                                                                                                  @@ -438,5 +438,5 @@ -
                                                                                                                                                                                  CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                                                                                  TargetPosition7Cuint8PW+PR+EV0100
                                                                                                                                                                                    CurrentPosition6Duint8PR+EV0100
                                                                                                                                                                                      CurrentVerticalTiltAngle6EintPR+EV-9090
                                                                                                                                                                                        TargetVerticalTiltAngle7DintPW+PR+EV-9090
                                                                                                                                                                                          ObstructionDetected24boolPR+EV01
                                                                                                                                                                                            >
                                                                                                                                                                                            +