4 * Copyright (c) 2021 Project CHIP Authors
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
19 // THIS FILE IS GENERATED BY ZAP
23 from .ChipStack import *
24 from .exceptions import *
27 TODO(#4511): This file only sends cluster commands, should add more functions.
30 __all__ = ["ChipCluster"]
33 def __init__(self, chipstack):
34 self._ChipStack = chipstack
36 def ListClusters(self):
41 "BarrierControlGoToPercent": {
44 "BarrierControlStop": {
70 "optionsOverride": "int",
72 "MoveColorTemperature": {
75 "colorTemperatureMinimum": "int",
76 "colorTemperatureMaximum": "int",
78 "optionsOverride": "int",
84 "optionsOverride": "int",
90 "optionsOverride": "int",
95 "transitionTime": "int",
97 "optionsOverride": "int",
99 "MoveToColorTemperature": {
100 "colorTemperature": "int",
101 "transitionTime": "int",
102 "optionsMask": "int",
103 "optionsOverride": "int",
108 "transitionTime": "int",
109 "optionsMask": "int",
110 "optionsOverride": "int",
112 "MoveToHueAndSaturation": {
115 "transitionTime": "int",
116 "optionsMask": "int",
117 "optionsOverride": "int",
119 "MoveToSaturation": {
121 "transitionTime": "int",
122 "optionsMask": "int",
123 "optionsOverride": "int",
128 "transitionTime": "int",
129 "optionsMask": "int",
130 "optionsOverride": "int",
132 "StepColorTemperature": {
135 "transitionTime": "int",
136 "colorTemperatureMinimum": "int",
137 "colorTemperatureMaximum": "int",
138 "optionsMask": "int",
139 "optionsOverride": "int",
144 "transitionTime": "int",
145 "optionsMask": "int",
146 "optionsOverride": "int",
151 "transitionTime": "int",
152 "optionsMask": "int",
153 "optionsOverride": "int",
156 "optionsMask": "int",
157 "optionsOverride": "int",
171 "ClearHolidaySchedule": {
180 "ClearWeekdaySchedule": {
184 "ClearYeardaySchedule": {
188 "GetHolidaySchedule": {
203 "GetWeekdaySchedule": {
207 "GetYeardaySchedule": {
214 "SetHolidaySchedule": {
216 "localStartTime": "int",
217 "localEndTime": "int",
218 "operatingModeDuringHoliday": "int",
236 "SetWeekdaySchedule": {
241 "startMinute": "int",
245 "SetYeardaySchedule": {
248 "localStartTime": "int",
249 "localEndTime": "int",
254 "UnlockWithTimeout": {
255 "timeoutInSeconds": "int",
259 "GeneralCommissioning": {
261 "expiryLengthSeconds": "int",
265 "CommissioningComplete": {
269 "fabricSecret": "bytes",
277 "groupName": "bytes",
279 "AddGroupIfIdentifying": {
281 "groupName": "bytes",
283 "GetGroupMembership": {
300 "identifyTime": "int",
310 "optionOverride": "int",
314 "transitionTime": "int",
316 "optionOverride": "int",
318 "MoveToLevelWithOnOff": {
320 "transitionTime": "int",
329 "transitionTime": "int",
331 "optionOverride": "int",
336 "transitionTime": "int",
340 "optionOverride": "int",
350 "FastForwardRequest": {
362 "SkipBackwardRequest": {
364 "SkipForwardRequest": {
366 "StartOverRequest": {
371 "NetworkCommissioning": {
372 "AddThreadNetwork": {
373 "operationalDataset": "bytes",
379 "credentials": "bytes",
384 "networkID": "bytes",
389 "networkID": "bytes",
393 "GetLastNetworkCommissioningResult": {
397 "networkID": "bytes",
406 "UpdateThreadNetwork": {
407 "operationalDataset": "bytes",
411 "UpdateWiFiNetwork": {
413 "credentials": "bytes",
430 "transitionTime": "int",
431 "sceneName": "bytes",
436 "GetSceneMembership": {
442 "transitionTime": "int",
460 "TemperatureMeasurement": {
464 def SendCommand(self, device: ctypes.c_void_p, cluster: str, command: str, endpoint: int, groupid: int, args):
465 func = getattr(self, "Cluster{}_Command{}".format(cluster, command), None)
467 raise UnknownCommand(cluster, command)
468 func(device, endpoint, groupid, **args)
470 def ClusterBarrierControl_CommandBarrierControlGoToPercent(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, percentOpen: int):
471 self._ChipStack.Call(
472 lambda: self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlGoToPercent(
473 device, ZCLendpoint, ZCLgroupid, percentOpen
477 def ClusterBarrierControl_CommandBarrierControlStop(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
478 self._ChipStack.Call(
479 lambda: self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlStop(
480 device, ZCLendpoint, ZCLgroupid
484 def ClusterBasic_CommandMfgSpecificPing(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
485 self._ChipStack.Call(
486 lambda: self._chipLib.chip_ime_AppendCommand_Basic_MfgSpecificPing(
487 device, ZCLendpoint, ZCLgroupid
491 def ClusterBinding_CommandBind(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, nodeId: int, groupId: int, endpointId: int, clusterId: int):
492 self._ChipStack.Call(
493 lambda: self._chipLib.chip_ime_AppendCommand_Binding_Bind(
494 device, ZCLendpoint, ZCLgroupid, nodeId, groupId, endpointId, clusterId
498 def ClusterBinding_CommandUnbind(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, nodeId: int, groupId: int, endpointId: int, clusterId: int):
499 self._ChipStack.Call(
500 lambda: self._chipLib.chip_ime_AppendCommand_Binding_Unbind(
501 device, ZCLendpoint, ZCLgroupid, nodeId, groupId, endpointId, clusterId
505 def ClusterColorControl_CommandMoveColor(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, rateX: int, rateY: int, optionsMask: int, optionsOverride: int):
506 self._ChipStack.Call(
507 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColor(
508 device, ZCLendpoint, ZCLgroupid, rateX, rateY, optionsMask, optionsOverride
512 def ClusterColorControl_CommandMoveColorTemperature(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, moveMode: int, rate: int, colorTemperatureMinimum: int, colorTemperatureMaximum: int, optionsMask: int, optionsOverride: int):
513 self._ChipStack.Call(
514 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColorTemperature(
515 device, ZCLendpoint, ZCLgroupid, moveMode, rate, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride
519 def ClusterColorControl_CommandMoveHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, moveMode: int, rate: int, optionsMask: int, optionsOverride: int):
520 self._ChipStack.Call(
521 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_MoveHue(
522 device, ZCLendpoint, ZCLgroupid, moveMode, rate, optionsMask, optionsOverride
526 def ClusterColorControl_CommandMoveSaturation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, moveMode: int, rate: int, optionsMask: int, optionsOverride: int):
527 self._ChipStack.Call(
528 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_MoveSaturation(
529 device, ZCLendpoint, ZCLgroupid, moveMode, rate, optionsMask, optionsOverride
533 def ClusterColorControl_CommandMoveToColor(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, colorX: int, colorY: int, transitionTime: int, optionsMask: int, optionsOverride: int):
534 self._ChipStack.Call(
535 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColor(
536 device, ZCLendpoint, ZCLgroupid, colorX, colorY, transitionTime, optionsMask, optionsOverride
540 def ClusterColorControl_CommandMoveToColorTemperature(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, colorTemperature: int, transitionTime: int, optionsMask: int, optionsOverride: int):
541 self._ChipStack.Call(
542 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColorTemperature(
543 device, ZCLendpoint, ZCLgroupid, colorTemperature, transitionTime, optionsMask, optionsOverride
547 def ClusterColorControl_CommandMoveToHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, hue: int, direction: int, transitionTime: int, optionsMask: int, optionsOverride: int):
548 self._ChipStack.Call(
549 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHue(
550 device, ZCLendpoint, ZCLgroupid, hue, direction, transitionTime, optionsMask, optionsOverride
554 def ClusterColorControl_CommandMoveToHueAndSaturation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, hue: int, saturation: int, transitionTime: int, optionsMask: int, optionsOverride: int):
555 self._ChipStack.Call(
556 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHueAndSaturation(
557 device, ZCLendpoint, ZCLgroupid, hue, saturation, transitionTime, optionsMask, optionsOverride
561 def ClusterColorControl_CommandMoveToSaturation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, saturation: int, transitionTime: int, optionsMask: int, optionsOverride: int):
562 self._ChipStack.Call(
563 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToSaturation(
564 device, ZCLendpoint, ZCLgroupid, saturation, transitionTime, optionsMask, optionsOverride
568 def ClusterColorControl_CommandStepColor(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepX: int, stepY: int, transitionTime: int, optionsMask: int, optionsOverride: int):
569 self._ChipStack.Call(
570 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_StepColor(
571 device, ZCLendpoint, ZCLgroupid, stepX, stepY, transitionTime, optionsMask, optionsOverride
575 def ClusterColorControl_CommandStepColorTemperature(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepMode: int, stepSize: int, transitionTime: int, colorTemperatureMinimum: int, colorTemperatureMaximum: int, optionsMask: int, optionsOverride: int):
576 self._ChipStack.Call(
577 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_StepColorTemperature(
578 device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride
582 def ClusterColorControl_CommandStepHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepMode: int, stepSize: int, transitionTime: int, optionsMask: int, optionsOverride: int):
583 self._ChipStack.Call(
584 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_StepHue(
585 device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, optionsMask, optionsOverride
589 def ClusterColorControl_CommandStepSaturation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepMode: int, stepSize: int, transitionTime: int, optionsMask: int, optionsOverride: int):
590 self._ChipStack.Call(
591 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_StepSaturation(
592 device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, optionsMask, optionsOverride
596 def ClusterColorControl_CommandStopMoveStep(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, optionsMask: int, optionsOverride: int):
597 self._ChipStack.Call(
598 lambda: self._chipLib.chip_ime_AppendCommand_ColorControl_StopMoveStep(
599 device, ZCLendpoint, ZCLgroupid, optionsMask, optionsOverride
603 def ClusterContentLaunch_CommandLaunchContent(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
604 self._ChipStack.Call(
605 lambda: self._chipLib.chip_ime_AppendCommand_ContentLaunch_LaunchContent(
606 device, ZCLendpoint, ZCLgroupid
610 def ClusterContentLaunch_CommandLaunchURL(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
611 self._ChipStack.Call(
612 lambda: self._chipLib.chip_ime_AppendCommand_ContentLaunch_LaunchURL(
613 device, ZCLendpoint, ZCLgroupid
617 def ClusterDoorLock_CommandClearAllPins(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
618 self._ChipStack.Call(
619 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllPins(
620 device, ZCLendpoint, ZCLgroupid
624 def ClusterDoorLock_CommandClearAllRfids(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
625 self._ChipStack.Call(
626 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllRfids(
627 device, ZCLendpoint, ZCLgroupid
631 def ClusterDoorLock_CommandClearHolidaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int):
632 self._ChipStack.Call(
633 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_ClearHolidaySchedule(
634 device, ZCLendpoint, ZCLgroupid, scheduleId
638 def ClusterDoorLock_CommandClearPin(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int):
639 self._ChipStack.Call(
640 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_ClearPin(
641 device, ZCLendpoint, ZCLgroupid, userId
645 def ClusterDoorLock_CommandClearRfid(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int):
646 self._ChipStack.Call(
647 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_ClearRfid(
648 device, ZCLendpoint, ZCLgroupid, userId
652 def ClusterDoorLock_CommandClearWeekdaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int):
653 self._ChipStack.Call(
654 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_ClearWeekdaySchedule(
655 device, ZCLendpoint, ZCLgroupid, scheduleId, userId
659 def ClusterDoorLock_CommandClearYeardaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int):
660 self._ChipStack.Call(
661 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_ClearYeardaySchedule(
662 device, ZCLendpoint, ZCLgroupid, scheduleId, userId
666 def ClusterDoorLock_CommandGetHolidaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int):
667 self._ChipStack.Call(
668 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_GetHolidaySchedule(
669 device, ZCLendpoint, ZCLgroupid, scheduleId
673 def ClusterDoorLock_CommandGetLogRecord(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, logIndex: int):
674 self._ChipStack.Call(
675 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_GetLogRecord(
676 device, ZCLendpoint, ZCLgroupid, logIndex
680 def ClusterDoorLock_CommandGetPin(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int):
681 self._ChipStack.Call(
682 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_GetPin(
683 device, ZCLendpoint, ZCLgroupid, userId
687 def ClusterDoorLock_CommandGetRfid(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int):
688 self._ChipStack.Call(
689 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_GetRfid(
690 device, ZCLendpoint, ZCLgroupid, userId
694 def ClusterDoorLock_CommandGetUserType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int):
695 self._ChipStack.Call(
696 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_GetUserType(
697 device, ZCLendpoint, ZCLgroupid, userId
701 def ClusterDoorLock_CommandGetWeekdaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int):
702 self._ChipStack.Call(
703 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_GetWeekdaySchedule(
704 device, ZCLendpoint, ZCLgroupid, scheduleId, userId
708 def ClusterDoorLock_CommandGetYeardaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int):
709 self._ChipStack.Call(
710 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_GetYeardaySchedule(
711 device, ZCLendpoint, ZCLgroupid, scheduleId, userId
715 def ClusterDoorLock_CommandLockDoor(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, pin: bytes):
716 pin = pin.encode("utf-8") + b'\x00'
717 self._ChipStack.Call(
718 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_LockDoor(
719 device, ZCLendpoint, ZCLgroupid, pin, len(pin)
723 def ClusterDoorLock_CommandSetHolidaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, localStartTime: int, localEndTime: int, operatingModeDuringHoliday: int):
724 self._ChipStack.Call(
725 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_SetHolidaySchedule(
726 device, ZCLendpoint, ZCLgroupid, scheduleId, localStartTime, localEndTime, operatingModeDuringHoliday
730 def ClusterDoorLock_CommandSetPin(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int, userStatus: int, userType: int, pin: bytes):
731 pin = pin.encode("utf-8") + b'\x00'
732 self._ChipStack.Call(
733 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_SetPin(
734 device, ZCLendpoint, ZCLgroupid, userId, userStatus, userType, pin, len(pin)
738 def ClusterDoorLock_CommandSetRfid(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int, userStatus: int, userType: int, id: bytes):
739 id = id.encode("utf-8") + b'\x00'
740 self._ChipStack.Call(
741 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_SetRfid(
742 device, ZCLendpoint, ZCLgroupid, userId, userStatus, userType, id, len(id)
746 def ClusterDoorLock_CommandSetUserType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int, userType: int):
747 self._ChipStack.Call(
748 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_SetUserType(
749 device, ZCLendpoint, ZCLgroupid, userId, userType
753 def ClusterDoorLock_CommandSetWeekdaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int, daysMask: int, startHour: int, startMinute: int, endHour: int, endMinute: int):
754 self._ChipStack.Call(
755 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_SetWeekdaySchedule(
756 device, ZCLendpoint, ZCLgroupid, scheduleId, userId, daysMask, startHour, startMinute, endHour, endMinute
760 def ClusterDoorLock_CommandSetYeardaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int, localStartTime: int, localEndTime: int):
761 self._ChipStack.Call(
762 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_SetYeardaySchedule(
763 device, ZCLendpoint, ZCLgroupid, scheduleId, userId, localStartTime, localEndTime
767 def ClusterDoorLock_CommandUnlockDoor(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, pin: bytes):
768 pin = pin.encode("utf-8") + b'\x00'
769 self._ChipStack.Call(
770 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockDoor(
771 device, ZCLendpoint, ZCLgroupid, pin, len(pin)
775 def ClusterDoorLock_CommandUnlockWithTimeout(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, timeoutInSeconds: int, pin: bytes):
776 pin = pin.encode("utf-8") + b'\x00'
777 self._ChipStack.Call(
778 lambda: self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockWithTimeout(
779 device, ZCLendpoint, ZCLgroupid, timeoutInSeconds, pin, len(pin)
783 def ClusterGeneralCommissioning_CommandArmFailSafe(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, expiryLengthSeconds: int, breadcrumb: int, timeoutMs: int):
784 self._ChipStack.Call(
785 lambda: self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_ArmFailSafe(
786 device, ZCLendpoint, ZCLgroupid, expiryLengthSeconds, breadcrumb, timeoutMs
790 def ClusterGeneralCommissioning_CommandCommissioningComplete(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
791 self._ChipStack.Call(
792 lambda: self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_CommissioningComplete(
793 device, ZCLendpoint, ZCLgroupid
797 def ClusterGeneralCommissioning_CommandSetFabric(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, fabricId: bytes, fabricSecret: bytes, breadcrumb: int, timeoutMs: int):
798 self._ChipStack.Call(
799 lambda: self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_SetFabric(
800 device, ZCLendpoint, ZCLgroupid, fabricId, len(fabricId), fabricSecret, len(fabricSecret), breadcrumb, timeoutMs
804 def ClusterGroups_CommandAddGroup(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, groupName: bytes):
805 groupName = groupName.encode("utf-8") + b'\x00'
806 self._ChipStack.Call(
807 lambda: self._chipLib.chip_ime_AppendCommand_Groups_AddGroup(
808 device, ZCLendpoint, ZCLgroupid, groupId, groupName, len(groupName)
812 def ClusterGroups_CommandAddGroupIfIdentifying(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, groupName: bytes):
813 groupName = groupName.encode("utf-8") + b'\x00'
814 self._ChipStack.Call(
815 lambda: self._chipLib.chip_ime_AppendCommand_Groups_AddGroupIfIdentifying(
816 device, ZCLendpoint, ZCLgroupid, groupId, groupName, len(groupName)
820 def ClusterGroups_CommandGetGroupMembership(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupCount: int, groupList: int):
821 self._ChipStack.Call(
822 lambda: self._chipLib.chip_ime_AppendCommand_Groups_GetGroupMembership(
823 device, ZCLendpoint, ZCLgroupid, groupCount, groupList
827 def ClusterGroups_CommandRemoveAllGroups(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
828 self._ChipStack.Call(
829 lambda: self._chipLib.chip_ime_AppendCommand_Groups_RemoveAllGroups(
830 device, ZCLendpoint, ZCLgroupid
834 def ClusterGroups_CommandRemoveGroup(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int):
835 self._ChipStack.Call(
836 lambda: self._chipLib.chip_ime_AppendCommand_Groups_RemoveGroup(
837 device, ZCLendpoint, ZCLgroupid, groupId
841 def ClusterGroups_CommandViewGroup(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int):
842 self._ChipStack.Call(
843 lambda: self._chipLib.chip_ime_AppendCommand_Groups_ViewGroup(
844 device, ZCLendpoint, ZCLgroupid, groupId
848 def ClusterIdentify_CommandIdentify(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, identifyTime: int):
849 self._ChipStack.Call(
850 lambda: self._chipLib.chip_ime_AppendCommand_Identify_Identify(
851 device, ZCLendpoint, ZCLgroupid, identifyTime
855 def ClusterIdentify_CommandIdentifyQuery(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
856 self._ChipStack.Call(
857 lambda: self._chipLib.chip_ime_AppendCommand_Identify_IdentifyQuery(
858 device, ZCLendpoint, ZCLgroupid
862 def ClusterLevelControl_CommandMove(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, moveMode: int, rate: int, optionMask: int, optionOverride: int):
863 self._ChipStack.Call(
864 lambda: self._chipLib.chip_ime_AppendCommand_LevelControl_Move(
865 device, ZCLendpoint, ZCLgroupid, moveMode, rate, optionMask, optionOverride
869 def ClusterLevelControl_CommandMoveToLevel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, level: int, transitionTime: int, optionMask: int, optionOverride: int):
870 self._ChipStack.Call(
871 lambda: self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevel(
872 device, ZCLendpoint, ZCLgroupid, level, transitionTime, optionMask, optionOverride
876 def ClusterLevelControl_CommandMoveToLevelWithOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, level: int, transitionTime: int):
877 self._ChipStack.Call(
878 lambda: self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevelWithOnOff(
879 device, ZCLendpoint, ZCLgroupid, level, transitionTime
883 def ClusterLevelControl_CommandMoveWithOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, moveMode: int, rate: int):
884 self._ChipStack.Call(
885 lambda: self._chipLib.chip_ime_AppendCommand_LevelControl_MoveWithOnOff(
886 device, ZCLendpoint, ZCLgroupid, moveMode, rate
890 def ClusterLevelControl_CommandStep(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepMode: int, stepSize: int, transitionTime: int, optionMask: int, optionOverride: int):
891 self._ChipStack.Call(
892 lambda: self._chipLib.chip_ime_AppendCommand_LevelControl_Step(
893 device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, optionMask, optionOverride
897 def ClusterLevelControl_CommandStepWithOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepMode: int, stepSize: int, transitionTime: int):
898 self._ChipStack.Call(
899 lambda: self._chipLib.chip_ime_AppendCommand_LevelControl_StepWithOnOff(
900 device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime
904 def ClusterLevelControl_CommandStop(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, optionMask: int, optionOverride: int):
905 self._ChipStack.Call(
906 lambda: self._chipLib.chip_ime_AppendCommand_LevelControl_Stop(
907 device, ZCLendpoint, ZCLgroupid, optionMask, optionOverride
911 def ClusterLevelControl_CommandStopWithOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
912 self._ChipStack.Call(
913 lambda: self._chipLib.chip_ime_AppendCommand_LevelControl_StopWithOnOff(
914 device, ZCLendpoint, ZCLgroupid
918 def ClusterLowPower_CommandSleep(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
919 self._ChipStack.Call(
920 lambda: self._chipLib.chip_ime_AppendCommand_LowPower_Sleep(
921 device, ZCLendpoint, ZCLgroupid
925 def ClusterMediaPlayback_CommandFastForwardRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
926 self._ChipStack.Call(
927 lambda: self._chipLib.chip_ime_AppendCommand_MediaPlayback_FastForwardRequest(
928 device, ZCLendpoint, ZCLgroupid
932 def ClusterMediaPlayback_CommandNextRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
933 self._ChipStack.Call(
934 lambda: self._chipLib.chip_ime_AppendCommand_MediaPlayback_NextRequest(
935 device, ZCLendpoint, ZCLgroupid
939 def ClusterMediaPlayback_CommandPauseRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
940 self._ChipStack.Call(
941 lambda: self._chipLib.chip_ime_AppendCommand_MediaPlayback_PauseRequest(
942 device, ZCLendpoint, ZCLgroupid
946 def ClusterMediaPlayback_CommandPlayRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
947 self._ChipStack.Call(
948 lambda: self._chipLib.chip_ime_AppendCommand_MediaPlayback_PlayRequest(
949 device, ZCLendpoint, ZCLgroupid
953 def ClusterMediaPlayback_CommandPreviousRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
954 self._ChipStack.Call(
955 lambda: self._chipLib.chip_ime_AppendCommand_MediaPlayback_PreviousRequest(
956 device, ZCLendpoint, ZCLgroupid
960 def ClusterMediaPlayback_CommandRewindRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
961 self._ChipStack.Call(
962 lambda: self._chipLib.chip_ime_AppendCommand_MediaPlayback_RewindRequest(
963 device, ZCLendpoint, ZCLgroupid
967 def ClusterMediaPlayback_CommandSkipBackwardRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
968 self._ChipStack.Call(
969 lambda: self._chipLib.chip_ime_AppendCommand_MediaPlayback_SkipBackwardRequest(
970 device, ZCLendpoint, ZCLgroupid
974 def ClusterMediaPlayback_CommandSkipForwardRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
975 self._ChipStack.Call(
976 lambda: self._chipLib.chip_ime_AppendCommand_MediaPlayback_SkipForwardRequest(
977 device, ZCLendpoint, ZCLgroupid
981 def ClusterMediaPlayback_CommandStartOverRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
982 self._ChipStack.Call(
983 lambda: self._chipLib.chip_ime_AppendCommand_MediaPlayback_StartOverRequest(
984 device, ZCLendpoint, ZCLgroupid
988 def ClusterMediaPlayback_CommandStopRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
989 self._ChipStack.Call(
990 lambda: self._chipLib.chip_ime_AppendCommand_MediaPlayback_StopRequest(
991 device, ZCLendpoint, ZCLgroupid
995 def ClusterNetworkCommissioning_CommandAddThreadNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, operationalDataset: bytes, breadcrumb: int, timeoutMs: int):
996 self._ChipStack.Call(
997 lambda: self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddThreadNetwork(
998 device, ZCLendpoint, ZCLgroupid, operationalDataset, len(operationalDataset), breadcrumb, timeoutMs
1002 def ClusterNetworkCommissioning_CommandAddWiFiNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, ssid: bytes, credentials: bytes, breadcrumb: int, timeoutMs: int):
1003 self._ChipStack.Call(
1004 lambda: self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddWiFiNetwork(
1005 device, ZCLendpoint, ZCLgroupid, ssid, len(ssid), credentials, len(credentials), breadcrumb, timeoutMs
1009 def ClusterNetworkCommissioning_CommandDisableNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, networkID: bytes, breadcrumb: int, timeoutMs: int):
1010 self._ChipStack.Call(
1011 lambda: self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_DisableNetwork(
1012 device, ZCLendpoint, ZCLgroupid, networkID, len(networkID), breadcrumb, timeoutMs
1016 def ClusterNetworkCommissioning_CommandEnableNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, networkID: bytes, breadcrumb: int, timeoutMs: int):
1017 self._ChipStack.Call(
1018 lambda: self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_EnableNetwork(
1019 device, ZCLendpoint, ZCLgroupid, networkID, len(networkID), breadcrumb, timeoutMs
1023 def ClusterNetworkCommissioning_CommandGetLastNetworkCommissioningResult(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, timeoutMs: int):
1024 self._ChipStack.Call(
1025 lambda: self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_GetLastNetworkCommissioningResult(
1026 device, ZCLendpoint, ZCLgroupid, timeoutMs
1030 def ClusterNetworkCommissioning_CommandRemoveNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, networkID: bytes, breadcrumb: int, timeoutMs: int):
1031 self._ChipStack.Call(
1032 lambda: self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_RemoveNetwork(
1033 device, ZCLendpoint, ZCLgroupid, networkID, len(networkID), breadcrumb, timeoutMs
1037 def ClusterNetworkCommissioning_CommandScanNetworks(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, ssid: bytes, breadcrumb: int, timeoutMs: int):
1038 self._ChipStack.Call(
1039 lambda: self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_ScanNetworks(
1040 device, ZCLendpoint, ZCLgroupid, ssid, len(ssid), breadcrumb, timeoutMs
1044 def ClusterNetworkCommissioning_CommandUpdateThreadNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, operationalDataset: bytes, breadcrumb: int, timeoutMs: int):
1045 self._ChipStack.Call(
1046 lambda: self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateThreadNetwork(
1047 device, ZCLendpoint, ZCLgroupid, operationalDataset, len(operationalDataset), breadcrumb, timeoutMs
1051 def ClusterNetworkCommissioning_CommandUpdateWiFiNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, ssid: bytes, credentials: bytes, breadcrumb: int, timeoutMs: int):
1052 self._ChipStack.Call(
1053 lambda: self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateWiFiNetwork(
1054 device, ZCLendpoint, ZCLgroupid, ssid, len(ssid), credentials, len(credentials), breadcrumb, timeoutMs
1058 def ClusterOnOff_CommandOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
1059 self._ChipStack.Call(
1060 lambda: self._chipLib.chip_ime_AppendCommand_OnOff_Off(
1061 device, ZCLendpoint, ZCLgroupid
1065 def ClusterOnOff_CommandOn(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
1066 self._ChipStack.Call(
1067 lambda: self._chipLib.chip_ime_AppendCommand_OnOff_On(
1068 device, ZCLendpoint, ZCLgroupid
1072 def ClusterOnOff_CommandToggle(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int):
1073 self._ChipStack.Call(
1074 lambda: self._chipLib.chip_ime_AppendCommand_OnOff_Toggle(
1075 device, ZCLendpoint, ZCLgroupid
1079 def ClusterScenes_CommandAddScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, sceneId: int, transitionTime: int, sceneName: bytes, clusterId: int, length: int, value: int):
1080 sceneName = sceneName.encode("utf-8") + b'\x00'
1081 self._ChipStack.Call(
1082 lambda: self._chipLib.chip_ime_AppendCommand_Scenes_AddScene(
1083 device, ZCLendpoint, ZCLgroupid, groupId, sceneId, transitionTime, sceneName, len(sceneName), clusterId, length, value
1087 def ClusterScenes_CommandGetSceneMembership(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int):
1088 self._ChipStack.Call(
1089 lambda: self._chipLib.chip_ime_AppendCommand_Scenes_GetSceneMembership(
1090 device, ZCLendpoint, ZCLgroupid, groupId
1094 def ClusterScenes_CommandRecallScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, sceneId: int, transitionTime: int):
1095 self._ChipStack.Call(
1096 lambda: self._chipLib.chip_ime_AppendCommand_Scenes_RecallScene(
1097 device, ZCLendpoint, ZCLgroupid, groupId, sceneId, transitionTime
1101 def ClusterScenes_CommandRemoveAllScenes(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int):
1102 self._ChipStack.Call(
1103 lambda: self._chipLib.chip_ime_AppendCommand_Scenes_RemoveAllScenes(
1104 device, ZCLendpoint, ZCLgroupid, groupId
1108 def ClusterScenes_CommandRemoveScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, sceneId: int):
1109 self._ChipStack.Call(
1110 lambda: self._chipLib.chip_ime_AppendCommand_Scenes_RemoveScene(
1111 device, ZCLendpoint, ZCLgroupid, groupId, sceneId
1115 def ClusterScenes_CommandStoreScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, sceneId: int):
1116 self._ChipStack.Call(
1117 lambda: self._chipLib.chip_ime_AppendCommand_Scenes_StoreScene(
1118 device, ZCLendpoint, ZCLgroupid, groupId, sceneId
1122 def ClusterScenes_CommandViewScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, sceneId: int):
1123 self._ChipStack.Call(
1124 lambda: self._chipLib.chip_ime_AppendCommand_Scenes_ViewScene(
1125 device, ZCLendpoint, ZCLgroupid, groupId, sceneId
1129 def InitLib(self, chipLib):
1130 self._chipLib = chipLib
1131 # Cluster ApplicationBasic
1132 # Cluster BarrierControl
1133 # Cluster BarrierControl Command BarrierControlGoToPercent
1134 self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlGoToPercent.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8]
1135 self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlGoToPercent.restype = ctypes.c_uint32
1136 # Cluster BarrierControl Command BarrierControlStop
1137 self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlStop.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1138 self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlStop.restype = ctypes.c_uint32
1140 # Cluster Basic Command MfgSpecificPing
1141 self._chipLib.chip_ime_AppendCommand_Basic_MfgSpecificPing.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1142 self._chipLib.chip_ime_AppendCommand_Basic_MfgSpecificPing.restype = ctypes.c_uint32
1144 # Cluster Binding Command Bind
1145 self._chipLib.chip_ime_AppendCommand_Binding_Bind.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16]
1146 self._chipLib.chip_ime_AppendCommand_Binding_Bind.restype = ctypes.c_uint32
1147 # Cluster Binding Command Unbind
1148 self._chipLib.chip_ime_AppendCommand_Binding_Unbind.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16]
1149 self._chipLib.chip_ime_AppendCommand_Binding_Unbind.restype = ctypes.c_uint32
1150 # Cluster ColorControl
1151 # Cluster ColorControl Command MoveColor
1152 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColor.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16, ctypes.c_int16, ctypes.c_uint8, ctypes.c_uint8]
1153 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColor.restype = ctypes.c_uint32
1154 # Cluster ColorControl Command MoveColorTemperature
1155 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColorTemperature.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1156 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColorTemperature.restype = ctypes.c_uint32
1157 # Cluster ColorControl Command MoveHue
1158 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8]
1159 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveHue.restype = ctypes.c_uint32
1160 # Cluster ColorControl Command MoveSaturation
1161 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveSaturation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8]
1162 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveSaturation.restype = ctypes.c_uint32
1163 # Cluster ColorControl Command MoveToColor
1164 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColor.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1165 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColor.restype = ctypes.c_uint32
1166 # Cluster ColorControl Command MoveToColorTemperature
1167 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColorTemperature.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1168 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColorTemperature.restype = ctypes.c_uint32
1169 # Cluster ColorControl Command MoveToHue
1170 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1171 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHue.restype = ctypes.c_uint32
1172 # Cluster ColorControl Command MoveToHueAndSaturation
1173 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHueAndSaturation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1174 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHueAndSaturation.restype = ctypes.c_uint32
1175 # Cluster ColorControl Command MoveToSaturation
1176 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToSaturation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1177 self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToSaturation.restype = ctypes.c_uint32
1178 # Cluster ColorControl Command StepColor
1179 self._chipLib.chip_ime_AppendCommand_ColorControl_StepColor.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16, ctypes.c_int16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1180 self._chipLib.chip_ime_AppendCommand_ColorControl_StepColor.restype = ctypes.c_uint32
1181 # Cluster ColorControl Command StepColorTemperature
1182 self._chipLib.chip_ime_AppendCommand_ColorControl_StepColorTemperature.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1183 self._chipLib.chip_ime_AppendCommand_ColorControl_StepColorTemperature.restype = ctypes.c_uint32
1184 # Cluster ColorControl Command StepHue
1185 self._chipLib.chip_ime_AppendCommand_ColorControl_StepHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8]
1186 self._chipLib.chip_ime_AppendCommand_ColorControl_StepHue.restype = ctypes.c_uint32
1187 # Cluster ColorControl Command StepSaturation
1188 self._chipLib.chip_ime_AppendCommand_ColorControl_StepSaturation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8]
1189 self._chipLib.chip_ime_AppendCommand_ColorControl_StepSaturation.restype = ctypes.c_uint32
1190 # Cluster ColorControl Command StopMoveStep
1191 self._chipLib.chip_ime_AppendCommand_ColorControl_StopMoveStep.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1192 self._chipLib.chip_ime_AppendCommand_ColorControl_StopMoveStep.restype = ctypes.c_uint32
1193 # Cluster ContentLaunch
1194 # Cluster ContentLaunch Command LaunchContent
1195 self._chipLib.chip_ime_AppendCommand_ContentLaunch_LaunchContent.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1196 self._chipLib.chip_ime_AppendCommand_ContentLaunch_LaunchContent.restype = ctypes.c_uint32
1197 # Cluster ContentLaunch Command LaunchURL
1198 self._chipLib.chip_ime_AppendCommand_ContentLaunch_LaunchURL.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1199 self._chipLib.chip_ime_AppendCommand_ContentLaunch_LaunchURL.restype = ctypes.c_uint32
1201 # Cluster DoorLock Command ClearAllPins
1202 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllPins.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1203 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllPins.restype = ctypes.c_uint32
1204 # Cluster DoorLock Command ClearAllRfids
1205 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllRfids.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1206 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllRfids.restype = ctypes.c_uint32
1207 # Cluster DoorLock Command ClearHolidaySchedule
1208 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearHolidaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8]
1209 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearHolidaySchedule.restype = ctypes.c_uint32
1210 # Cluster DoorLock Command ClearPin
1211 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearPin.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16]
1212 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearPin.restype = ctypes.c_uint32
1213 # Cluster DoorLock Command ClearRfid
1214 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearRfid.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16]
1215 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearRfid.restype = ctypes.c_uint32
1216 # Cluster DoorLock Command ClearWeekdaySchedule
1217 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearWeekdaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16]
1218 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearWeekdaySchedule.restype = ctypes.c_uint32
1219 # Cluster DoorLock Command ClearYeardaySchedule
1220 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearYeardaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16]
1221 self._chipLib.chip_ime_AppendCommand_DoorLock_ClearYeardaySchedule.restype = ctypes.c_uint32
1222 # Cluster DoorLock Command GetHolidaySchedule
1223 self._chipLib.chip_ime_AppendCommand_DoorLock_GetHolidaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8]
1224 self._chipLib.chip_ime_AppendCommand_DoorLock_GetHolidaySchedule.restype = ctypes.c_uint32
1225 # Cluster DoorLock Command GetLogRecord
1226 self._chipLib.chip_ime_AppendCommand_DoorLock_GetLogRecord.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16]
1227 self._chipLib.chip_ime_AppendCommand_DoorLock_GetLogRecord.restype = ctypes.c_uint32
1228 # Cluster DoorLock Command GetPin
1229 self._chipLib.chip_ime_AppendCommand_DoorLock_GetPin.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16]
1230 self._chipLib.chip_ime_AppendCommand_DoorLock_GetPin.restype = ctypes.c_uint32
1231 # Cluster DoorLock Command GetRfid
1232 self._chipLib.chip_ime_AppendCommand_DoorLock_GetRfid.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16]
1233 self._chipLib.chip_ime_AppendCommand_DoorLock_GetRfid.restype = ctypes.c_uint32
1234 # Cluster DoorLock Command GetUserType
1235 self._chipLib.chip_ime_AppendCommand_DoorLock_GetUserType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16]
1236 self._chipLib.chip_ime_AppendCommand_DoorLock_GetUserType.restype = ctypes.c_uint32
1237 # Cluster DoorLock Command GetWeekdaySchedule
1238 self._chipLib.chip_ime_AppendCommand_DoorLock_GetWeekdaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16]
1239 self._chipLib.chip_ime_AppendCommand_DoorLock_GetWeekdaySchedule.restype = ctypes.c_uint32
1240 # Cluster DoorLock Command GetYeardaySchedule
1241 self._chipLib.chip_ime_AppendCommand_DoorLock_GetYeardaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16]
1242 self._chipLib.chip_ime_AppendCommand_DoorLock_GetYeardaySchedule.restype = ctypes.c_uint32
1243 # Cluster DoorLock Command LockDoor
1244 self._chipLib.chip_ime_AppendCommand_DoorLock_LockDoor.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32]
1245 self._chipLib.chip_ime_AppendCommand_DoorLock_LockDoor.restype = ctypes.c_uint32
1246 # Cluster DoorLock Command SetHolidaySchedule
1247 self._chipLib.chip_ime_AppendCommand_DoorLock_SetHolidaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint32, ctypes.c_uint32, ctypes.c_uint8]
1248 self._chipLib.chip_ime_AppendCommand_DoorLock_SetHolidaySchedule.restype = ctypes.c_uint32
1249 # Cluster DoorLock Command SetPin
1250 self._chipLib.chip_ime_AppendCommand_DoorLock_SetPin.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32]
1251 self._chipLib.chip_ime_AppendCommand_DoorLock_SetPin.restype = ctypes.c_uint32
1252 # Cluster DoorLock Command SetRfid
1253 self._chipLib.chip_ime_AppendCommand_DoorLock_SetRfid.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32]
1254 self._chipLib.chip_ime_AppendCommand_DoorLock_SetRfid.restype = ctypes.c_uint32
1255 # Cluster DoorLock Command SetUserType
1256 self._chipLib.chip_ime_AppendCommand_DoorLock_SetUserType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8]
1257 self._chipLib.chip_ime_AppendCommand_DoorLock_SetUserType.restype = ctypes.c_uint32
1258 # Cluster DoorLock Command SetWeekdaySchedule
1259 self._chipLib.chip_ime_AppendCommand_DoorLock_SetWeekdaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8]
1260 self._chipLib.chip_ime_AppendCommand_DoorLock_SetWeekdaySchedule.restype = ctypes.c_uint32
1261 # Cluster DoorLock Command SetYeardaySchedule
1262 self._chipLib.chip_ime_AppendCommand_DoorLock_SetYeardaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint32]
1263 self._chipLib.chip_ime_AppendCommand_DoorLock_SetYeardaySchedule.restype = ctypes.c_uint32
1264 # Cluster DoorLock Command UnlockDoor
1265 self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockDoor.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32]
1266 self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockDoor.restype = ctypes.c_uint32
1267 # Cluster DoorLock Command UnlockWithTimeout
1268 self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockWithTimeout.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32]
1269 self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockWithTimeout.restype = ctypes.c_uint32
1270 # Cluster GeneralCommissioning
1271 # Cluster GeneralCommissioning Command ArmFailSafe
1272 self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_ArmFailSafe.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint32]
1273 self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_ArmFailSafe.restype = ctypes.c_uint32
1274 # Cluster GeneralCommissioning Command CommissioningComplete
1275 self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_CommissioningComplete.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1276 self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_CommissioningComplete.restype = ctypes.c_uint32
1277 # Cluster GeneralCommissioning Command SetFabric
1278 self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_SetFabric.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32]
1279 self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_SetFabric.restype = ctypes.c_uint32
1281 # Cluster Groups Command AddGroup
1282 self._chipLib.chip_ime_AppendCommand_Groups_AddGroup.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32]
1283 self._chipLib.chip_ime_AppendCommand_Groups_AddGroup.restype = ctypes.c_uint32
1284 # Cluster Groups Command AddGroupIfIdentifying
1285 self._chipLib.chip_ime_AppendCommand_Groups_AddGroupIfIdentifying.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32]
1286 self._chipLib.chip_ime_AppendCommand_Groups_AddGroupIfIdentifying.restype = ctypes.c_uint32
1287 # Cluster Groups Command GetGroupMembership
1288 self._chipLib.chip_ime_AppendCommand_Groups_GetGroupMembership.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16]
1289 self._chipLib.chip_ime_AppendCommand_Groups_GetGroupMembership.restype = ctypes.c_uint32
1290 # Cluster Groups Command RemoveAllGroups
1291 self._chipLib.chip_ime_AppendCommand_Groups_RemoveAllGroups.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1292 self._chipLib.chip_ime_AppendCommand_Groups_RemoveAllGroups.restype = ctypes.c_uint32
1293 # Cluster Groups Command RemoveGroup
1294 self._chipLib.chip_ime_AppendCommand_Groups_RemoveGroup.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16]
1295 self._chipLib.chip_ime_AppendCommand_Groups_RemoveGroup.restype = ctypes.c_uint32
1296 # Cluster Groups Command ViewGroup
1297 self._chipLib.chip_ime_AppendCommand_Groups_ViewGroup.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16]
1298 self._chipLib.chip_ime_AppendCommand_Groups_ViewGroup.restype = ctypes.c_uint32
1301 # Cluster Identify Command Identify
1302 self._chipLib.chip_ime_AppendCommand_Identify_Identify.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16]
1303 self._chipLib.chip_ime_AppendCommand_Identify_Identify.restype = ctypes.c_uint32
1304 # Cluster Identify Command IdentifyQuery
1305 self._chipLib.chip_ime_AppendCommand_Identify_IdentifyQuery.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1306 self._chipLib.chip_ime_AppendCommand_Identify_IdentifyQuery.restype = ctypes.c_uint32
1307 # Cluster LevelControl
1308 # Cluster LevelControl Command Move
1309 self._chipLib.chip_ime_AppendCommand_LevelControl_Move.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8]
1310 self._chipLib.chip_ime_AppendCommand_LevelControl_Move.restype = ctypes.c_uint32
1311 # Cluster LevelControl Command MoveToLevel
1312 self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1313 self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevel.restype = ctypes.c_uint32
1314 # Cluster LevelControl Command MoveToLevelWithOnOff
1315 self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevelWithOnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16]
1316 self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevelWithOnOff.restype = ctypes.c_uint32
1317 # Cluster LevelControl Command MoveWithOnOff
1318 self._chipLib.chip_ime_AppendCommand_LevelControl_MoveWithOnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1319 self._chipLib.chip_ime_AppendCommand_LevelControl_MoveWithOnOff.restype = ctypes.c_uint32
1320 # Cluster LevelControl Command Step
1321 self._chipLib.chip_ime_AppendCommand_LevelControl_Step.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1322 self._chipLib.chip_ime_AppendCommand_LevelControl_Step.restype = ctypes.c_uint32
1323 # Cluster LevelControl Command StepWithOnOff
1324 self._chipLib.chip_ime_AppendCommand_LevelControl_StepWithOnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16]
1325 self._chipLib.chip_ime_AppendCommand_LevelControl_StepWithOnOff.restype = ctypes.c_uint32
1326 # Cluster LevelControl Command Stop
1327 self._chipLib.chip_ime_AppendCommand_LevelControl_Stop.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1328 self._chipLib.chip_ime_AppendCommand_LevelControl_Stop.restype = ctypes.c_uint32
1329 # Cluster LevelControl Command StopWithOnOff
1330 self._chipLib.chip_ime_AppendCommand_LevelControl_StopWithOnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1331 self._chipLib.chip_ime_AppendCommand_LevelControl_StopWithOnOff.restype = ctypes.c_uint32
1333 # Cluster LowPower Command Sleep
1334 self._chipLib.chip_ime_AppendCommand_LowPower_Sleep.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1335 self._chipLib.chip_ime_AppendCommand_LowPower_Sleep.restype = ctypes.c_uint32
1336 # Cluster MediaPlayback
1337 # Cluster MediaPlayback Command FastForwardRequest
1338 self._chipLib.chip_ime_AppendCommand_MediaPlayback_FastForwardRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1339 self._chipLib.chip_ime_AppendCommand_MediaPlayback_FastForwardRequest.restype = ctypes.c_uint32
1340 # Cluster MediaPlayback Command NextRequest
1341 self._chipLib.chip_ime_AppendCommand_MediaPlayback_NextRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1342 self._chipLib.chip_ime_AppendCommand_MediaPlayback_NextRequest.restype = ctypes.c_uint32
1343 # Cluster MediaPlayback Command PauseRequest
1344 self._chipLib.chip_ime_AppendCommand_MediaPlayback_PauseRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1345 self._chipLib.chip_ime_AppendCommand_MediaPlayback_PauseRequest.restype = ctypes.c_uint32
1346 # Cluster MediaPlayback Command PlayRequest
1347 self._chipLib.chip_ime_AppendCommand_MediaPlayback_PlayRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1348 self._chipLib.chip_ime_AppendCommand_MediaPlayback_PlayRequest.restype = ctypes.c_uint32
1349 # Cluster MediaPlayback Command PreviousRequest
1350 self._chipLib.chip_ime_AppendCommand_MediaPlayback_PreviousRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1351 self._chipLib.chip_ime_AppendCommand_MediaPlayback_PreviousRequest.restype = ctypes.c_uint32
1352 # Cluster MediaPlayback Command RewindRequest
1353 self._chipLib.chip_ime_AppendCommand_MediaPlayback_RewindRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1354 self._chipLib.chip_ime_AppendCommand_MediaPlayback_RewindRequest.restype = ctypes.c_uint32
1355 # Cluster MediaPlayback Command SkipBackwardRequest
1356 self._chipLib.chip_ime_AppendCommand_MediaPlayback_SkipBackwardRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1357 self._chipLib.chip_ime_AppendCommand_MediaPlayback_SkipBackwardRequest.restype = ctypes.c_uint32
1358 # Cluster MediaPlayback Command SkipForwardRequest
1359 self._chipLib.chip_ime_AppendCommand_MediaPlayback_SkipForwardRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1360 self._chipLib.chip_ime_AppendCommand_MediaPlayback_SkipForwardRequest.restype = ctypes.c_uint32
1361 # Cluster MediaPlayback Command StartOverRequest
1362 self._chipLib.chip_ime_AppendCommand_MediaPlayback_StartOverRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1363 self._chipLib.chip_ime_AppendCommand_MediaPlayback_StartOverRequest.restype = ctypes.c_uint32
1364 # Cluster MediaPlayback Command StopRequest
1365 self._chipLib.chip_ime_AppendCommand_MediaPlayback_StopRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1366 self._chipLib.chip_ime_AppendCommand_MediaPlayback_StopRequest.restype = ctypes.c_uint32
1367 # Cluster NetworkCommissioning
1368 # Cluster NetworkCommissioning Command AddThreadNetwork
1369 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddThreadNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32]
1370 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddThreadNetwork.restype = ctypes.c_uint32
1371 # Cluster NetworkCommissioning Command AddWiFiNetwork
1372 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddWiFiNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32]
1373 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddWiFiNetwork.restype = ctypes.c_uint32
1374 # Cluster NetworkCommissioning Command DisableNetwork
1375 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_DisableNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32]
1376 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_DisableNetwork.restype = ctypes.c_uint32
1377 # Cluster NetworkCommissioning Command EnableNetwork
1378 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_EnableNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32]
1379 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_EnableNetwork.restype = ctypes.c_uint32
1380 # Cluster NetworkCommissioning Command GetLastNetworkCommissioningResult
1381 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_GetLastNetworkCommissioningResult.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32]
1382 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_GetLastNetworkCommissioningResult.restype = ctypes.c_uint32
1383 # Cluster NetworkCommissioning Command RemoveNetwork
1384 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_RemoveNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32]
1385 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_RemoveNetwork.restype = ctypes.c_uint32
1386 # Cluster NetworkCommissioning Command ScanNetworks
1387 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_ScanNetworks.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32]
1388 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_ScanNetworks.restype = ctypes.c_uint32
1389 # Cluster NetworkCommissioning Command UpdateThreadNetwork
1390 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateThreadNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32]
1391 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateThreadNetwork.restype = ctypes.c_uint32
1392 # Cluster NetworkCommissioning Command UpdateWiFiNetwork
1393 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateWiFiNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32]
1394 self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateWiFiNetwork.restype = ctypes.c_uint32
1396 # Cluster OnOff Command Off
1397 self._chipLib.chip_ime_AppendCommand_OnOff_Off.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1398 self._chipLib.chip_ime_AppendCommand_OnOff_Off.restype = ctypes.c_uint32
1399 # Cluster OnOff Command On
1400 self._chipLib.chip_ime_AppendCommand_OnOff_On.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1401 self._chipLib.chip_ime_AppendCommand_OnOff_On.restype = ctypes.c_uint32
1402 # Cluster OnOff Command Toggle
1403 self._chipLib.chip_ime_AppendCommand_OnOff_Toggle.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16]
1404 self._chipLib.chip_ime_AppendCommand_OnOff_Toggle.restype = ctypes.c_uint32
1406 # Cluster Scenes Command AddScene
1407 self._chipLib.chip_ime_AppendCommand_Scenes_AddScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8]
1408 self._chipLib.chip_ime_AppendCommand_Scenes_AddScene.restype = ctypes.c_uint32
1409 # Cluster Scenes Command GetSceneMembership
1410 self._chipLib.chip_ime_AppendCommand_Scenes_GetSceneMembership.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16]
1411 self._chipLib.chip_ime_AppendCommand_Scenes_GetSceneMembership.restype = ctypes.c_uint32
1412 # Cluster Scenes Command RecallScene
1413 self._chipLib.chip_ime_AppendCommand_Scenes_RecallScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16]
1414 self._chipLib.chip_ime_AppendCommand_Scenes_RecallScene.restype = ctypes.c_uint32
1415 # Cluster Scenes Command RemoveAllScenes
1416 self._chipLib.chip_ime_AppendCommand_Scenes_RemoveAllScenes.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16]
1417 self._chipLib.chip_ime_AppendCommand_Scenes_RemoveAllScenes.restype = ctypes.c_uint32
1418 # Cluster Scenes Command RemoveScene
1419 self._chipLib.chip_ime_AppendCommand_Scenes_RemoveScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8]
1420 self._chipLib.chip_ime_AppendCommand_Scenes_RemoveScene.restype = ctypes.c_uint32
1421 # Cluster Scenes Command StoreScene
1422 self._chipLib.chip_ime_AppendCommand_Scenes_StoreScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8]
1423 self._chipLib.chip_ime_AppendCommand_Scenes_StoreScene.restype = ctypes.c_uint32
1424 # Cluster Scenes Command ViewScene
1425 self._chipLib.chip_ime_AppendCommand_Scenes_ViewScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8]
1426 self._chipLib.chip_ime_AppendCommand_Scenes_ViewScene.restype = ctypes.c_uint32
1427 # Cluster TemperatureMeasurement