@@ -149,7 +149,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
149
149
150
150
suspend fun selectLocations (
151
151
newLocations : List <UInt >? ,
152
- timedInvokeTimeout : Duration ? = null
152
+ timedInvokeTimeout : Duration ? = null,
153
153
): SelectLocationsResponse {
154
154
val commandId: UInt = 0u
155
155
@@ -170,7 +170,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
170
170
InvokeRequest (
171
171
CommandPath (endpointId, clusterId = CLUSTER_ID , commandId),
172
172
tlvPayload = tlvWriter.getEncoded(),
173
- timedRequest = timedInvokeTimeout
173
+ timedRequest = timedInvokeTimeout,
174
174
)
175
175
176
176
val response: InvokeResponse = controller.invoke(request)
@@ -230,7 +230,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
230
230
InvokeRequest (
231
231
CommandPath (endpointId, clusterId = CLUSTER_ID , commandId),
232
232
tlvPayload = tlvWriter.getEncoded(),
233
- timedRequest = timedInvokeTimeout
233
+ timedRequest = timedInvokeTimeout,
234
234
)
235
235
236
236
val response: InvokeResponse = controller.invoke(request)
@@ -317,7 +317,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
317
317
318
318
suspend fun subscribeSupportedLocationsAttribute (
319
319
minInterval : Int ,
320
- maxInterval : Int
320
+ maxInterval : Int ,
321
321
): Flow <SupportedLocationsAttributeSubscriptionState > {
322
322
val ATTRIBUTE_ID : UInt = 0u
323
323
val attributePaths =
@@ -330,7 +330,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
330
330
eventPaths = emptyList(),
331
331
attributePaths = attributePaths,
332
332
minInterval = Duration .ofSeconds(minInterval.toLong()),
333
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
333
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
334
334
)
335
335
336
336
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
@@ -419,7 +419,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
419
419
420
420
suspend fun subscribeSupportedMapsAttribute (
421
421
minInterval : Int ,
422
- maxInterval : Int
422
+ maxInterval : Int ,
423
423
): Flow <SupportedMapsAttributeSubscriptionState > {
424
424
val ATTRIBUTE_ID : UInt = 1u
425
425
val attributePaths =
@@ -432,7 +432,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
432
432
eventPaths = emptyList(),
433
433
attributePaths = attributePaths,
434
434
minInterval = Duration .ofSeconds(minInterval.toLong()),
435
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
435
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
436
436
)
437
437
438
438
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
@@ -524,7 +524,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
524
524
525
525
suspend fun subscribeSelectedLocationsAttribute (
526
526
minInterval : Int ,
527
- maxInterval : Int
527
+ maxInterval : Int ,
528
528
): Flow <SelectedLocationsAttributeSubscriptionState > {
529
529
val ATTRIBUTE_ID : UInt = 2u
530
530
val attributePaths =
@@ -537,7 +537,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
537
537
eventPaths = emptyList(),
538
538
attributePaths = attributePaths,
539
539
minInterval = Duration .ofSeconds(minInterval.toLong()),
540
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
540
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
541
541
)
542
542
543
543
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
@@ -629,7 +629,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
629
629
630
630
suspend fun subscribeCurrentLocationAttribute (
631
631
minInterval : Int ,
632
- maxInterval : Int
632
+ maxInterval : Int ,
633
633
): Flow <CurrentLocationAttributeSubscriptionState > {
634
634
val ATTRIBUTE_ID : UInt = 3u
635
635
val attributePaths =
@@ -642,7 +642,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
642
642
eventPaths = emptyList(),
643
643
attributePaths = attributePaths,
644
644
minInterval = Duration .ofSeconds(minInterval.toLong()),
645
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
645
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
646
646
)
647
647
648
648
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
@@ -732,7 +732,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
732
732
733
733
suspend fun subscribeEstimatedEndTimeAttribute (
734
734
minInterval : Int ,
735
- maxInterval : Int
735
+ maxInterval : Int ,
736
736
): Flow <EstimatedEndTimeAttributeSubscriptionState > {
737
737
val ATTRIBUTE_ID : UInt = 4u
738
738
val attributePaths =
@@ -745,7 +745,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
745
745
eventPaths = emptyList(),
746
746
attributePaths = attributePaths,
747
747
minInterval = Duration .ofSeconds(minInterval.toLong()),
748
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
748
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
749
749
)
750
750
751
751
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
@@ -841,7 +841,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
841
841
842
842
suspend fun subscribeProgressAttribute (
843
843
minInterval : Int ,
844
- maxInterval : Int
844
+ maxInterval : Int ,
845
845
): Flow <ProgressAttributeSubscriptionState > {
846
846
val ATTRIBUTE_ID : UInt = 5u
847
847
val attributePaths =
@@ -854,7 +854,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
854
854
eventPaths = emptyList(),
855
855
attributePaths = attributePaths,
856
856
minInterval = Duration .ofSeconds(minInterval.toLong()),
857
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
857
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
858
858
)
859
859
860
860
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
@@ -945,7 +945,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
945
945
946
946
suspend fun subscribeGeneratedCommandListAttribute (
947
947
minInterval : Int ,
948
- maxInterval : Int
948
+ maxInterval : Int ,
949
949
): Flow <GeneratedCommandListAttributeSubscriptionState > {
950
950
val ATTRIBUTE_ID : UInt = 65528u
951
951
val attributePaths =
@@ -958,7 +958,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
958
958
eventPaths = emptyList(),
959
959
attributePaths = attributePaths,
960
960
minInterval = Duration .ofSeconds(minInterval.toLong()),
961
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
961
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
962
962
)
963
963
964
964
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
@@ -1042,7 +1042,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
1042
1042
1043
1043
suspend fun subscribeAcceptedCommandListAttribute (
1044
1044
minInterval : Int ,
1045
- maxInterval : Int
1045
+ maxInterval : Int ,
1046
1046
): Flow <AcceptedCommandListAttributeSubscriptionState > {
1047
1047
val ATTRIBUTE_ID : UInt = 65529u
1048
1048
val attributePaths =
@@ -1055,7 +1055,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
1055
1055
eventPaths = emptyList(),
1056
1056
attributePaths = attributePaths,
1057
1057
minInterval = Duration .ofSeconds(minInterval.toLong()),
1058
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
1058
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
1059
1059
)
1060
1060
1061
1061
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
@@ -1139,7 +1139,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
1139
1139
1140
1140
suspend fun subscribeEventListAttribute (
1141
1141
minInterval : Int ,
1142
- maxInterval : Int
1142
+ maxInterval : Int ,
1143
1143
): Flow <EventListAttributeSubscriptionState > {
1144
1144
val ATTRIBUTE_ID : UInt = 65530u
1145
1145
val attributePaths =
@@ -1152,7 +1152,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
1152
1152
eventPaths = emptyList(),
1153
1153
attributePaths = attributePaths,
1154
1154
minInterval = Duration .ofSeconds(minInterval.toLong()),
1155
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
1155
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
1156
1156
)
1157
1157
1158
1158
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
@@ -1234,7 +1234,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
1234
1234
1235
1235
suspend fun subscribeAttributeListAttribute (
1236
1236
minInterval : Int ,
1237
- maxInterval : Int
1237
+ maxInterval : Int ,
1238
1238
): Flow <AttributeListAttributeSubscriptionState > {
1239
1239
val ATTRIBUTE_ID : UInt = 65531u
1240
1240
val attributePaths =
@@ -1247,7 +1247,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
1247
1247
eventPaths = emptyList(),
1248
1248
attributePaths = attributePaths,
1249
1249
minInterval = Duration .ofSeconds(minInterval.toLong()),
1250
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
1250
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
1251
1251
)
1252
1252
1253
1253
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
@@ -1322,7 +1322,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
1322
1322
1323
1323
suspend fun subscribeFeatureMapAttribute (
1324
1324
minInterval : Int ,
1325
- maxInterval : Int
1325
+ maxInterval : Int ,
1326
1326
): Flow <UIntSubscriptionState > {
1327
1327
val ATTRIBUTE_ID : UInt = 65532u
1328
1328
val attributePaths =
@@ -1335,7 +1335,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
1335
1335
eventPaths = emptyList(),
1336
1336
attributePaths = attributePaths,
1337
1337
minInterval = Duration .ofSeconds(minInterval.toLong()),
1338
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
1338
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
1339
1339
)
1340
1340
1341
1341
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
@@ -1403,7 +1403,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
1403
1403
1404
1404
suspend fun subscribeClusterRevisionAttribute (
1405
1405
minInterval : Int ,
1406
- maxInterval : Int
1406
+ maxInterval : Int ,
1407
1407
): Flow <UShortSubscriptionState > {
1408
1408
val ATTRIBUTE_ID : UInt = 65533u
1409
1409
val attributePaths =
@@ -1416,7 +1416,7 @@ class ServiceAreaCluster(private val controller: MatterController, private val e
1416
1416
eventPaths = emptyList(),
1417
1417
attributePaths = attributePaths,
1418
1418
minInterval = Duration .ofSeconds(minInterval.toLong()),
1419
- maxInterval = Duration .ofSeconds(maxInterval.toLong())
1419
+ maxInterval = Duration .ofSeconds(maxInterval.toLong()),
1420
1420
)
1421
1421
1422
1422
return controller.subscribe(subscribeRequest).transform { subscriptionState ->
0 commit comments