diff --git a/tools/makeServiceList b/tools/makeServiceList index 19b1abf..029525b 100755 --- a/tools/makeServiceList +++ b/tools/makeServiceList @@ -20,6 +20,7 @@ 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"){ @@ -61,7 +62,8 @@ BEGIN { for(i=0;i%s (%s)
\n",s,uuid[s]) + printf("## %s (%s)\n",s,uuid[s]) + printf("
%s
\n",desc[s]) printf("\n") for(j=0;jAccessoryInformation (3E)
CharacteristicUUIDFormatPermsMinMaxConstants
+## AccessoryInformation (3E) +
Placeholder for description of Service
@@ -10,7 +11,8 @@
CharacteristicUUIDFormatPermsMinMaxConstants
Identify *14boolPW01
    FirmwareRevision52stringPR+EV--
      AccessoryFlagsA6uint32PR+EV11

        -
        AirPurifier (BB)
        +## AirPurifier (BB) +
        Placeholder for description of Service
        @@ -21,7 +23,8 @@
        CharacteristicUUIDFormatPermsMinMaxConstants
        Active *B0uint8PW+PR+EV01
        • INACTIVE (0)
        • ACTIVE (1)
        CurrentAirPurifierState *A9uint8PR+EV02
        • INACTIVE (0)
        • IDLE (1)
        • PURIFYING (2)
        LockPhysicalControlsA7uint8PW+PR+EV01
        • CONTROL_LOCK_DISABLED (0)
        • CONTROL_LOCK_ENABLED (1)

        -
        AirQualitySensor (8D)
        +## AirQualitySensor (8D) +
        Placeholder for description of Service
        @@ -37,7 +40,8 @@
        CharacteristicUUIDFormatPermsMinMaxConstants
        AirQuality *95uint8PR+EV05
        • UNKNOWN (0)
        • EXCELLENT (1)
        • GOOD (2)
        • FAIR (3)
        • INFERIOR (4)
        • POOR (5)
        Name23stringPR--
          StatusLowBattery79uint8PR+EV01
          • NOT_LOW_BATTERY (0)
          • LOW_BATTERY (1)

          -
          BatteryService (96)
          +## BatteryService (96) +
          Placeholder for description of Service
          @@ -45,7 +49,8 @@
          CharacteristicUUIDFormatPermsMinMaxConstants
          BatteryLevel *68uint8PR+EV0100
            ChargingState *8Fuint8PR+EV02
            • NOT_CHARGING (0)
            • CHARGING (1)
            • NOT_CHARGEABLE (2)
            Name23stringPR--

              -
              CarbonDioxideSensor (97)
              +## CarbonDioxideSensor (97) +
              Placeholder for description of Service
              @@ -57,7 +62,8 @@
              CharacteristicUUIDFormatPermsMinMaxConstants
              CarbonDioxideDetected *92uint8PR+EV01
              • NORMAL (0)
              • ABNORMAL (1)
              Name23stringPR--
                CarbonDioxidePeakLevel94floatPR+EV0100000

                  -
                  CarbonMonoxideSensor (7F)
                  +## CarbonMonoxideSensor (7F) +
                  Placeholder for description of Service
                  @@ -69,7 +75,8 @@
                  CharacteristicUUIDFormatPermsMinMaxConstants
                  CarbonMonoxideDetected *69uint8PR+EV01
                  • NORMAL (0)
                  • ABNORMAL (1)
                  Name23stringPR--
                    CarbonMonoxidePeakLevel91floatPR+EV0100

                      -
                      ContactSensor (80)
                      +## ContactSensor (80) +
                      Placeholder for description of Service
                      @@ -79,7 +86,8 @@
                      CharacteristicUUIDFormatPermsMinMaxConstants
                      ContactSensorState *6Auint8PR+EV01
                      • DETECTED (0)
                      • NOT_DETECTED (1)
                      Name23stringPR--
                        StatusLowBattery79uint8PR+EV01
                        • NOT_LOW_BATTERY (0)
                        • LOW_BATTERY (1)

                        -
                        Door (81)
                        +## Door (81) +
                        Placeholder for description of Service
                        @@ -89,7 +97,8 @@
                        CharacteristicUUIDFormatPermsMinMaxConstants
                        CurrentPosition *6Duint8PR+EV0100
                          TargetPosition *7Cuint8PW+PR+EV0100
                            ObstructionDetected24boolPR+EV01

                              -
                              Doorbell (121)
                              +## Doorbell (121) +
                              Placeholder for description of Service
                              @@ -97,7 +106,8 @@
                              CharacteristicUUIDFormatPermsMinMaxConstants
                              ProgrammableSwitchEvent *73uint8PR+EV+NV02
                              • SINGLE_PRESS (0)
                              • DOUBLE_PRESS (1)
                              • LONG_PRESS (2)
                              Name23stringPR--
                                Brightness8intPR+PW+EV0100

                                  -
                                  Fan (B7)
                                  +## Fan (B7) +
                                  Placeholder for description of Service
                                  @@ -109,14 +119,16 @@
                                  CharacteristicUUIDFormatPermsMinMaxConstants
                                  Active *B0uint8PW+PR+EV01
                                  • INACTIVE (0)
                                  • ACTIVE (1)
                                  Name23stringPR--
                                    LockPhysicalControlsA7uint8PW+PR+EV01
                                    • CONTROL_LOCK_DISABLED (0)
                                    • CONTROL_LOCK_ENABLED (1)

                                    -
                                    Faucet (D7)
                                    +## Faucet (D7) +
                                    Placeholder for description of Service
                                    CharacteristicUUIDFormatPermsMinMaxConstants
                                    Active *B0uint8PW+PR+EV01
                                    • INACTIVE (0)
                                    • ACTIVE (1)
                                    StatusFault77uint8PR+EV01
                                    • NO_FAULT (0)
                                    • FAULT (1)
                                    Name23stringPR--

                                      -
                                      FilterMaintenance (BA)
                                      +## FilterMaintenance (BA) +
                                      Placeholder for description of Service
                                      @@ -124,7 +136,8 @@
                                      CharacteristicUUIDFormatPermsMinMaxConstants
                                      FilterChangeIndication *ACuint8PR+EV01
                                      • NO_CHANGE_NEEDED (0)
                                      • CHANGE_NEEDED (1)
                                      Name23stringPR--
                                        ResetFilterIndicationADuint8PW11

                                          -
                                          GarageDoorOpener (41)
                                          +## GarageDoorOpener (41) +
                                          Placeholder for description of Service
                                          @@ -134,12 +147,14 @@
                                          CharacteristicUUIDFormatPermsMinMaxConstants
                                          CurrentDoorState *Euint8PR+EV04
                                          • OPEN (0)
                                          • CLOSED (1)
                                          • OPENING (2)
                                          • CLOSING (3)
                                          • STOPPED (4)
                                          TargetDoorState *32uint8PW+PR+EV01
                                          • OPEN (0)
                                          • CLOSED (1)
                                          Name23stringPR--

                                            -
                                            HAPProtocolInformation (A2)
                                            +## HAPProtocolInformation (A2) +
                                            Placeholder for description of Service
                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                            Version *37stringPR--

                                              -
                                              HeaterCooler (BC)
                                              +## HeaterCooler (BC) +
                                              Placeholder for description of Service
                                              @@ -154,7 +169,8 @@
                                              CharacteristicUUIDFormatPermsMinMaxConstants
                                              Active *B0uint8PW+PR+EV01
                                              • INACTIVE (0)
                                              • ACTIVE (1)
                                              CurrentTemperature *11floatPR+EV0100
                                                LockPhysicalControlsA7uint8PW+PR+EV01
                                                • CONTROL_LOCK_DISABLED (0)
                                                • CONTROL_LOCK_ENABLED (1)

                                                -
                                                HumidifierDehumidifier (BD)
                                                +## HumidifierDehumidifier (BD) +
                                                Placeholder for description of Service
                                                @@ -169,7 +185,8 @@
                                                CharacteristicUUIDFormatPermsMinMaxConstants
                                                Active *B0uint8PW+PR+EV01
                                                • INACTIVE (0)
                                                • ACTIVE (1)
                                                CurrentRelativeHumidity *10floatPR+EV0100
                                                  LockPhysicalControlsA7uint8PW+PR+EV01
                                                  • CONTROL_LOCK_DISABLED (0)
                                                  • CONTROL_LOCK_ENABLED (1)

                                                  -
                                                  HumiditySensor (82)
                                                  +## HumiditySensor (82) +
                                                  Placeholder for description of Service
                                                  @@ -179,7 +196,8 @@
                                                  CharacteristicUUIDFormatPermsMinMaxConstants
                                                  CurrentRelativeHumidity *10floatPR+EV0100
                                                    Name23stringPR--
                                                      StatusLowBattery79uint8PR+EV01
                                                      • NOT_LOW_BATTERY (0)
                                                      • LOW_BATTERY (1)

                                                      -
                                                      InputSource (D9)
                                                      +## InputSource (D9) +
                                                      Placeholder for description of Service
                                                      @@ -188,7 +206,8 @@
                                                      CharacteristicUUIDFormatPermsMinMaxConstants
                                                      ConfiguredNameE3stringPW+PR+EV--
                                                        IsConfiguredD6uint8PR+EV01
                                                        • NOT_CONFIGURED (0)
                                                        • CONFIGURED (1)
                                                        TargetVisibilityState134uint8PW+PR+EV01

                                                          -
                                                          IrrigationSystem (CF)
                                                          +## IrrigationSystem (CF) +
                                                          Placeholder for description of Service
                                                          @@ -197,7 +216,8 @@
                                                          CharacteristicUUIDFormatPermsMinMaxConstants
                                                          Active *B0uint8PW+PR+EV01
                                                          • INACTIVE (0)
                                                          • ACTIVE (1)
                                                          ProgramMode *D1uint8PR+EV02
                                                          • NONE (0)
                                                          • SCHEDULED (1)
                                                          • SCHEDULE_OVERRIDEN (2)
                                                          StatusFault77uint8PR+EV01
                                                          • NO_FAULT (0)
                                                          • FAULT (1)

                                                          -
                                                          LeakSensor (83)
                                                          +## LeakSensor (83) +
                                                          Placeholder for description of Service
                                                          @@ -207,7 +227,8 @@
                                                          CharacteristicUUIDFormatPermsMinMaxConstants
                                                          LeakDetected *70uint8PR+EV01
                                                          • NOT_DETECTED (0)
                                                          • DETECTED (1)
                                                          Name23stringPR--
                                                            StatusLowBattery79uint8PR+EV01
                                                            • NOT_LOW_BATTERY (0)
                                                            • LOW_BATTERY (1)

                                                            -
                                                            LightBulb (43)
                                                            +## LightBulb (43) +
                                                            Placeholder for description of Service
                                                            @@ -217,7 +238,8 @@
                                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                                            On *25boolPR+PW+EV01
                                                              Brightness8intPR+PW+EV0100
                                                                ColorTemperatureCEuint32PR+PW+EV140500

                                                                  -
                                                                  LightSensor (84)
                                                                  +## LightSensor (84) +
                                                                  Placeholder for description of Service
                                                                  @@ -227,21 +249,24 @@
                                                                  CharacteristicUUIDFormatPermsMinMaxConstants
                                                                  CurrentAmbientLightLevel *6BfloatPR+EV0.0001100000
                                                                    Name23stringPR--
                                                                      StatusLowBattery79uint8PR+EV01
                                                                      • NOT_LOW_BATTERY (0)
                                                                      • LOW_BATTERY (1)

                                                                      -
                                                                      LockMechanism (45)
                                                                      +## LockMechanism (45) +
                                                                      Placeholder for description of Service
                                                                      CharacteristicUUIDFormatPermsMinMaxConstants
                                                                      LockCurrentState *1Duint8PR+EV03
                                                                      • UNLOCKED (0)
                                                                      • LOCKED (1)
                                                                      • JAMMED (2)
                                                                      • UNKNOWN (3)
                                                                      LockTargetState *1Euint8PW+PR+EV01
                                                                      • UNLOCK (0)
                                                                      • LOCK (1)
                                                                      Name23stringPR--

                                                                        -
                                                                        Microphone (112)
                                                                        +## Microphone (112) +
                                                                        Placeholder for description of Service
                                                                        CharacteristicUUIDFormatPermsMinMaxConstants
                                                                        Mute *11AboolPW+PR+EV01
                                                                        • OFF (0)
                                                                        • ON (1)
                                                                        Name23stringPR--
                                                                          Volume119uint8PW+PR+EV0100

                                                                            -
                                                                            MotionSensor (85)
                                                                            +## MotionSensor (85) +
                                                                            Placeholder for description of Service
                                                                            @@ -251,7 +276,8 @@
                                                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                                                            MotionDetected *22boolPR+EV01
                                                                              Name23stringPR--
                                                                                StatusLowBattery79uint8PR+EV01
                                                                                • NOT_LOW_BATTERY (0)
                                                                                • LOW_BATTERY (1)

                                                                                -
                                                                                OccupancySensor (86)
                                                                                +## OccupancySensor (86) +
                                                                                Placeholder for description of Service
                                                                                @@ -261,14 +287,16 @@
                                                                                CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                OccupancyDetected *71uint8PR+EV01
                                                                                • NOT_DETECTED (0)
                                                                                • DETECTED (1)
                                                                                Name23stringPR--
                                                                                  StatusLowBattery79uint8PR+EV01
                                                                                  • NOT_LOW_BATTERY (0)
                                                                                  • LOW_BATTERY (1)

                                                                                  -
                                                                                  Outlet (47)
                                                                                  +## Outlet (47) +
                                                                                  Placeholder for description of Service
                                                                                  CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                  On *25boolPR+PW+EV01
                                                                                    OutletInUse *26boolPR+EV01
                                                                                      Name23stringPR--

                                                                                        -
                                                                                        SecuritySystem (7E)
                                                                                        +## SecuritySystem (7E) +
                                                                                        Placeholder for description of Service
                                                                                        @@ -278,12 +306,14 @@
                                                                                        CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                        SecuritySystemCurrentState *66uint8PR+EV04
                                                                                        • ARMED_STAY (0)
                                                                                        • ARMED_AWAY (1)
                                                                                        • ARMED_NIGHT (2)
                                                                                        • DISARMED (3)
                                                                                        • ALARM_TRIGGERED (4)
                                                                                        SecuritySystemTargetState *67uint8PW+PR+EV03
                                                                                        • ARM_STAY (0)
                                                                                        • ARM_AWAY (1)
                                                                                        • ARM_NIGHT (2)
                                                                                        • DISARM (3)
                                                                                        StatusTampered7Auint8PR+EV01
                                                                                        • NOT_TAMPERED (0)
                                                                                        • TAMPERED (1)

                                                                                        -
                                                                                        ServiceLabel (CC)
                                                                                        +## ServiceLabel (CC) +
                                                                                        Placeholder for description of Service
                                                                                        CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                        ServiceLabelNamespace *CDuint8PR01
                                                                                        • DOTS (0)
                                                                                        • NUMERALS (1)

                                                                                        -
                                                                                        Slat (B9)
                                                                                        +## Slat (B9) +
                                                                                        Placeholder for description of Service
                                                                                        @@ -293,7 +323,8 @@
                                                                                        CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                        CurrentSlatState *AAuint8PR+EV02
                                                                                        • FIXED (0)
                                                                                        • JAMMED (1)
                                                                                        • SWINGING (2)
                                                                                        SlatType *C0uint8PR01
                                                                                        • HORIZONTAL (0)
                                                                                        • VERTICAL (1)
                                                                                        TargetTiltAngleC2intPW+PR+EV-9090

                                                                                          -
                                                                                          SmokeSensor (87)
                                                                                          +## SmokeSensor (87) +
                                                                                          Placeholder for description of Service
                                                                                          @@ -303,27 +334,31 @@
                                                                                          CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                          SmokeDetected *76uint8PR+EV01
                                                                                          • NOT_DETECTED (0)
                                                                                          • DETECTED (1)
                                                                                          Name23stringPR--
                                                                                            StatusLowBattery79uint8PR+EV01
                                                                                            • NOT_LOW_BATTERY (0)
                                                                                            • LOW_BATTERY (1)

                                                                                            -
                                                                                            Speaker (113)
                                                                                            +## Speaker (113) +
                                                                                            Placeholder for description of Service
                                                                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                            Mute *11AboolPW+PR+EV01
                                                                                            • OFF (0)
                                                                                            • ON (1)
                                                                                            Name23stringPR--
                                                                                              Volume119uint8PW+PR+EV0100

                                                                                                -
                                                                                                StatelessProgrammableSwitch (89)
                                                                                                +## StatelessProgrammableSwitch (89) +
                                                                                                Placeholder for description of Service
                                                                                                CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                ProgrammableSwitchEvent *73uint8PR+EV+NV02
                                                                                                • SINGLE_PRESS (0)
                                                                                                • DOUBLE_PRESS (1)
                                                                                                • LONG_PRESS (2)
                                                                                                Name23stringPR--
                                                                                                  ServiceLabelIndexCBuint8PR1255

                                                                                                    -
                                                                                                    Switch (49)
                                                                                                    +## Switch (49) +
                                                                                                    Placeholder for description of Service
                                                                                                    CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                    On *25boolPR+PW+EV01
                                                                                                      Name23stringPR--

                                                                                                        -
                                                                                                        Television (D8)
                                                                                                        +## Television (D8) +
                                                                                                        Placeholder for description of Service
                                                                                                        @@ -332,13 +367,15 @@
                                                                                                        CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                        Active *B0uint8PW+PR+EV01
                                                                                                        • INACTIVE (0)
                                                                                                        • ACTIVE (1)
                                                                                                        ConfiguredNameE3stringPW+PR+EV--
                                                                                                          PowerModeSelectionDFuint8PW01

                                                                                                            -
                                                                                                            TelevisionSpeaker (113)
                                                                                                            +## TelevisionSpeaker (113) +
                                                                                                            Placeholder for description of Service
                                                                                                            CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                            VolumeControlType *E9uint8PR+EV03
                                                                                                              VolumeSelector *EAuint8PW01

                                                                                                                -
                                                                                                                TemperatureSensor (8A)
                                                                                                                +## TemperatureSensor (8A) +
                                                                                                                Placeholder for description of Service
                                                                                                                @@ -348,7 +385,8 @@
                                                                                                                CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                CurrentTemperature *11floatPR+EV0100
                                                                                                                  Name23stringPR--
                                                                                                                    StatusLowBattery79uint8PR+EV01
                                                                                                                    • NOT_LOW_BATTERY (0)
                                                                                                                    • LOW_BATTERY (1)

                                                                                                                    -
                                                                                                                    Thermostat (4A)
                                                                                                                    +## Thermostat (4A) +
                                                                                                                    Placeholder for description of Service
                                                                                                                    @@ -362,7 +400,8 @@
                                                                                                                    CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                    CurrentHeatingCoolingState *Fuint8PR+EV02
                                                                                                                    • OFF (0)
                                                                                                                    • HEATING (1)
                                                                                                                    • COOLING (2)
                                                                                                                    TargetHeatingCoolingState *33uint8PW+PR+EV03
                                                                                                                    • OFF (0)
                                                                                                                    • HEAT (1)
                                                                                                                    • COOL (2)
                                                                                                                    • AUTO (3)
                                                                                                                    TargetRelativeHumidity34floatPW+PR+EV0100

                                                                                                                      -
                                                                                                                      Valve (D0)
                                                                                                                      +## Valve (D0) +
                                                                                                                      Placeholder for description of Service
                                                                                                                      @@ -375,7 +414,8 @@
                                                                                                                      CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                      Active *B0uint8PW+PR+EV01
                                                                                                                      • INACTIVE (0)
                                                                                                                      • ACTIVE (1)
                                                                                                                      InUse *D2uint8PR+EV01
                                                                                                                      • NOT_IN_USE (0)
                                                                                                                      • IN_USE (1)
                                                                                                                      Name23stringPR--

                                                                                                                        -
                                                                                                                        Window (8B)
                                                                                                                        +## Window (8B) +
                                                                                                                        Placeholder for description of Service
                                                                                                                        @@ -385,7 +425,8 @@
                                                                                                                        CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                        CurrentPosition *6Duint8PR+EV0100
                                                                                                                          TargetPosition *7Cuint8PW+PR+EV0100
                                                                                                                            ObstructionDetected24boolPR+EV01

                                                                                                                              -
                                                                                                                              WindowCovering (8C)
                                                                                                                              +## WindowCovering (8C) +
                                                                                                                              Placeholder for description of Service
                                                                                                                              CharacteristicUUIDFormatPermsMinMaxConstants
                                                                                                                              TargetPosition *7Cuint8PW+PR+EV0100
                                                                                                                                CurrentPosition *6Duint8PR+EV0100