homebridge-cmd4 7.0.3 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -3
- package/Extras/Cmd4Scripts/State.js +370 -0
- package/Extras/config.json +2 -2
- package/Extras/config.min.json +2 -2
- package/README.md +2 -7
- package/RUNNING_CHANGELOG.md +13 -0
- package/docs/Developers.md +3 -1
- package/lib/CMD4_ACC_TYPE_ENUM.js +415 -3
- package/lib/CMD4_DEVICE_TYPE_ENUM.js +203 -62
- package/lib/CMD4_DEVICE_TYPE_ENUM.js.1 +2701 -0
- package/package.json +1 -1
|
@@ -52,7 +52,7 @@ function stringPassThru( str )
|
|
|
52
52
|
}
|
|
53
53
|
function stringToTLV8( str )
|
|
54
54
|
{
|
|
55
|
-
return
|
|
55
|
+
return str;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CustomCharacteristic
|
|
@@ -315,8 +315,31 @@ var CMD4_ACC_TYPE_ENUM =
|
|
|
315
315
|
ThreadStatus: 231,
|
|
316
316
|
ThreadOpenThreadVersion: 232,
|
|
317
317
|
|
|
318
|
+
// Added Mar 2024
|
|
319
|
+
AccessCodeControlPoint: 233,
|
|
320
|
+
AccessCodeSupportedConfiguration: 234,
|
|
321
|
+
AirPlayEnable: 235,
|
|
322
|
+
CharacteristicValueActiveTransitionCount: 236,
|
|
323
|
+
CryptoHash: 237,
|
|
324
|
+
FirmwareUpdateReadiness: 238,
|
|
325
|
+
FirmwareUpdateStatus: 239,
|
|
326
|
+
HardwareFinish: 240,
|
|
327
|
+
MetricsBufferFullState: 241,
|
|
328
|
+
MultifunctionButton: 242,
|
|
329
|
+
SelectedDiagnosticsModes: 243,
|
|
330
|
+
SelectedSleepConfiguration: 244,
|
|
331
|
+
SiriEnable: 245,
|
|
332
|
+
SiriEngineVersion: 246,
|
|
333
|
+
SiriLightOnUse: 247,
|
|
334
|
+
SiriListening: 248,
|
|
335
|
+
SiriTouchToUse: 249,
|
|
336
|
+
StagedFirmwareVersion: 250,
|
|
337
|
+
SupportedMetrics: 251,
|
|
338
|
+
SupportedFirmwareUpdateConfiguration: 252,
|
|
339
|
+
TapType: 253,
|
|
340
|
+
Token: 254,
|
|
318
341
|
|
|
319
|
-
EOL:
|
|
342
|
+
EOL: 255,
|
|
320
343
|
|
|
321
344
|
properties: { },
|
|
322
345
|
|
|
@@ -4960,7 +4983,396 @@ module.exports =
|
|
|
4960
4983
|
},
|
|
4961
4984
|
validValues:
|
|
4962
4985
|
{ }
|
|
4963
|
-
}
|
|
4986
|
+
},
|
|
4987
|
+
// Added Mar 2024
|
|
4988
|
+
233: { type: "AccessCodeControlPoint",
|
|
4989
|
+
sche: "accessCodeControlPoint",
|
|
4990
|
+
characteristic: Characteristic.AccessCodeControlPoint,
|
|
4991
|
+
UUID: "00000262-0000-1000-8000-0026BB765291",
|
|
4992
|
+
description: "Access Code Control Point",
|
|
4993
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
4994
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
4995
|
+
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
4996
|
+
props: {format: Characteristic.Formats.TLV8,
|
|
4997
|
+
allowedWordCount: 0,
|
|
4998
|
+
perms: [Characteristic.Perms.PAIRED_READ,
|
|
4999
|
+
Characteristic.Perms.PAIRED_WRITE,
|
|
5000
|
+
Characteristic.Perms.WRITE_RESPONSE
|
|
5001
|
+
]
|
|
5002
|
+
},
|
|
5003
|
+
validValues:
|
|
5004
|
+
{ }
|
|
5005
|
+
},
|
|
5006
|
+
234: { type: "AccessCodeSupportedConfiguration",
|
|
5007
|
+
sche: "accessCodeSupportedConfiguration",
|
|
5008
|
+
characteristic: Characteristic.AccessCodeSupportedConfiguration,
|
|
5009
|
+
UUID: "00000261-0000-1000-8000-0026BB765291",
|
|
5010
|
+
description: "Access Code Supported Configuration",
|
|
5011
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5012
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5013
|
+
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
5014
|
+
props: {format: Characteristic.Formats.TLV8,
|
|
5015
|
+
allowedWordCount: 0,
|
|
5016
|
+
perms: [Characteristic.Perms.PAIRED_READ
|
|
5017
|
+
]
|
|
5018
|
+
},
|
|
5019
|
+
validValues:
|
|
5020
|
+
{ }
|
|
5021
|
+
},
|
|
5022
|
+
235: { type: "AirPlayEnable",
|
|
5023
|
+
sche: "airPlayEnable",
|
|
5024
|
+
characteristic: Characteristic.AirPlayEnable,
|
|
5025
|
+
UUID: "0000025B-0000-1000-8000-0026BB765291",
|
|
5026
|
+
description: "Airplay Enable",
|
|
5027
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5028
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5029
|
+
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
5030
|
+
props: {format: Characteristic.Formats.UINT8,
|
|
5031
|
+
allowedWordCount: 1,
|
|
5032
|
+
maxValue: 1,
|
|
5033
|
+
minValue: 0,
|
|
5034
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5035
|
+
Characteristic.Perms.PAIRED_READ,
|
|
5036
|
+
Characteristic.Perms.PAIRED_WRITE
|
|
5037
|
+
]
|
|
5038
|
+
},
|
|
5039
|
+
validValues:
|
|
5040
|
+
{ }
|
|
5041
|
+
},
|
|
5042
|
+
236: { type: "CharacteristicValueActiveTransitionCount",
|
|
5043
|
+
sche: "characteristicValueActiveTransitionCount",
|
|
5044
|
+
characteristic: Characteristic.CharacteristicValueActiveTransitionCount,
|
|
5045
|
+
UUID: "0000024B-0000-1000-8000-0026BB765291",
|
|
5046
|
+
description: "Characteristic Value Active Transition Count",
|
|
5047
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5048
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5049
|
+
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
5050
|
+
props: {format: Characteristic.Formats.UINT8,
|
|
5051
|
+
allowedWordCount: 1,
|
|
5052
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5053
|
+
Characteristic.Perms.PAIRED_READ
|
|
5054
|
+
]
|
|
5055
|
+
},
|
|
5056
|
+
validValues:
|
|
5057
|
+
{ }
|
|
5058
|
+
},
|
|
5059
|
+
237: { type: "CryptoHash",
|
|
5060
|
+
sche: "cryptoHash",
|
|
5061
|
+
characteristic: Characteristic.CryptoHash,
|
|
5062
|
+
UUID: "00000250-0000-1000-8000-0026BB765291",
|
|
5063
|
+
description: "Crypto Hash",
|
|
5064
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5065
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5066
|
+
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
5067
|
+
props: {format: Characteristic.Formats.TLV8,
|
|
5068
|
+
allowedWordCount: 0,
|
|
5069
|
+
perms: [Characteristic.Perms.PAIRED_WRITE,
|
|
5070
|
+
Characteristic.Perms.WRITE_RESPONSE
|
|
5071
|
+
]
|
|
5072
|
+
},
|
|
5073
|
+
validValues:
|
|
5074
|
+
{ }
|
|
5075
|
+
},
|
|
5076
|
+
238: { type: "FirmwareUpdateReadiness",
|
|
5077
|
+
sche: "firmwareUpdateReadiness",
|
|
5078
|
+
characteristic: Characteristic.FirmwareUpdateReadiness,
|
|
5079
|
+
UUID: "00000234-0000-1000-8000-0026BB765291",
|
|
5080
|
+
description: "Firmware Update Readiness",
|
|
5081
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5082
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5083
|
+
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
5084
|
+
props: {format: Characteristic.Formats.TLV8,
|
|
5085
|
+
allowedWordCount: 0,
|
|
5086
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5087
|
+
Characteristic.Perms.PAIRED_READ
|
|
5088
|
+
]
|
|
5089
|
+
},
|
|
5090
|
+
validValues:
|
|
5091
|
+
{ }
|
|
5092
|
+
},
|
|
5093
|
+
239: { type: "FirmwareUpdateStatus",
|
|
5094
|
+
sche: "firmwareUpdateStatus",
|
|
5095
|
+
characteristic: Characteristic.FirmwareUpdateStatus,
|
|
5096
|
+
UUID: "00000235-0000-1000-8000-0026BB765291",
|
|
5097
|
+
description: "The Devices firmware update status",
|
|
5098
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5099
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5100
|
+
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
5101
|
+
props: {format: Characteristic.Formats.TLV8,
|
|
5102
|
+
allowedWordCount: 0,
|
|
5103
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5104
|
+
Characteristic.Perms.PAIRED_READ
|
|
5105
|
+
]
|
|
5106
|
+
},
|
|
5107
|
+
validValues:
|
|
5108
|
+
{ }
|
|
5109
|
+
},
|
|
5110
|
+
240: { type: "HardwareFinish",
|
|
5111
|
+
sche: "hardwareFinish",
|
|
5112
|
+
characteristic: Characteristic.HardwareFinish,
|
|
5113
|
+
UUID: "0000026C-0000-1000-8000-0026BB765291",
|
|
5114
|
+
description: "Hardware Finish",
|
|
5115
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5116
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5117
|
+
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
5118
|
+
props: {format: Characteristic.Formats.TLV8,
|
|
5119
|
+
allowedWordCount: 0,
|
|
5120
|
+
perms: [Characteristic.Perms.PAIRED_READ
|
|
5121
|
+
]
|
|
5122
|
+
},
|
|
5123
|
+
validValues:
|
|
5124
|
+
{ }
|
|
5125
|
+
},
|
|
5126
|
+
241: { type: "MetricsBufferFullState",
|
|
5127
|
+
sche: "MetricsBufferFullState",
|
|
5128
|
+
characteristic: Characteristic.MetricsBufferFullState,
|
|
5129
|
+
UUID: "00000272-0000-1000-8000-0026BB765291",
|
|
5130
|
+
description: "Metrics Buffer Full State",
|
|
5131
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5132
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5133
|
+
stringConversionFunction: function ( str ){ return stringToBool( str ); },
|
|
5134
|
+
props: {format: Characteristic.Formats.BOOL,
|
|
5135
|
+
allowedWordCount: 1,
|
|
5136
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5137
|
+
Characteristic.Perms.PAIRED_READ
|
|
5138
|
+
]
|
|
5139
|
+
},
|
|
5140
|
+
validValues:
|
|
5141
|
+
{ }
|
|
5142
|
+
},
|
|
5143
|
+
242: { type: "MultifunctionButton",
|
|
5144
|
+
sche: "multiFunctionButton",
|
|
5145
|
+
characteristic: Characteristic.MultifunctionButton,
|
|
5146
|
+
UUID: "0000026B-0000-1000-8000-0026BB765291",
|
|
5147
|
+
description: "Multifunction Button",
|
|
5148
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5149
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5150
|
+
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
5151
|
+
props: {format: Characteristic.Formats.UINT8,
|
|
5152
|
+
allowedWordCount: 1,
|
|
5153
|
+
maxValue: 1,
|
|
5154
|
+
minValue: 0,
|
|
5155
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5156
|
+
Characteristic.Perms.PAIRED_READ
|
|
5157
|
+
]
|
|
5158
|
+
},
|
|
5159
|
+
validValues:
|
|
5160
|
+
{ }
|
|
5161
|
+
},
|
|
5162
|
+
243: { type: "SelectedDiagnosticsModes",
|
|
5163
|
+
sche: "selectedDiagnosticsModes",
|
|
5164
|
+
characteristic: Characteristic.SelectedDiagnosticsModes,
|
|
5165
|
+
UUID: "0000024D-0000-1000-8000-0026BB765291",
|
|
5166
|
+
description: "Selected Diagnostics Modes",
|
|
5167
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5168
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5169
|
+
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
5170
|
+
props: {format: Characteristic.Formats.UINT32,
|
|
5171
|
+
allowedWordCount: 1,
|
|
5172
|
+
perms: [Characteristic.Perms.PAIRED_READ,
|
|
5173
|
+
Characteristic.Perms.PAIRED_WRITE
|
|
5174
|
+
]
|
|
5175
|
+
},
|
|
5176
|
+
validValues:
|
|
5177
|
+
{ }
|
|
5178
|
+
},
|
|
5179
|
+
244: { type: "SelectedSleepConfiguration",
|
|
5180
|
+
sche: "selectedSleepConfiguration",
|
|
5181
|
+
characteristic: Characteristic.SelectedSleepConfiguration,
|
|
5182
|
+
UUID: "00000252-0000-1000-8000-0026BB765291",
|
|
5183
|
+
description: "Selected Sleep Configuration",
|
|
5184
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5185
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5186
|
+
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
5187
|
+
props: {format: Characteristic.Formats.TLV8,
|
|
5188
|
+
allowedWordCount: 0,
|
|
5189
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5190
|
+
Characteristic.Perms.PAIRED_READ,
|
|
5191
|
+
Characteristic.Perms.PAIRED_WRITE,
|
|
5192
|
+
Characteristic.Perms.WRITE_RESPONSE
|
|
5193
|
+
]
|
|
5194
|
+
},
|
|
5195
|
+
validValues:
|
|
5196
|
+
{ }
|
|
5197
|
+
},
|
|
5198
|
+
245: { type: "SiriEnable",
|
|
5199
|
+
sche: "siriEnable",
|
|
5200
|
+
characteristic: Characteristic.SiriEnable,
|
|
5201
|
+
UUID: "00000255-0000-1000-8000-0026BB765291",
|
|
5202
|
+
description: "Siri Enable",
|
|
5203
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5204
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5205
|
+
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
5206
|
+
props: {format: Characteristic.Formats.UINT8,
|
|
5207
|
+
allowedWordCount: 1,
|
|
5208
|
+
maxValue: 1,
|
|
5209
|
+
minValue: 0,
|
|
5210
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5211
|
+
Characteristic.Perms.PAIRED_READ,
|
|
5212
|
+
Characteristic.Perms.PAIRED_WRITE
|
|
5213
|
+
]
|
|
5214
|
+
},
|
|
5215
|
+
validValues:
|
|
5216
|
+
{ }
|
|
5217
|
+
},
|
|
5218
|
+
246: { type: "SiriEngineVersion",
|
|
5219
|
+
sche: "siriEngineVersion",
|
|
5220
|
+
characteristic: Characteristic.SiriEngineVersion,
|
|
5221
|
+
UUID: "0000025A-0000-1000-8000-0026BB765291",
|
|
5222
|
+
description: "Siri's engine version",
|
|
5223
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5224
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5225
|
+
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
5226
|
+
props: {format: Characteristic.Formats.STRING,
|
|
5227
|
+
allowedWordCount: 0,
|
|
5228
|
+
perms: [Characteristic.Perms.PAIRED_READ
|
|
5229
|
+
]
|
|
5230
|
+
},
|
|
5231
|
+
validValues:
|
|
5232
|
+
{ }
|
|
5233
|
+
},
|
|
5234
|
+
247: { type: "SiriLightOnUse",
|
|
5235
|
+
sche: "siriLightOnUse",
|
|
5236
|
+
characteristic: Characteristic.SiriLightOnUse,
|
|
5237
|
+
UUID: "00000258-0000-1000-8000-0026BB765291",
|
|
5238
|
+
description: "Siri Light on Use",
|
|
5239
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5240
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5241
|
+
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
5242
|
+
props: {format: Characteristic.Formats.UINT8,
|
|
5243
|
+
allowedWordCount: 1,
|
|
5244
|
+
maxValue: 1,
|
|
5245
|
+
minValue: 0,
|
|
5246
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5247
|
+
Characteristic.Perms.PAIRED_READ,
|
|
5248
|
+
Characteristic.Perms.PAIRED_WRITE
|
|
5249
|
+
]
|
|
5250
|
+
},
|
|
5251
|
+
validValues:
|
|
5252
|
+
{ }
|
|
5253
|
+
},
|
|
5254
|
+
248: { type: "SiriListening",
|
|
5255
|
+
sche: "siriListening",
|
|
5256
|
+
characteristic: Characteristic.SiriListening,
|
|
5257
|
+
UUID: "00000256-0000-1000-8000-0026BB765291",
|
|
5258
|
+
description: "Siri Listening",
|
|
5259
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5260
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5261
|
+
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
5262
|
+
props: {format: Characteristic.Formats.UINT8,
|
|
5263
|
+
allowedWordCount: 1,
|
|
5264
|
+
maxValue: 1,
|
|
5265
|
+
minValue: 0,
|
|
5266
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5267
|
+
Characteristic.Perms.PAIRED_READ,
|
|
5268
|
+
Characteristic.Perms.PAIRED_WRITE
|
|
5269
|
+
]
|
|
5270
|
+
},
|
|
5271
|
+
validValues:
|
|
5272
|
+
{ }
|
|
5273
|
+
},
|
|
5274
|
+
249: { type: "SiriTouchToUse",
|
|
5275
|
+
sche: "siriTouchToUse",
|
|
5276
|
+
characteristic: Characteristic.SiriTouchToUse,
|
|
5277
|
+
UUID: "00000257-0000-1000-8000-0026BB765291",
|
|
5278
|
+
description: "Siri Touch to use",
|
|
5279
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5280
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5281
|
+
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
5282
|
+
props: {format: Characteristic.Formats.UINT8,
|
|
5283
|
+
allowedWordCount: 1,
|
|
5284
|
+
maxValue: 1,
|
|
5285
|
+
minValue: 0,
|
|
5286
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5287
|
+
Characteristic.Perms.PAIRED_READ,
|
|
5288
|
+
Characteristic.Perms.PAIRED_WRITE
|
|
5289
|
+
]
|
|
5290
|
+
},
|
|
5291
|
+
validValues:
|
|
5292
|
+
{ }
|
|
5293
|
+
},
|
|
5294
|
+
250: { type: "StagedFirmwareVersion",
|
|
5295
|
+
sche: "StagedFirmwareVersion",
|
|
5296
|
+
characteristic: Characteristic.StagedFirmwareVersion,
|
|
5297
|
+
UUID: "00000249-0000-1000-8000-0026BB765291",
|
|
5298
|
+
description: "Staged Firmware Version",
|
|
5299
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5300
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5301
|
+
stringConversionFunction: function ( str ){ return stringToString( str ); },
|
|
5302
|
+
props: {format: Characteristic.Formats.STRING,
|
|
5303
|
+
allowedWordCount: 0,
|
|
5304
|
+
perms: [Characteristic.Perms.NOTIFY,
|
|
5305
|
+
Characteristic.Perms.PAIRED_READ
|
|
5306
|
+
]
|
|
5307
|
+
},
|
|
5308
|
+
validValues:
|
|
5309
|
+
{ }
|
|
5310
|
+
},
|
|
5311
|
+
251: { type: "SupportedMetrics",
|
|
5312
|
+
sche: "supportedMetrics",
|
|
5313
|
+
characteristic: Characteristic.SupportedMetrics,
|
|
5314
|
+
UUID: "00000271-0000-1000-8000-0026BB765291",
|
|
5315
|
+
description: "Supported Metrics",
|
|
5316
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5317
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5318
|
+
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
5319
|
+
props: {format: Characteristic.Formats.TLV8,
|
|
5320
|
+
allowedWordCount: 0,
|
|
5321
|
+
perms: [Characteristic.Perms.PAIRED_READ,
|
|
5322
|
+
Characteristic.Perms.PAIRED_WRITE
|
|
5323
|
+
]
|
|
5324
|
+
},
|
|
5325
|
+
validValues:
|
|
5326
|
+
{ }
|
|
5327
|
+
},
|
|
5328
|
+
252: { type: "SupportedFirmwareUpdateConfiguration",
|
|
5329
|
+
sche: "supportedFirmwareUpdateConfiguration",
|
|
5330
|
+
characteristic: Characteristic.SupportedFirmwareUpdateConfiguration,
|
|
5331
|
+
UUID: "00000233-0000-1000-8000-0026BB765291",
|
|
5332
|
+
description: "Supported Firmware Update Configuration",
|
|
5333
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5334
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5335
|
+
stringConversionFunction: function ( str ){ return stringToTLV8( str ); },
|
|
5336
|
+
props: {format: Characteristic.Formats.TLV8,
|
|
5337
|
+
allowedWordCount: 0,
|
|
5338
|
+
perms: [Characteristic.Perms.PAIRED_READ
|
|
5339
|
+
]
|
|
5340
|
+
},
|
|
5341
|
+
validValues:
|
|
5342
|
+
{ }
|
|
5343
|
+
},
|
|
5344
|
+
253: { type: "TapType",
|
|
5345
|
+
sche: "tapType",
|
|
5346
|
+
characteristic: Characteristic.TapType,
|
|
5347
|
+
UUID: "0000022F-0000-1000-8000-0026BB765291",
|
|
5348
|
+
description: "The devices Tap Type",
|
|
5349
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5350
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5351
|
+
stringConversionFunction: function ( str ){ return stringToInt( str ); },
|
|
5352
|
+
props: {format: Characteristic.Formats.UINT16,
|
|
5353
|
+
allowedWordCount: 1,
|
|
5354
|
+
perms: [Characteristic.Perms.PAIRED_READ
|
|
5355
|
+
]
|
|
5356
|
+
},
|
|
5357
|
+
validValues:
|
|
5358
|
+
{ }
|
|
5359
|
+
},
|
|
5360
|
+
254: { type: "Token",
|
|
5361
|
+
sche: "token",
|
|
5362
|
+
characteristic: Characteristic.Token,
|
|
5363
|
+
UUID: "00000231-0000-1000-8000-0026BB765291",
|
|
5364
|
+
description: "The devices Token",
|
|
5365
|
+
relatedCurrentAccTypeEnumIndex: null,
|
|
5366
|
+
relatedTargetAccTypeEnumIndex: null,
|
|
5367
|
+
stringConversionFunction: function ( str ){ return stringPassThru( str ); },
|
|
5368
|
+
props: {format: Characteristic.Formats.DATA,
|
|
5369
|
+
allowedWordCount: 0,
|
|
5370
|
+
perms: [Characteristic.Perms.PAIRED_WRITE
|
|
5371
|
+
]
|
|
5372
|
+
},
|
|
5373
|
+
validValues:
|
|
5374
|
+
{ }
|
|
5375
|
+
}
|
|
4964
5376
|
};
|
|
4965
5377
|
|
|
4966
5378
|
return CMD4_ACC_TYPE_ENUM;
|