[IM] Decouple CommandSender with CHIPDevice (#6802)
* [IM] Decouple CommandSender with CHIPDevice
* set CHIP_MAX_NUM_COMMAND_SENDER to 4
* Fix cirque test
* Run codegen
diff --git a/src/controller/python/ChipDeviceController-ScriptBinding.cpp b/src/controller/python/ChipDeviceController-ScriptBinding.cpp
index f497c37..39490ec 100644
--- a/src/controller/python/ChipDeviceController-ScriptBinding.cpp
+++ b/src/controller/python/ChipDeviceController-ScriptBinding.cpp
@@ -359,8 +359,7 @@
uint64_t pychip_GetCommandSenderHandle(chip::Controller::Device * device)
{
- chip::app::CommandSender * sender = device->GetCommandSender();
- return sender == nullptr ? 0 : reinterpret_cast<uint64_t>(sender);
+ return 0;
}
void pychip_Stack_SetLogFunct(LogMessageFunct logFunct)