diff --git a/.clang-tidy b/.clang-tidy index 1998473bf95879..2e2dc36e1717ac 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,4 +1,4 @@ --- -Checks: 'bugprone-*,-bugprone-not-null-terminated-result,-bugprone-suspicious-memory-comparison,-bugprone-argument-comment,-bugprone-unused-return-value,-bugprone-branch-clone,-bugprone-easily-swappable-parameters,-bugprone-reserved-identifier,-bugprone-macro-parentheses,-bugprone-forward-declaration-namespace,-bugprone-forwarding-reference-overload,-bugprone-undelegated-constructor,-bugprone-sizeof-expression,-bugprone-implicit-widening-of-multiplication-result,-bugprone-too-small-loop-variable,-bugprone-narrowing-conversions,-bugprone-misplaced-widening-cast,-bugprone-suspicious-include,-bugprone-signed-char-misuse,-bugprone-copy-constructor-init,-clang-analyzer-core.CallAndMessage,-clang-analyzer-core.UndefinedBinaryOperatorResult,-clang-analyzer-core.NullDereference,-clang-analyzer-optin.cplusplus.UninitializedObject,-clang-analyzer-core.uninitialized.Branch,-clang-analyzer-optin.performance,-clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker,-clang-analyzer-deadcode.DeadStores,-clang-analyzer-cplusplus.Move,-clang-analyzer-optin.cplusplus.VirtualCall,-clang-analyzer-security.insecureAPI.strcpy,-clang-analyzer-nullability.NullablePassedToNonnull,-clang-analyzer-optin.performance.Padding,-clang-analyzer-security.insecureAPI.bzero,-clang-analyzer-unix.cstring.NullArg,-clang-analyzer-security.insecureAPI.rand,-clang-analyzer-core.NonNullParamChecker,-clang-analyzer-nullability.NullPassedToNonnull,-clang-analyzer-unix.Malloc,-clang-analyzer-valist.Unterminated,-clang-analyzer-cplusplus.NewDeleteLeaks,-clang-diagnostic-implicit-int-conversion' +Checks: 'modernize-use-nullptr,bugprone-*,-bugprone-not-null-terminated-result,-bugprone-suspicious-memory-comparison,-bugprone-argument-comment,-bugprone-unused-return-value,-bugprone-branch-clone,-bugprone-easily-swappable-parameters,-bugprone-reserved-identifier,-bugprone-macro-parentheses,-bugprone-forward-declaration-namespace,-bugprone-forwarding-reference-overload,-bugprone-undelegated-constructor,-bugprone-sizeof-expression,-bugprone-implicit-widening-of-multiplication-result,-bugprone-too-small-loop-variable,-bugprone-narrowing-conversions,-bugprone-misplaced-widening-cast,-bugprone-suspicious-include,-bugprone-signed-char-misuse,-bugprone-copy-constructor-init,-clang-analyzer-core.CallAndMessage,-clang-analyzer-core.UndefinedBinaryOperatorResult,-clang-analyzer-core.NullDereference,-clang-analyzer-optin.cplusplus.UninitializedObject,-clang-analyzer-core.uninitialized.Branch,-clang-analyzer-optin.performance,-clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker,-clang-analyzer-deadcode.DeadStores,-clang-analyzer-cplusplus.Move,-clang-analyzer-optin.cplusplus.VirtualCall,-clang-analyzer-security.insecureAPI.strcpy,-clang-analyzer-nullability.NullablePassedToNonnull,-clang-analyzer-optin.performance.Padding,-clang-analyzer-security.insecureAPI.bzero,-clang-analyzer-unix.cstring.NullArg,-clang-analyzer-security.insecureAPI.rand,-clang-analyzer-core.NonNullParamChecker,-clang-analyzer-nullability.NullPassedToNonnull,-clang-analyzer-unix.Malloc,-clang-analyzer-valist.Unterminated,-clang-analyzer-cplusplus.NewDeleteLeaks,-clang-diagnostic-implicit-int-conversion' WarningsAsErrors: '*' HeaderFilterRegex: '(src|examples|zzz_generated|credentials)' diff --git a/examples/bridge-app/linux/main.cpp b/examples/bridge-app/linux/main.cpp index 80cf24d5e900e0..de6ec60121eb4d 100644 --- a/examples/bridge-app/linux/main.cpp +++ b/examples/bridge-app/linux/main.cpp @@ -206,7 +206,7 @@ int AddDeviceEndpoint(Device * dev, EmberAfEndpointType * ep, uint16_t deviceTyp uint8_t index = 0; while (index < CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT) { - if (NULL == gDevices[index]) + if (nullptr == gDevices[index]) { gDevices[index] = dev; EmberAfStatus ret; @@ -246,7 +246,7 @@ int RemoveDeviceEndpoint(Device * dev) if (gDevices[index] == dev) { EndpointId ep = emberAfClearDynamicEndpoint(index); - gDevices[index] = NULL; + gDevices[index] = nullptr; ChipLogProgress(DeviceLayer, "Removed device %s from dynamic endpoint %d (index=%d)", dev->GetName(), ep, index); // Silence complaints about unused ep when progress logging // disabled. @@ -482,7 +482,7 @@ EmberAfStatus emberAfExternalAttributeReadCallback(EndpointId endpoint, ClusterI EmberAfStatus ret = EMBER_ZCL_STATUS_FAILURE; - if ((endpointIndex < CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT) && (gDevices[endpointIndex] != NULL)) + if ((endpointIndex < CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT) && (gDevices[endpointIndex] != nullptr)) { Device * dev = gDevices[endpointIndex]; diff --git a/examples/chip-tool-darwin/commands/common/CHIPCommandStorageDelegate.mm b/examples/chip-tool-darwin/commands/common/CHIPCommandStorageDelegate.mm index a54936f54663a1..60abc09c177445 100644 --- a/examples/chip-tool-darwin/commands/common/CHIPCommandStorageDelegate.mm +++ b/examples/chip-tool-darwin/commands/common/CHIPCommandStorageDelegate.mm @@ -19,7 +19,7 @@ void CHIPSetDomainValueForKey(NSString * domain, NSString * key, id value) void CHIPRemoveDomainValueForKey(NSString * domain, NSString * key) { - CFPreferencesSetAppValue((CFStringRef) key, NULL, (CFStringRef) domain); + CFPreferencesSetAppValue((CFStringRef) key, nullptr, (CFStringRef) domain); CFPreferencesAppSynchronize((CFStringRef) domain); } diff --git a/examples/chip-tool-darwin/commands/common/CHIPToolKeypair.mm b/examples/chip-tool-darwin/commands/common/CHIPToolKeypair.mm index 146610e80d5477..00c62491e45959 100644 --- a/examples/chip-tool-darwin/commands/common/CHIPToolKeypair.mm +++ b/examples/chip-tool-darwin/commands/common/CHIPToolKeypair.mm @@ -84,7 +84,7 @@ - (SecKeyRef)pubkey (NSString *) kSecAttrLabel : kCHIPToolKeychainLabel, (NSString *) kSecAttrApplicationTag : @CHIPPlugin_CAKeyTag, }; - return SecKeyCreateWithData((__bridge CFDataRef) publicKeyNSData, (__bridge CFDictionaryRef) attributes, NULL); + return SecKeyCreateWithData((__bridge CFDataRef) publicKeyNSData, (__bridge CFDictionaryRef) attributes, nullptr); } - (CHIP_ERROR)Deserialize:(chip::Crypto::P256SerializedKeypair &)input diff --git a/examples/chip-tool-darwin/templates/commands.zapt b/examples/chip-tool-darwin/templates/commands.zapt index 43cb463c9a9260..6a4d3fbcc94533 100644 --- a/examples/chip-tool-darwin/templates/commands.zapt +++ b/examples/chip-tool-darwin/templates/commands.zapt @@ -228,7 +228,7 @@ public: [cluster subscribe{{>attribute}}WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished: NULL reportHandler:^({{asObjectiveCClass type parent.name}} * _Nullable value, NSError * _Nullable error) { + subscriptionEstablished: nullptr reportHandler:^({{asObjectiveCClass type parent.name}} * _Nullable value, NSError * _Nullable error) { NSLog(@"{{asUpperCamelCase parent.name}}.{{asUpperCamelCase name}} response %@", [value description]); if (error || !mWait){ SetCommandExitStatus([CHIPError errorToCHIPErrorCode:error]); diff --git a/examples/chip-tool/commands/interactive/InteractiveCommands.cpp b/examples/chip-tool/commands/interactive/InteractiveCommands.cpp index 35030eeee7943a..d43ccdd992e227 100644 --- a/examples/chip-tool/commands/interactive/InteractiveCommands.cpp +++ b/examples/chip-tool/commands/interactive/InteractiveCommands.cpp @@ -114,7 +114,7 @@ bool InteractiveStartCommand::ParseCommand(char * command) } args[argsCount++] = token; - token = strtok(NULL, " "); + token = strtok(nullptr, " "); } ClearLine(); diff --git a/examples/shell/shell_common/cmd_ping.cpp b/examples/shell/shell_common/cmd_ping.cpp index 9d44e016aa6c4e..878672a6e042b4 100644 --- a/examples/shell/shell_common/cmd_ping.cpp +++ b/examples/shell/shell_common/cmd_ping.cpp @@ -150,7 +150,7 @@ Transport::PeerAddress GetEchoPeerAddress() void Shutdown() { - chip::DeviceLayer::SystemLayer().CancelTimer(EchoTimerHandler, NULL); + chip::DeviceLayer::SystemLayer().CancelTimer(EchoTimerHandler, nullptr); #if INET_CONFIG_ENABLE_TCP_ENDPOINT if (gPingArguments.IsUsingTCP()) { @@ -212,7 +212,7 @@ CHIP_ERROR SendEchoRequest(streamer_t * stream) gPingArguments.SetLastEchoTime(System::SystemClock().GetMonotonicTimestamp()); SuccessOrExit(chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Milliseconds32(gPingArguments.GetEchoInterval()), - EchoTimerHandler, NULL)); + EchoTimerHandler, nullptr)); streamer_printf(stream, "\nSend echo request message with payload size: %d bytes to Node: %" PRIu64 "\n", payloadSize, kTestDeviceNodeId); @@ -226,7 +226,7 @@ CHIP_ERROR SendEchoRequest(streamer_t * stream) } else { - chip::DeviceLayer::SystemLayer().CancelTimer(EchoTimerHandler, NULL); + chip::DeviceLayer::SystemLayer().CancelTimer(EchoTimerHandler, nullptr); } exit: diff --git a/src/app/clusters/audio-output-server/audio-output-server.cpp b/src/app/clusters/audio-output-server/audio-output-server.cpp index 7f8aa26ef69e47..3d713bddb82340 100644 --- a/src/app/clusters/audio-output-server/audio-output-server.cpp +++ b/src/app/clusters/audio-output-server/audio-output-server.cpp @@ -50,7 +50,7 @@ Delegate * gDelegateTable[kAudioOutputDelegateTableSize] = { nullptr }; Delegate * GetDelegate(EndpointId endpoint) { uint16_t ep = emberAfFindClusterServerEndpointIndex(endpoint, chip::app::Clusters::AudioOutput::Id); - return (ep == 0xFFFF ? NULL : gDelegateTable[ep]); + return (ep == 0xFFFF ? nullptr : gDelegateTable[ep]); } bool isDelegateNull(Delegate * delegate, EndpointId endpoint) diff --git a/src/app/clusters/ias-zone-server/ias-zone-server.cpp b/src/app/clusters/ias-zone-server/ias-zone-server.cpp index 00ffa3a5719399..2cd57951ec81fe 100644 --- a/src/app/clusters/ias-zone-server/ias-zone-server.cpp +++ b/src/app/clusters/ias-zone-server/ias-zone-server.cpp @@ -232,7 +232,7 @@ MatterIasZoneClusterServerPreAttributeChangedCallback(const app::ConcreteAttribu // If this is not a CIE Address write, the CIE address has already been // written, or the IAS Zone server is already enrolled, do nothing. - if (attributePath.mAttributeId != ZCL_IAS_CIE_ADDRESS_ATTRIBUTE_ID || emberAfCurrentCommand() == NULL) + if (attributePath.mAttributeId != ZCL_IAS_CIE_ADDRESS_ATTRIBUTE_ID || emberAfCurrentCommand() == nullptr) { return Protocols::InteractionModel::Status::Success; } diff --git a/src/app/clusters/level-control/level-control.cpp b/src/app/clusters/level-control/level-control.cpp index 427ca663b8baf9..1841085c790f2d 100644 --- a/src/app/clusters/level-control/level-control.cpp +++ b/src/app/clusters/level-control/level-control.cpp @@ -142,7 +142,7 @@ static void deactivate(EndpointId endpoint) static EmberAfLevelControlState * getState(EndpointId endpoint) { uint16_t ep = emberAfFindClusterServerEndpointIndex(endpoint, LevelControl::Id); - return (ep == 0xFFFF ? NULL : &stateTable[ep]); + return (ep == 0xFFFF ? nullptr : &stateTable[ep]); } #if !defined(IGNORE_LEVEL_CONTROL_CLUSTER_OPTIONS) && defined(EMBER_AF_PLUGIN_COLOR_CONTROL_SERVER_TEMP) @@ -172,7 +172,7 @@ void emberAfLevelControlClusterServerTickCallback(EndpointId endpoint) EmberAfStatus status; uint8_t currentLevel; - if (state == NULL) + if (state == nullptr) { return; } @@ -515,7 +515,7 @@ static EmberAfStatus moveToLevelHandler(EndpointId endpoint, CommandId commandId uint8_t currentLevel; uint8_t actualStepSize; - if (state == NULL) + if (state == nullptr) { return EMBER_ZCL_STATUS_FAILURE; } @@ -649,7 +649,7 @@ static void moveHandler(CommandId commandId, uint8_t moveMode, uint8_t rate, uin uint8_t currentLevel; uint8_t difference; - if (state == NULL) + if (state == nullptr) { status = EMBER_ZCL_STATUS_FAILURE; goto send_default_response; @@ -762,7 +762,7 @@ static void stepHandler(CommandId commandId, uint8_t stepMode, uint8_t stepSize, uint8_t currentLevel; uint8_t actualStepSize = stepSize; - if (state == NULL) + if (state == nullptr) { status = EMBER_ZCL_STATUS_FAILURE; goto send_default_response; @@ -881,7 +881,7 @@ static void stopHandler(CommandId commandId, uint8_t optionMask, uint8_t optionO EmberAfLevelControlState * state = getState(endpoint); EmberAfStatus status; - if (state == NULL) + if (state == nullptr) { status = EMBER_ZCL_STATUS_FAILURE; goto send_default_response; @@ -912,7 +912,7 @@ void emberAfOnOffClusterLevelControlEffectCallback(EndpointId endpoint, bool new EmberAfStatus status; EmberAfLevelControlState * state = getState(endpoint); - if (state == NULL) + if (state == nullptr) { emberAfLevelControlClusterPrintln("ERR: Level control cluster not available on ep%d", endpoint); return; @@ -1006,7 +1006,7 @@ void emberAfLevelControlClusterServerInitCallback(EndpointId endpoint) { EmberAfLevelControlState * state = getState(endpoint); - if (state == NULL) + if (state == nullptr) { emberAfLevelControlClusterPrintln("ERR: Level control cluster not available on ep%d", endpoint); return; diff --git a/src/app/clusters/low-power-server/low-power-server.cpp b/src/app/clusters/low-power-server/low-power-server.cpp index 774b7f5a56c258..3ed86ef6ca550b 100644 --- a/src/app/clusters/low-power-server/low-power-server.cpp +++ b/src/app/clusters/low-power-server/low-power-server.cpp @@ -48,7 +48,7 @@ Delegate * gDelegateTable[kLowPowerDelegateTableSize] = { nullptr }; Delegate * GetDelegate(EndpointId endpoint) { uint16_t ep = emberAfFindClusterServerEndpointIndex(endpoint, chip::app::Clusters::LowPower::Id); - return (ep == 0xFFFF ? NULL : gDelegateTable[ep]); + return (ep == 0xFFFF ? nullptr : gDelegateTable[ep]); } bool isDelegateNull(Delegate * delegate, EndpointId endpoint) diff --git a/src/app/clusters/media-input-server/media-input-server.cpp b/src/app/clusters/media-input-server/media-input-server.cpp index ead786a0eac664..1f359b89fbef86 100644 --- a/src/app/clusters/media-input-server/media-input-server.cpp +++ b/src/app/clusters/media-input-server/media-input-server.cpp @@ -50,7 +50,7 @@ Delegate * gDelegateTable[kMediaInputDelegateTableSize] = { nullptr }; Delegate * GetDelegate(EndpointId endpoint) { uint16_t ep = emberAfFindClusterServerEndpointIndex(endpoint, chip::app::Clusters::MediaInput::Id); - return (ep == 0xFFFF ? NULL : gDelegateTable[ep]); + return (ep == 0xFFFF ? nullptr : gDelegateTable[ep]); } bool isDelegateNull(Delegate * delegate, EndpointId endpoint) diff --git a/src/app/clusters/ota-provider/ota-provider.cpp b/src/app/clusters/ota-provider/ota-provider.cpp index 5d8ca364597f59..faf27db5466b73 100644 --- a/src/app/clusters/ota-provider/ota-provider.cpp +++ b/src/app/clusters/ota-provider/ota-provider.cpp @@ -58,7 +58,7 @@ OTAProviderDelegate * gDelegateTable[kOtaProviderDelegateTableSize] = { nullptr OTAProviderDelegate * GetDelegate(EndpointId endpoint) { uint16_t ep = emberAfFindClusterServerEndpointIndex(endpoint, OtaSoftwareUpdateProvider::Id); - return (ep == 0xFFFF ? NULL : gDelegateTable[ep]); + return (ep == 0xFFFF ? nullptr : gDelegateTable[ep]); } bool SendStatusIfDelegateNull(app::CommandHandler * commandObj, const app::ConcreteCommandPath & path) diff --git a/src/app/clusters/wake-on-lan-server/wake-on-lan-server.cpp b/src/app/clusters/wake-on-lan-server/wake-on-lan-server.cpp index e15a0b4ee99f2f..d1377695a0488a 100644 --- a/src/app/clusters/wake-on-lan-server/wake-on-lan-server.cpp +++ b/src/app/clusters/wake-on-lan-server/wake-on-lan-server.cpp @@ -51,7 +51,7 @@ Delegate * gDelegateTable[kWakeOnLanDelegateTableSize] = { nullptr }; Delegate * GetDelegate(EndpointId endpoint) { uint16_t ep = emberAfFindClusterServerEndpointIndex(endpoint, chip::app::Clusters::WakeOnLan::Id); - return (ep == 0xFFFF ? NULL : gDelegateTable[ep]); + return (ep == 0xFFFF ? nullptr : gDelegateTable[ep]); } bool isDelegateNull(Delegate * delegate, EndpointId endpoint) diff --git a/src/app/tests/TestNumericAttributeTraits.cpp b/src/app/tests/TestNumericAttributeTraits.cpp index 4d194a0711fa62..a88f3925c2a1d0 100644 --- a/src/app/tests/TestNumericAttributeTraits.cpp +++ b/src/app/tests/TestNumericAttributeTraits.cpp @@ -1201,7 +1201,7 @@ nlTestSuite theSuite = int TestNumericAttributeTraits() { - nlTestRunner(&theSuite, NULL); + nlTestRunner(&theSuite, nullptr); return (nlTestRunnerStats(&theSuite)); } diff --git a/src/app/tests/integration/chip_im_initiator.cpp b/src/app/tests/integration/chip_im_initiator.cpp index 90bb9caf41027e..3a6613cc73f3d0 100644 --- a/src/app/tests/integration/chip_im_initiator.cpp +++ b/src/app/tests/integration/chip_im_initiator.cpp @@ -480,12 +480,12 @@ void CommandRequestTimerHandler(chip::System::Layer * systemLayer, void * appSta err = SendCommandRequest(std::move(commandSender)); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to send command request with error: %s\n", chip::ErrorStr(err))); - err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, CommandRequestTimerHandler, NULL); + err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, CommandRequestTimerHandler, nullptr); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to schedule timer with error: %s\n", chip::ErrorStr(err))); } else { - err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, BadCommandRequestTimerHandler, NULL); + err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, BadCommandRequestTimerHandler, nullptr); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to schedule timer with error: %s\n", chip::ErrorStr(err))); } @@ -506,7 +506,7 @@ void BadCommandRequestTimerHandler(chip::System::Layer * systemLayer, void * app err = SendBadCommandRequest(std::move(commandSender)); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to send bad command request with error: %s\n", chip::ErrorStr(err))); - err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, ReadRequestTimerHandler, NULL); + err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, ReadRequestTimerHandler, nullptr); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to schedule timer with error: %s\n", chip::ErrorStr(err))); exit: @@ -533,12 +533,12 @@ void ReadRequestTimerHandler(chip::System::Layer * systemLayer, void * appState) err = SendReadRequest(); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to send read request with error: %s\n", chip::ErrorStr(err))); - err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, ReadRequestTimerHandler, NULL); + err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, ReadRequestTimerHandler, nullptr); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to schedule timer with error: %s\n", chip::ErrorStr(err))); } else { - err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, WriteRequestTimerHandler, NULL); + err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, WriteRequestTimerHandler, nullptr); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to schedule timer with error: %s\n", chip::ErrorStr(err))); } @@ -570,12 +570,12 @@ void WriteRequestTimerHandler(chip::System::Layer * systemLayer, void * appState err = SendWriteRequest(writeClient); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to send write request with error: %s\n", chip::ErrorStr(err))); - err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, WriteRequestTimerHandler, NULL); + err = chip::DeviceLayer::SystemLayer().StartTimer(gMessageInterval, WriteRequestTimerHandler, nullptr); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to schedule timer with error: %s\n", chip::ErrorStr(err))); } else { - err = chip::DeviceLayer::SystemLayer().StartTimer(gSubscribeRequestMessageTimeout, SubscribeRequestTimerHandler, NULL); + err = chip::DeviceLayer::SystemLayer().StartTimer(gSubscribeRequestMessageTimeout, SubscribeRequestTimerHandler, nullptr); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to schedule timer with error: %s\n", chip::ErrorStr(err))); } @@ -603,7 +603,8 @@ void SubscribeRequestTimerHandler(chip::System::Layer * systemLayer, void * appS err = SendSubscribeRequest(); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to send write request with error: %s\n", chip::ErrorStr(err))); - err = chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Seconds16(20), SubscribeRequestTimerHandler, NULL); + err = + chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Seconds16(20), SubscribeRequestTimerHandler, nullptr); VerifyOrExit(err == CHIP_NO_ERROR, printf("Failed to schedule timer with error: %s\n", chip::ErrorStr(err))); } else @@ -730,7 +731,7 @@ int main(int argc, char * argv[]) err = EstablishSecureSession(); SuccessOrExit(err); - err = chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::kZero, CommandRequestTimerHandler, NULL); + err = chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::kZero, CommandRequestTimerHandler, nullptr); SuccessOrExit(err); chip::DeviceLayer::PlatformMgr().RunEventLoop(); diff --git a/src/ble/tests/TestBleErrorStr.cpp b/src/ble/tests/TestBleErrorStr.cpp index 80018cf3a1f5c5..c3005cc4c9cf29 100644 --- a/src/ble/tests/TestBleErrorStr.cpp +++ b/src/ble/tests/TestBleErrorStr.cpp @@ -90,12 +90,12 @@ static void CheckBleErrorStr(nlTestSuite * inSuite, void * inContext) // Assert that the error string contains the error number in hex. snprintf(expectedText, sizeof(expectedText), "%08" PRIX32, err.AsInteger()); - NL_TEST_ASSERT(inSuite, (strstr(errStr, expectedText) != NULL)); + NL_TEST_ASSERT(inSuite, (strstr(errStr, expectedText) != nullptr)); #if !CHIP_CONFIG_SHORT_ERROR_STR // Assert that the error string contains a description, which is signaled // by a presence of a colon proceeding the description. - NL_TEST_ASSERT(inSuite, (strchr(errStr, ':') != NULL)); + NL_TEST_ASSERT(inSuite, (strchr(errStr, ':') != nullptr)); #endif // !CHIP_CONFIG_SHORT_ERROR_STR } } @@ -120,8 +120,8 @@ int TestBleErrorStr(void) { "Ble-Error-Strings", &sTests[0], - NULL, - NULL + nullptr, + nullptr }; // clang-format on diff --git a/src/ble/tests/TestBleUUID.cpp b/src/ble/tests/TestBleUUID.cpp index d374c7475f55bf..41033ad01a5df0 100644 --- a/src/ble/tests/TestBleUUID.cpp +++ b/src/ble/tests/TestBleUUID.cpp @@ -96,7 +96,7 @@ const nlTest sTests[] = int TestBleUUID() { - nlTestSuite theSuite = { "BleUUID", &sTests[0], NULL, NULL }; + nlTestSuite theSuite = { "BleUUID", &sTests[0], nullptr, nullptr }; nlTestRunner(&theSuite, nullptr); return nlTestRunnerStats(&theSuite); } diff --git a/src/controller/python/ChipCommissionableNodeController-ScriptBinding.cpp b/src/controller/python/ChipCommissionableNodeController-ScriptBinding.cpp index a100ea865d0bc3..82f3e7072cc83b 100644 --- a/src/controller/python/ChipCommissionableNodeController-ScriptBinding.cpp +++ b/src/controller/python/ChipCommissionableNodeController-ScriptBinding.cpp @@ -51,14 +51,14 @@ ChipError::StorageType pychip_CommissionableNodeController_NewController(chip::Controller::CommissionableNodeController ** outCommissionableNodeCtrl) { *outCommissionableNodeCtrl = new chip::Controller::CommissionableNodeController(); - VerifyOrReturnError(*outCommissionableNodeCtrl != NULL, CHIP_ERROR_NO_MEMORY.AsInteger()); + VerifyOrReturnError(*outCommissionableNodeCtrl != nullptr, CHIP_ERROR_NO_MEMORY.AsInteger()); return CHIP_NO_ERROR.AsInteger(); } ChipError::StorageType pychip_CommissionableNodeController_DeleteController(chip::Controller::CommissionableNodeController * commissionableNodeCtrl) { - if (commissionableNodeCtrl != NULL) + if (commissionableNodeCtrl != nullptr) { delete commissionableNodeCtrl; } diff --git a/src/controller/python/ChipDeviceController-ScriptBinding.cpp b/src/controller/python/ChipDeviceController-ScriptBinding.cpp index 8a74f1c7c2d8d1..bdd415ad3f4da7 100644 --- a/src/controller/python/ChipDeviceController-ScriptBinding.cpp +++ b/src/controller/python/ChipDeviceController-ScriptBinding.cpp @@ -281,7 +281,7 @@ const char * pychip_DeviceController_ErrorToString(ChipError::StorageType err) const char * pychip_DeviceController_StatusReportToString(uint32_t profileId, uint16_t statusCode) { // return chip::StatusReportStr(profileId, statusCode); - return NULL; + return nullptr; } uint8_t pychip_DeviceController_GetLogFilter() @@ -580,7 +580,7 @@ const char * pychip_Stack_ErrorToString(ChipError::StorageType err) const char * pychip_Stack_StatusReportToString(uint32_t profileId, uint16_t statusCode) { // return chip::StatusReportStr(profileId, statusCode); - return NULL; + return nullptr; } namespace { diff --git a/src/controller/python/OpCredsBinding.cpp b/src/controller/python/OpCredsBinding.cpp index 1fdd78757c3b9e..003d8f9fca87ba 100644 --- a/src/controller/python/OpCredsBinding.cpp +++ b/src/controller/python/OpCredsBinding.cpp @@ -413,7 +413,7 @@ void pychip_OpCreds_FreeDelegate(OpCredsContext * context) ChipError::StorageType pychip_DeviceController_DeleteDeviceController(chip::Controller::DeviceCommissioner * devCtrl) { - if (devCtrl != NULL) + if (devCtrl != nullptr) { devCtrl->Shutdown(); delete devCtrl; diff --git a/src/controller/python/chip/ble/darwin/Scanning.mm b/src/controller/python/chip/ble/darwin/Scanning.mm index e1709342ea9752..cfe653ca9481ab 100644 --- a/src/controller/python/chip/ble/darwin/Scanning.mm +++ b/src/controller/python/chip/ble/darwin/Scanning.mm @@ -55,7 +55,7 @@ - (id)initWithContext:(PyObject *)context [self stopTimeoutReached]; }); dispatch_source_set_timer( - _timer, dispatch_walltime(NULL, timeout * NSEC_PER_MSEC), DISPATCH_TIME_FOREVER, 50 * NSEC_PER_MSEC); + _timer, dispatch_walltime(nullptr, timeout * NSEC_PER_MSEC), DISPATCH_TIME_FOREVER, 50 * NSEC_PER_MSEC); dispatch_resume(_timer); } return self; diff --git a/src/credentials/attestation_verifier/FileAttestationTrustStore.cpp b/src/credentials/attestation_verifier/FileAttestationTrustStore.cpp index 2f990f989a182f..922f2c9521de0a 100644 --- a/src/credentials/attestation_verifier/FileAttestationTrustStore.cpp +++ b/src/credentials/attestation_verifier/FileAttestationTrustStore.cpp @@ -44,11 +44,11 @@ FileAttestationTrustStore::FileAttestationTrustStore(const char * paaTrustStoreP DIR * dir; dir = opendir(paaTrustStorePath); - if (dir != NULL) + if (dir != nullptr) { // Nested directories are not handled. dirent * entry; - while ((entry = readdir(dir)) != NULL) + while ((entry = readdir(dir)) != nullptr) { const char * fileExtension = GetFilenameExtension(entry->d_name); if (strncmp(fileExtension, "der", strlen("der")) == 0) @@ -61,7 +61,7 @@ FileAttestationTrustStore::FileAttestationTrustStore(const char * paaTrustStoreP filename += std::string("/") + std::string(entry->d_name); file = fopen(filename.c_str(), "rb"); - if (file != NULL) + if (file != nullptr) { uint32_t certificateLength = fread(certificate.data(), sizeof(uint8_t), kMaxDERCertLength, file); if (certificateLength > 0) diff --git a/src/crypto/tests/CHIPCryptoPALTest.cpp b/src/crypto/tests/CHIPCryptoPALTest.cpp index 96aa6ec4e8e2bb..f31e73b9c4c367 100644 --- a/src/crypto/tests/CHIPCryptoPALTest.cpp +++ b/src/crypto/tests/CHIPCryptoPALTest.cpp @@ -1658,7 +1658,7 @@ static void TestSPAKE2P_RFC(nlTestSuite * inSuite, void * inContext) // Compute the first round and send it to the verifier X_len = sizeof(X); - error = Prover.ComputeRoundOne(NULL, 0, X, &X_len); + error = Prover.ComputeRoundOne(nullptr, 0, X, &X_len); NL_TEST_ASSERT(inSuite, error == CHIP_NO_ERROR); NL_TEST_ASSERT(inSuite, X_len == vector->X_len); NL_TEST_ASSERT(inSuite, memcmp(X, vector->X, vector->X_len) == 0); diff --git a/src/darwin/Framework/CHIP/CHIPDeviceController.mm b/src/darwin/Framework/CHIP/CHIPDeviceController.mm index 536023c3e8c4e2..e9f6f410c37b80 100644 --- a/src/darwin/Framework/CHIP/CHIPDeviceController.mm +++ b/src/darwin/Framework/CHIP/CHIPDeviceController.mm @@ -676,33 +676,33 @@ - (BOOL)checkForInitError:(BOOL)condition logMsg:(NSString *)logMsg if (_cppCommissioner) { delete _cppCommissioner; - _cppCommissioner = NULL; + _cppCommissioner = nullptr; } if (_pairingDelegateBridge) { delete _pairingDelegateBridge; - _pairingDelegateBridge = NULL; + _pairingDelegateBridge = nullptr; } if (_persistentStorageDelegateBridge) { delete _persistentStorageDelegateBridge; - _persistentStorageDelegateBridge = NULL; + _persistentStorageDelegateBridge = nullptr; } if (_attestationTrustStoreBridge) { delete _attestationTrustStoreBridge; - _attestationTrustStoreBridge = NULL; + _attestationTrustStoreBridge = nullptr; } if (_groupDataProvider) { _groupDataProvider->Finish(); delete _groupDataProvider; - _groupDataProvider = NULL; + _groupDataProvider = nullptr; } if (_groupStorageDelegate) { delete _groupStorageDelegate; - _groupStorageDelegate = NULL; + _groupStorageDelegate = nullptr; } return YES; @@ -719,7 +719,7 @@ - (BOOL)checkForStartError:(BOOL)condition logMsg:(NSString *)logMsg if (_cppCommissioner) { _cppCommissioner->Shutdown(); delete _cppCommissioner; - _cppCommissioner = NULL; + _cppCommissioner = nullptr; } return YES; diff --git a/src/darwin/Framework/CHIP/CHIPOperationalCredentialsDelegate.mm b/src/darwin/Framework/CHIP/CHIPOperationalCredentialsDelegate.mm index e2f93ae9b5ab06..7f8caa95b3f958 100644 --- a/src/darwin/Framework/CHIP/CHIPOperationalCredentialsDelegate.mm +++ b/src/darwin/Framework/CHIP/CHIPOperationalCredentialsDelegate.mm @@ -218,7 +218,7 @@ static BOOL isRunningTests(void) (id) kSecValueData : [keypairData base64EncodedDataWithOptions:0], }; - OSStatus status = SecItemAdd((__bridge CFDictionaryRef) addParams, NULL); + OSStatus status = SecItemAdd((__bridge CFDictionaryRef) addParams, nullptr); // TODO: Enable SecItemAdd for Darwin unit tests if (status != errSecSuccess && !isRunningTests()) { NSLog(@"Failed in storing key : %d", status); @@ -246,7 +246,7 @@ static BOOL isRunningTests(void) (id) kSecValueData : [ipkAdata base64EncodedDataWithOptions:0], }; - OSStatus status = SecItemAdd((__bridge CFDictionaryRef) addParams, NULL); + OSStatus status = SecItemAdd((__bridge CFDictionaryRef) addParams, nullptr); // TODO: Enable SecItemAdd for Darwin unit tests if (status != errSecSuccess && !isRunningTests()) { NSLog(@"Failed in storing IPK : %d", status); diff --git a/src/include/platform/internal/GenericConnectivityManagerImpl_NoWiFi.h b/src/include/platform/internal/GenericConnectivityManagerImpl_NoWiFi.h index ce81cf8d29d611..e7d29ee4965a85 100644 --- a/src/include/platform/internal/GenericConnectivityManagerImpl_NoWiFi.h +++ b/src/include/platform/internal/GenericConnectivityManagerImpl_NoWiFi.h @@ -199,26 +199,26 @@ template inline const char * GenericConnectivityManagerImpl_NoWiFi::_WiFiStationModeToStr(ConnectivityManager::WiFiStationMode mode) { - return NULL; + return nullptr; } template inline const char * GenericConnectivityManagerImpl_NoWiFi::_WiFiAPModeToStr(ConnectivityManager::WiFiAPMode mode) { - return NULL; + return nullptr; } template inline const char * GenericConnectivityManagerImpl_NoWiFi::_WiFiStationStateToStr(ConnectivityManager::WiFiStationState state) { - return NULL; + return nullptr; } template inline const char * GenericConnectivityManagerImpl_NoWiFi::_WiFiAPStateToStr(ConnectivityManager::WiFiAPState state) { - return NULL; + return nullptr; } } // namespace Internal diff --git a/src/lib/shell/commands/Config.cpp b/src/lib/shell/commands/Config.cpp index 5a9449e21ef63d..d0286f7842909e 100644 --- a/src/lib/shell/commands/Config.cpp +++ b/src/lib/shell/commands/Config.cpp @@ -133,7 +133,7 @@ static CHIP_ERROR ConfigSetSetupDiscriminator(char * argv) { CHIP_ERROR error; streamer_t * sout = streamer_get(); - uint16_t setupDiscriminator = strtoull(argv, NULL, 10); + uint16_t setupDiscriminator = strtoull(argv, nullptr, 10); VerifyOrReturnError(setupDiscriminator != 0 && setupDiscriminator < chip::kMaxDiscriminatorValue, CHIP_ERROR_INVALID_ARGUMENT); diff --git a/src/lib/shell/commands/Dns.cpp b/src/lib/shell/commands/Dns.cpp index e337eb7726ebc6..a8963e8b98dadf 100644 --- a/src/lib/shell/commands/Dns.cpp +++ b/src/lib/shell/commands/Dns.cpp @@ -123,8 +123,8 @@ CHIP_ERROR ResolveHandler(int argc, char ** argv) streamer_printf(streamer_get(), "Resolving ...\r\n"); PeerId peerId; - peerId.SetCompressedFabricId(strtoull(argv[0], NULL, 10)); - peerId.SetNodeId(strtoull(argv[1], NULL, 10)); + peerId.SetCompressedFabricId(strtoull(argv[0], nullptr, 10)); + peerId.SetNodeId(strtoull(argv[1], nullptr, 10)); return sResolverProxy.ResolveNodeId(peerId, Inet::IPAddressType::kAny); } diff --git a/src/lib/support/tests/TestErrorStr.cpp b/src/lib/support/tests/TestErrorStr.cpp index c01b30c68167b1..2837b3e024fe8b 100644 --- a/src/lib/support/tests/TestErrorStr.cpp +++ b/src/lib/support/tests/TestErrorStr.cpp @@ -185,8 +185,8 @@ int TestErrorStr(void) { "-Error-Strings", &sTests[0], - NULL, - NULL + nullptr, + nullptr }; // clang-format on diff --git a/src/messaging/tests/echo/echo_requester.cpp b/src/messaging/tests/echo/echo_requester.cpp index f090811a0a440c..e08a66c2d4352a 100644 --- a/src/messaging/tests/echo/echo_requester.cpp +++ b/src/messaging/tests/echo/echo_requester.cpp @@ -78,7 +78,7 @@ void EchoTimerHandler(chip::System::Layer * systemLayer, void * appState); void Shutdown() { - chip::DeviceLayer::SystemLayer().CancelTimer(EchoTimerHandler, NULL); + chip::DeviceLayer::SystemLayer().CancelTimer(EchoTimerHandler, nullptr); gEchoClient.Shutdown(); ShutdownChip(); } @@ -124,7 +124,7 @@ CHIP_ERROR SendEchoRequest() gLastEchoTime = chip::System::SystemClock().GetMonotonicTimestamp(); - err = chip::DeviceLayer::SystemLayer().StartTimer(gEchoInterval, EchoTimerHandler, NULL); + err = chip::DeviceLayer::SystemLayer().StartTimer(gEchoInterval, EchoTimerHandler, nullptr); if (err != CHIP_NO_ERROR) { printf("Unable to schedule timer\n"); @@ -142,7 +142,7 @@ CHIP_ERROR SendEchoRequest() else { printf("Send echo request failed, err: %s\n", chip::ErrorStr(err)); - chip::DeviceLayer::SystemLayer().CancelTimer(EchoTimerHandler, NULL); + chip::DeviceLayer::SystemLayer().CancelTimer(EchoTimerHandler, nullptr); } return err; @@ -274,7 +274,7 @@ int main(int argc, char * argv[]) // Arrange to get a callback whenever an Echo Response is received. gEchoClient.SetEchoResponseReceived(HandleEchoResponseReceived); - err = chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::kZero, EchoTimerHandler, NULL); + err = chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::kZero, EchoTimerHandler, nullptr); SuccessOrExit(err); chip::DeviceLayer::PlatformMgr().RunEventLoop(); diff --git a/src/platform/Darwin/BleConnectionDelegateImpl.mm b/src/platform/Darwin/BleConnectionDelegateImpl.mm index 5268c9ad327082..9f1038dc85c1bd 100644 --- a/src/platform/Darwin/BleConnectionDelegateImpl.mm +++ b/src/platform/Darwin/BleConnectionDelegateImpl.mm @@ -111,7 +111,7 @@ - (id)initWithDiscriminator:(uint16_t)deviceDiscriminator _onConnectionError(_appState, BLE_ERROR_APP_CLOSED_CONNECTION); }); dispatch_source_set_timer( - _timer, dispatch_walltime(NULL, kScanningTimeoutInSeconds * NSEC_PER_SEC), DISPATCH_TIME_FOREVER, 5 * NSEC_PER_SEC); + _timer, dispatch_walltime(nullptr, kScanningTimeoutInSeconds * NSEC_PER_SEC), DISPATCH_TIME_FOREVER, 5 * NSEC_PER_SEC); } return self; diff --git a/src/platform/Darwin/BlePlatformDelegateImpl.mm b/src/platform/Darwin/BlePlatformDelegateImpl.mm index 8f74bb8244feff..9b30cc7edcc843 100644 --- a/src/platform/Darwin/BlePlatformDelegateImpl.mm +++ b/src/platform/Darwin/BlePlatformDelegateImpl.mm @@ -46,7 +46,7 @@ { bool found = false; - if (NULL == svcId || NULL == charId) { + if (nullptr == svcId || nullptr == charId) { return found; } @@ -73,7 +73,7 @@ BLE_CONNECTION_OBJECT connObj, const ChipBleUUID * svcId, const ChipBleUUID * charId) { bool found = false; - if (NULL == svcId || NULL == charId) { + if (nullptr == svcId || nullptr == charId) { return found; } @@ -130,7 +130,7 @@ BLE_CONNECTION_OBJECT connObj, const ChipBleUUID * svcId, const ChipBleUUID * charId, PacketBufferHandle pBuf) { bool found = false; - if (NULL == svcId || NULL == charId || pBuf.IsNull()) { + if (nullptr == svcId || nullptr == charId || pBuf.IsNull()) { return found; } diff --git a/src/platform/Darwin/DnssdImpl.cpp b/src/platform/Darwin/DnssdImpl.cpp index 41e43da4783f5e..5b4ea4de9ca1b3 100644 --- a/src/platform/Darwin/DnssdImpl.cpp +++ b/src/platform/Darwin/DnssdImpl.cpp @@ -293,14 +293,14 @@ CHIP_ERROR Register(void * context, DnssdPublishCallback callback, uint32_t inte if (CHIP_NO_ERROR == MdnsContexts::GetInstance().GetRegisterType(type, &sdCtx)) { - err = DNSServiceUpdateRecord(sdCtx->serviceRef, NULL, 0 /* flags */, recordLen, recordBytesPtr, 0 /* ttl */); + err = DNSServiceUpdateRecord(sdCtx->serviceRef, nullptr, 0 /* flags */, recordLen, recordBytesPtr, 0 /* ttl */); TXTRecordDeallocate(recordRef); VerifyOrReturnError(CheckForSuccess(sdCtx, __func__, err), CHIP_ERROR_INTERNAL); return CHIP_NO_ERROR; } sdCtx = chip::Platform::New(type, callback, context); - err = DNSServiceRegister(&sdRef, 0 /* flags */, interfaceId, name, type, kLocalDot, NULL, ntohs(port), recordLen, + err = DNSServiceRegister(&sdRef, 0 /* flags */, interfaceId, name, type, kLocalDot, nullptr, ntohs(port), recordLen, recordBytesPtr, OnRegister, sdCtx); TXTRecordDeallocate(recordRef); diff --git a/src/platform/Darwin/Logging.cpp b/src/platform/Darwin/Logging.cpp index 8e25d6a8417542..db14ae22e241c4 100644 --- a/src/platform/Darwin/Logging.cpp +++ b/src/platform/Darwin/Logging.cpp @@ -22,11 +22,11 @@ namespace Platform { void ENFORCE_FORMAT(3, 0) LogV(const char * module, uint8_t category, const char * msg, va_list v) { timeval time; - gettimeofday(&time, NULL); + gettimeofday(&time, nullptr); long ms = (time.tv_sec * 1000) + (time.tv_usec / 1000); uint64_t ktid; - pthread_threadid_np(NULL, &ktid); + pthread_threadid_np(nullptr, &ktid); char formattedMsg[CHIP_CONFIG_LOG_MESSAGE_MAX_SIZE]; int32_t prefixLen = snprintf(formattedMsg, sizeof(formattedMsg), "[%ld] [%lld:%lld] CHIP: [%s] ", ms, (long long) getpid(), diff --git a/src/system/SystemLayerImplSelect.cpp b/src/system/SystemLayerImplSelect.cpp index 84d7023e1e094a..9b886ba46dd644 100644 --- a/src/system/SystemLayerImplSelect.cpp +++ b/src/system/SystemLayerImplSelect.cpp @@ -139,7 +139,7 @@ CHIP_ERROR LayerImplSelect::StartTimer(Clock::Timeout delay, TimerCompleteCallba timer->mTimerSource = timerSource; dispatch_source_set_timer( - timerSource, dispatch_walltime(NULL, static_cast(Clock::Milliseconds64(delay).count() * NSEC_PER_MSEC)), + timerSource, dispatch_walltime(nullptr, static_cast(Clock::Milliseconds64(delay).count() * NSEC_PER_MSEC)), DISPATCH_TIME_FOREVER, 2 * NSEC_PER_MSEC); dispatch_source_set_event_handler(timerSource, ^{ dispatch_source_cancel(timerSource); diff --git a/src/system/tests/TestSystemPacketBuffer.cpp b/src/system/tests/TestSystemPacketBuffer.cpp index 7969b139df49d6..478d65845e0c4d 100644 --- a/src/system/tests/TestSystemPacketBuffer.cpp +++ b/src/system/tests/TestSystemPacketBuffer.cpp @@ -137,7 +137,7 @@ class PacketBufferTest static void PrintHandle(const char * tag, const PacketBuffer * buffer) { printf("%s %p ref=%u len=%-4u next=%p\n", tag, buffer, buffer ? buffer->ref : 0, buffer ? buffer->len : 0, - buffer ? buffer->next : 0); + buffer ? buffer->next : nullptr); } static void PrintHandle(const char * tag, const PacketBufferHandle & handle) { PrintHandle(tag, handle.mBuffer); } diff --git a/src/tools/spake2p/Cmd_GenVerifier.cpp b/src/tools/spake2p/Cmd_GenVerifier.cpp index 78368d84d335c9..bd583c242bd0ef 100644 --- a/src/tools/spake2p/Cmd_GenVerifier.cpp +++ b/src/tools/spake2p/Cmd_GenVerifier.cpp @@ -209,7 +209,7 @@ bool HandleOption(const char * progName, OptionSet * optSet, int id, const char bool Cmd_GenVerifier(int argc, char * argv[]) { - FILE * outFile = NULL; + FILE * outFile = nullptr; if (argc == 1) { @@ -250,7 +250,7 @@ bool Cmd_GenVerifier(int argc, char * argv[]) if (strcmp(gOutFileName, "-") != 0) { outFile = fopen(gOutFileName, "w+b"); - if (outFile == NULL) + if (outFile == nullptr) { fprintf(stderr, "Unable to create file %s\n%s\n", gOutFileName, strerror(errno)); return false; diff --git a/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h b/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h index d97291157c0301..b78a0a1f5af13b 100644 --- a/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h +++ b/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h @@ -318,7 +318,7 @@ class SubscribeAttributeAccessControlAcl : public ModelCommand { [cluster subscribeAttributeAclWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccessControl.Acl response %@", [value description]); if (error || !mWait) { @@ -445,7 +445,7 @@ class SubscribeAttributeAccessControlExtension : public ModelCommand { [cluster subscribeAttributeExtensionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccessControl.Extension response %@", [value description]); if (error || !mWait) { @@ -522,7 +522,7 @@ class SubscribeAttributeAccessControlGeneratedCommandList : public ModelCommand [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccessControl.GeneratedCommandList response %@", [value description]); @@ -601,7 +601,7 @@ class SubscribeAttributeAccessControlAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccessControl.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -678,7 +678,7 @@ class SubscribeAttributeAccessControlAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccessControl.AttributeList response %@", [value description]); if (error || !mWait) { @@ -755,7 +755,7 @@ class SubscribeAttributeAccessControlClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AccessControl.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -959,7 +959,7 @@ class SubscribeAttributeAccountLoginGeneratedCommandList : public ModelCommand { [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccountLogin.GeneratedCommandList response %@", [value description]); @@ -1038,7 +1038,7 @@ class SubscribeAttributeAccountLoginAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccountLogin.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -1115,7 +1115,7 @@ class SubscribeAttributeAccountLoginAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccountLogin.AttributeList response %@", [value description]); if (error || !mWait) { @@ -1192,7 +1192,7 @@ class SubscribeAttributeAccountLoginClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AccountLogin.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -1416,7 +1416,7 @@ class SubscribeAttributeAdministratorCommissioningWindowStatus : public ModelCom subscribeAttributeWindowStatusWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.WindowStatus response %@", [value description]); if (error || !mWait) { @@ -1497,7 +1497,7 @@ class SubscribeAttributeAdministratorCommissioningAdminFabricIndex : public Mode [cluster subscribeAttributeAdminFabricIndexWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.AdminFabricIndex response %@", [value description]); @@ -1579,7 +1579,7 @@ class SubscribeAttributeAdministratorCommissioningAdminVendorId : public ModelCo [cluster subscribeAttributeAdminVendorIdWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.AdminVendorId response %@", [value description]); @@ -1661,7 +1661,7 @@ class SubscribeAttributeAdministratorCommissioningGeneratedCommandList : public [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.GeneratedCommandList response %@", [value description]); @@ -1743,7 +1743,7 @@ class SubscribeAttributeAdministratorCommissioningAcceptedCommandList : public M [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.AcceptedCommandList response %@", [value description]); @@ -1825,7 +1825,7 @@ class SubscribeAttributeAdministratorCommissioningAttributeList : public ModelCo [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.AttributeList response %@", [value description]); @@ -1907,7 +1907,7 @@ class SubscribeAttributeAdministratorCommissioningClusterRevision : public Model [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.ClusterRevision response %@", [value description]); @@ -2012,7 +2012,7 @@ class SubscribeAttributeApplicationBasicVendorName : public ModelCommand { [cluster subscribeAttributeVendorNameWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.VendorName response %@", [value description]); if (error || !mWait) { @@ -2093,7 +2093,7 @@ class SubscribeAttributeApplicationBasicVendorID : public ModelCommand { [cluster subscribeAttributeVendorIDWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.VendorID response %@", [value description]); if (error || !mWait) { @@ -2174,7 +2174,7 @@ class SubscribeAttributeApplicationBasicApplicationName : public ModelCommand { [cluster subscribeAttributeApplicationNameWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.ApplicationName response %@", [value description]); if (error || !mWait) { @@ -2255,7 +2255,7 @@ class SubscribeAttributeApplicationBasicProductID : public ModelCommand { [cluster subscribeAttributeProductIDWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.ProductID response %@", [value description]); if (error || !mWait) { @@ -2338,7 +2338,7 @@ class SubscribeAttributeApplicationBasicApplication : public ModelCommand { subscribeAttributeApplicationWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(CHIPApplicationBasicClusterApplicationBasicApplication * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.Application response %@", [value description]); @@ -2420,7 +2420,7 @@ class SubscribeAttributeApplicationBasicStatus : public ModelCommand { [cluster subscribeAttributeStatusWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.Status response %@", [value description]); if (error || !mWait) { @@ -2501,7 +2501,7 @@ class SubscribeAttributeApplicationBasicApplicationVersion : public ModelCommand [cluster subscribeAttributeApplicationVersionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.ApplicationVersion response %@", [value description]); @@ -2584,7 +2584,7 @@ class SubscribeAttributeApplicationBasicAllowedVendorList : public ModelCommand subscribeAttributeAllowedVendorListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.AllowedVendorList response %@", [value description]); if (error || !mWait) { @@ -2665,7 +2665,7 @@ class SubscribeAttributeApplicationBasicGeneratedCommandList : public ModelComma [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.GeneratedCommandList response %@", [value description]); @@ -2747,7 +2747,7 @@ class SubscribeAttributeApplicationBasicAcceptedCommandList : public ModelComman [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.AcceptedCommandList response %@", [value description]); @@ -2829,7 +2829,7 @@ class SubscribeAttributeApplicationBasicAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.AttributeList response %@", [value description]); if (error || !mWait) { @@ -2910,7 +2910,7 @@ class SubscribeAttributeApplicationBasicClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -3150,7 +3150,7 @@ class SubscribeAttributeApplicationLauncherCatalogList : public ModelCommand { [cluster subscribeAttributeCatalogListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.CatalogList response %@", [value description]); if (error || !mWait) { @@ -3286,7 +3286,7 @@ class SubscribeAttributeApplicationLauncherCurrentApp : public ModelCommand { [cluster subscribeAttributeCurrentAppWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(CHIPApplicationLauncherClusterApplicationEP * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.CurrentApp response %@", [value description]); @@ -3368,7 +3368,7 @@ class SubscribeAttributeApplicationLauncherGeneratedCommandList : public ModelCo [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.GeneratedCommandList response %@", [value description]); @@ -3450,7 +3450,7 @@ class SubscribeAttributeApplicationLauncherAcceptedCommandList : public ModelCom [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.AcceptedCommandList response %@", [value description]); @@ -3532,7 +3532,7 @@ class SubscribeAttributeApplicationLauncherAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.AttributeList response %@", [value description]); if (error || !mWait) { @@ -3614,7 +3614,7 @@ class SubscribeAttributeApplicationLauncherClusterRevision : public ModelCommand subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -3784,7 +3784,7 @@ class SubscribeAttributeAudioOutputOutputList : public ModelCommand { [cluster subscribeAttributeOutputListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.OutputList response %@", [value description]); if (error || !mWait) { @@ -3861,7 +3861,7 @@ class SubscribeAttributeAudioOutputCurrentOutput : public ModelCommand { [cluster subscribeAttributeCurrentOutputWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.CurrentOutput response %@", [value description]); if (error || !mWait) { @@ -3939,7 +3939,7 @@ class SubscribeAttributeAudioOutputGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -4017,7 +4017,7 @@ class SubscribeAttributeAudioOutputAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -4094,7 +4094,7 @@ class SubscribeAttributeAudioOutputAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.AttributeList response %@", [value description]); if (error || !mWait) { @@ -4171,7 +4171,7 @@ class SubscribeAttributeAudioOutputClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -4340,7 +4340,7 @@ class SubscribeAttributeBarrierControlBarrierMovingState : public ModelCommand { subscribeAttributeBarrierMovingStateWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierMovingState response %@", [value description]); if (error || !mWait) { @@ -4417,7 +4417,7 @@ class SubscribeAttributeBarrierControlBarrierSafetyStatus : public ModelCommand [cluster subscribeAttributeBarrierSafetyStatusWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierSafetyStatus response %@", [value description]); @@ -4495,7 +4495,7 @@ class SubscribeAttributeBarrierControlBarrierCapabilities : public ModelCommand [cluster subscribeAttributeBarrierCapabilitiesWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierCapabilities response %@", [value description]); @@ -4573,7 +4573,7 @@ class SubscribeAttributeBarrierControlBarrierPosition : public ModelCommand { [cluster subscribeAttributeBarrierPositionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierPosition response %@", [value description]); if (error || !mWait) { @@ -4650,7 +4650,7 @@ class SubscribeAttributeBarrierControlGeneratedCommandList : public ModelCommand [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.GeneratedCommandList response %@", [value description]); @@ -4728,7 +4728,7 @@ class SubscribeAttributeBarrierControlAcceptedCommandList : public ModelCommand [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.AcceptedCommandList response %@", [value description]); @@ -4806,7 +4806,7 @@ class SubscribeAttributeBarrierControlAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.AttributeList response %@", [value description]); if (error || !mWait) { @@ -4883,7 +4883,7 @@ class SubscribeAttributeBarrierControlClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -4999,7 +4999,7 @@ class SubscribeAttributeBasicDataModelRevision : public ModelCommand { [cluster subscribeAttributeDataModelRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.DataModelRevision response %@", [value description]); if (error || !mWait) { @@ -5076,7 +5076,7 @@ class SubscribeAttributeBasicVendorName : public ModelCommand { [cluster subscribeAttributeVendorNameWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.VendorName response %@", [value description]); if (error || !mWait) { @@ -5153,7 +5153,7 @@ class SubscribeAttributeBasicVendorID : public ModelCommand { [cluster subscribeAttributeVendorIDWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.VendorID response %@", [value description]); if (error || !mWait) { @@ -5230,7 +5230,7 @@ class SubscribeAttributeBasicProductName : public ModelCommand { [cluster subscribeAttributeProductNameWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ProductName response %@", [value description]); if (error || !mWait) { @@ -5307,7 +5307,7 @@ class SubscribeAttributeBasicProductID : public ModelCommand { [cluster subscribeAttributeProductIDWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ProductID response %@", [value description]); if (error || !mWait) { @@ -5420,7 +5420,7 @@ class SubscribeAttributeBasicNodeLabel : public ModelCommand { [cluster subscribeAttributeNodeLabelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.NodeLabel response %@", [value description]); if (error || !mWait) { @@ -5533,7 +5533,7 @@ class SubscribeAttributeBasicLocation : public ModelCommand { [cluster subscribeAttributeLocationWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.Location response %@", [value description]); if (error || !mWait) { @@ -5610,7 +5610,7 @@ class SubscribeAttributeBasicHardwareVersion : public ModelCommand { [cluster subscribeAttributeHardwareVersionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.HardwareVersion response %@", [value description]); if (error || !mWait) { @@ -5688,7 +5688,7 @@ class SubscribeAttributeBasicHardwareVersionString : public ModelCommand { subscribeAttributeHardwareVersionStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.HardwareVersionString response %@", [value description]); if (error || !mWait) { @@ -5765,7 +5765,7 @@ class SubscribeAttributeBasicSoftwareVersion : public ModelCommand { [cluster subscribeAttributeSoftwareVersionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.SoftwareVersion response %@", [value description]); if (error || !mWait) { @@ -5843,7 +5843,7 @@ class SubscribeAttributeBasicSoftwareVersionString : public ModelCommand { subscribeAttributeSoftwareVersionStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.SoftwareVersionString response %@", [value description]); if (error || !mWait) { @@ -5920,7 +5920,7 @@ class SubscribeAttributeBasicManufacturingDate : public ModelCommand { [cluster subscribeAttributeManufacturingDateWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ManufacturingDate response %@", [value description]); if (error || !mWait) { @@ -5997,7 +5997,7 @@ class SubscribeAttributeBasicPartNumber : public ModelCommand { [cluster subscribeAttributePartNumberWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.PartNumber response %@", [value description]); if (error || !mWait) { @@ -6074,7 +6074,7 @@ class SubscribeAttributeBasicProductURL : public ModelCommand { [cluster subscribeAttributeProductURLWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ProductURL response %@", [value description]); if (error || !mWait) { @@ -6151,7 +6151,7 @@ class SubscribeAttributeBasicProductLabel : public ModelCommand { [cluster subscribeAttributeProductLabelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ProductLabel response %@", [value description]); if (error || !mWait) { @@ -6228,7 +6228,7 @@ class SubscribeAttributeBasicSerialNumber : public ModelCommand { [cluster subscribeAttributeSerialNumberWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.SerialNumber response %@", [value description]); if (error || !mWait) { @@ -6340,7 +6340,7 @@ class SubscribeAttributeBasicLocalConfigDisabled : public ModelCommand { [cluster subscribeAttributeLocalConfigDisabledWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.LocalConfigDisabled response %@", [value description]); if (error || !mWait) { @@ -6417,7 +6417,7 @@ class SubscribeAttributeBasicReachable : public ModelCommand { [cluster subscribeAttributeReachableWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.Reachable response %@", [value description]); if (error || !mWait) { @@ -6494,7 +6494,7 @@ class SubscribeAttributeBasicUniqueID : public ModelCommand { [cluster subscribeAttributeUniqueIDWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.UniqueID response %@", [value description]); if (error || !mWait) { @@ -6571,7 +6571,7 @@ class SubscribeAttributeBasicGeneratedCommandList : public ModelCommand { [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -6648,7 +6648,7 @@ class SubscribeAttributeBasicAcceptedCommandList : public ModelCommand { [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -6725,7 +6725,7 @@ class SubscribeAttributeBasicAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.AttributeList response %@", [value description]); if (error || !mWait) { @@ -6802,7 +6802,7 @@ class SubscribeAttributeBasicClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -6943,7 +6943,7 @@ class SubscribeAttributeBinaryInputBasicOutOfService : public ModelCommand { [cluster subscribeAttributeOutOfServiceWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.OutOfService response %@", [value description]); if (error || !mWait) { @@ -7060,7 +7060,7 @@ class SubscribeAttributeBinaryInputBasicPresentValue : public ModelCommand { [cluster subscribeAttributePresentValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.PresentValue response %@", [value description]); if (error || !mWait) { @@ -7141,7 +7141,7 @@ class SubscribeAttributeBinaryInputBasicStatusFlags : public ModelCommand { [cluster subscribeAttributeStatusFlagsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.StatusFlags response %@", [value description]); if (error || !mWait) { @@ -7222,7 +7222,7 @@ class SubscribeAttributeBinaryInputBasicGeneratedCommandList : public ModelComma [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.GeneratedCommandList response %@", [value description]); @@ -7304,7 +7304,7 @@ class SubscribeAttributeBinaryInputBasicAcceptedCommandList : public ModelComman [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.AcceptedCommandList response %@", [value description]); @@ -7386,7 +7386,7 @@ class SubscribeAttributeBinaryInputBasicAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.AttributeList response %@", [value description]); if (error || !mWait) { @@ -7467,7 +7467,7 @@ class SubscribeAttributeBinaryInputBasicClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -7628,7 +7628,7 @@ class SubscribeAttributeBindingBinding : public ModelCommand { [cluster subscribeAttributeBindingWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Binding.Binding response %@", [value description]); if (error || !mWait) { @@ -7706,7 +7706,7 @@ class SubscribeAttributeBindingGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Binding.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -7783,7 +7783,7 @@ class SubscribeAttributeBindingAcceptedCommandList : public ModelCommand { [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Binding.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -7860,7 +7860,7 @@ class SubscribeAttributeBindingAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Binding.AttributeList response %@", [value description]); if (error || !mWait) { @@ -7937,7 +7937,7 @@ class SubscribeAttributeBindingClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Binding.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -8031,7 +8031,7 @@ class SubscribeAttributeBooleanStateStateValue : public ModelCommand { [cluster subscribeAttributeStateValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BooleanState.StateValue response %@", [value description]); if (error || !mWait) { @@ -8108,7 +8108,7 @@ class SubscribeAttributeBooleanStateGeneratedCommandList : public ModelCommand { [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BooleanState.GeneratedCommandList response %@", [value description]); @@ -8187,7 +8187,7 @@ class SubscribeAttributeBooleanStateAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BooleanState.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -8264,7 +8264,7 @@ class SubscribeAttributeBooleanStateAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BooleanState.AttributeList response %@", [value description]); if (error || !mWait) { @@ -8341,7 +8341,7 @@ class SubscribeAttributeBooleanStateClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BooleanState.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -8938,7 +8938,7 @@ class SubscribeAttributeBridgedActionsActionList : public ModelCommand { [cluster subscribeAttributeActionListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedActions.ActionList response %@", [value description]); if (error || !mWait) { @@ -9015,7 +9015,7 @@ class SubscribeAttributeBridgedActionsEndpointList : public ModelCommand { [cluster subscribeAttributeEndpointListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedActions.EndpointList response %@", [value description]); if (error || !mWait) { @@ -9092,7 +9092,7 @@ class SubscribeAttributeBridgedActionsSetupUrl : public ModelCommand { [cluster subscribeAttributeSetupUrlWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedActions.SetupUrl response %@", [value description]); if (error || !mWait) { @@ -9169,7 +9169,7 @@ class SubscribeAttributeBridgedActionsGeneratedCommandList : public ModelCommand [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedActions.GeneratedCommandList response %@", [value description]); @@ -9247,7 +9247,7 @@ class SubscribeAttributeBridgedActionsAcceptedCommandList : public ModelCommand [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedActions.AcceptedCommandList response %@", [value description]); @@ -9325,7 +9325,7 @@ class SubscribeAttributeBridgedActionsAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedActions.AttributeList response %@", [value description]); if (error || !mWait) { @@ -9402,7 +9402,7 @@ class SubscribeAttributeBridgedActionsClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedActions.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -9517,7 +9517,7 @@ class SubscribeAttributeBridgedDeviceBasicVendorName : public ModelCommand { [cluster subscribeAttributeVendorNameWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.VendorName response %@", [value description]); if (error || !mWait) { @@ -9598,7 +9598,7 @@ class SubscribeAttributeBridgedDeviceBasicVendorID : public ModelCommand { [cluster subscribeAttributeVendorIDWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.VendorID response %@", [value description]); if (error || !mWait) { @@ -9679,7 +9679,7 @@ class SubscribeAttributeBridgedDeviceBasicProductName : public ModelCommand { [cluster subscribeAttributeProductNameWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.ProductName response %@", [value description]); if (error || !mWait) { @@ -9798,7 +9798,7 @@ class SubscribeAttributeBridgedDeviceBasicNodeLabel : public ModelCommand { [cluster subscribeAttributeNodeLabelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.NodeLabel response %@", [value description]); if (error || !mWait) { @@ -9880,7 +9880,7 @@ class SubscribeAttributeBridgedDeviceBasicHardwareVersion : public ModelCommand subscribeAttributeHardwareVersionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.HardwareVersion response %@", [value description]); if (error || !mWait) { @@ -9961,7 +9961,7 @@ class SubscribeAttributeBridgedDeviceBasicHardwareVersionString : public ModelCo [cluster subscribeAttributeHardwareVersionStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.HardwareVersionString response %@", [value description]); @@ -10044,7 +10044,7 @@ class SubscribeAttributeBridgedDeviceBasicSoftwareVersion : public ModelCommand subscribeAttributeSoftwareVersionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.SoftwareVersion response %@", [value description]); if (error || !mWait) { @@ -10125,7 +10125,7 @@ class SubscribeAttributeBridgedDeviceBasicSoftwareVersionString : public ModelCo [cluster subscribeAttributeSoftwareVersionStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.SoftwareVersionString response %@", [value description]); @@ -10207,7 +10207,7 @@ class SubscribeAttributeBridgedDeviceBasicManufacturingDate : public ModelComman [cluster subscribeAttributeManufacturingDateWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.ManufacturingDate response %@", [value description]); @@ -10289,7 +10289,7 @@ class SubscribeAttributeBridgedDeviceBasicPartNumber : public ModelCommand { [cluster subscribeAttributePartNumberWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.PartNumber response %@", [value description]); if (error || !mWait) { @@ -10370,7 +10370,7 @@ class SubscribeAttributeBridgedDeviceBasicProductURL : public ModelCommand { [cluster subscribeAttributeProductURLWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.ProductURL response %@", [value description]); if (error || !mWait) { @@ -10451,7 +10451,7 @@ class SubscribeAttributeBridgedDeviceBasicProductLabel : public ModelCommand { [cluster subscribeAttributeProductLabelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.ProductLabel response %@", [value description]); if (error || !mWait) { @@ -10532,7 +10532,7 @@ class SubscribeAttributeBridgedDeviceBasicSerialNumber : public ModelCommand { [cluster subscribeAttributeSerialNumberWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.SerialNumber response %@", [value description]); if (error || !mWait) { @@ -10613,7 +10613,7 @@ class SubscribeAttributeBridgedDeviceBasicReachable : public ModelCommand { [cluster subscribeAttributeReachableWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.Reachable response %@", [value description]); if (error || !mWait) { @@ -10694,7 +10694,7 @@ class SubscribeAttributeBridgedDeviceBasicUniqueID : public ModelCommand { [cluster subscribeAttributeUniqueIDWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.UniqueID response %@", [value description]); if (error || !mWait) { @@ -10775,7 +10775,7 @@ class SubscribeAttributeBridgedDeviceBasicGeneratedCommandList : public ModelCom [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.GeneratedCommandList response %@", [value description]); @@ -10857,7 +10857,7 @@ class SubscribeAttributeBridgedDeviceBasicAcceptedCommandList : public ModelComm [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.AcceptedCommandList response %@", [value description]); @@ -10939,7 +10939,7 @@ class SubscribeAttributeBridgedDeviceBasicAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.AttributeList response %@", [value description]); if (error || !mWait) { @@ -11021,7 +11021,7 @@ class SubscribeAttributeBridgedDeviceBasicClusterRevision : public ModelCommand subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -11230,7 +11230,7 @@ class SubscribeAttributeChannelChannelList : public ModelCommand { [cluster subscribeAttributeChannelListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.ChannelList response %@", [value description]); if (error || !mWait) { @@ -11309,7 +11309,7 @@ class SubscribeAttributeChannelLineup : public ModelCommand { subscribeAttributeLineupWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(CHIPChannelClusterLineupInfo * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.Lineup response %@", [value description]); if (error || !mWait) { @@ -11387,7 +11387,7 @@ class SubscribeAttributeChannelCurrentChannel : public ModelCommand { [cluster subscribeAttributeCurrentChannelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( CHIPChannelClusterChannelInfo * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.CurrentChannel response %@", [value description]); @@ -11466,7 +11466,7 @@ class SubscribeAttributeChannelGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -11543,7 +11543,7 @@ class SubscribeAttributeChannelAcceptedCommandList : public ModelCommand { [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -11620,7 +11620,7 @@ class SubscribeAttributeChannelAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.AttributeList response %@", [value description]); if (error || !mWait) { @@ -11697,7 +11697,7 @@ class SubscribeAttributeChannelClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -12813,7 +12813,7 @@ class SubscribeAttributeColorControlCurrentHue : public ModelCommand { [cluster subscribeAttributeCurrentHueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.CurrentHue response %@", [value description]); if (error || !mWait) { @@ -12890,7 +12890,7 @@ class SubscribeAttributeColorControlCurrentSaturation : public ModelCommand { [cluster subscribeAttributeCurrentSaturationWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.CurrentSaturation response %@", [value description]); if (error || !mWait) { @@ -12967,7 +12967,7 @@ class SubscribeAttributeColorControlRemainingTime : public ModelCommand { [cluster subscribeAttributeRemainingTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.RemainingTime response %@", [value description]); if (error || !mWait) { @@ -13044,7 +13044,7 @@ class SubscribeAttributeColorControlCurrentX : public ModelCommand { [cluster subscribeAttributeCurrentXWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.CurrentX response %@", [value description]); if (error || !mWait) { @@ -13121,7 +13121,7 @@ class SubscribeAttributeColorControlCurrentY : public ModelCommand { [cluster subscribeAttributeCurrentYWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.CurrentY response %@", [value description]); if (error || !mWait) { @@ -13198,7 +13198,7 @@ class SubscribeAttributeColorControlDriftCompensation : public ModelCommand { [cluster subscribeAttributeDriftCompensationWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.DriftCompensation response %@", [value description]); if (error || !mWait) { @@ -13275,7 +13275,7 @@ class SubscribeAttributeColorControlCompensationText : public ModelCommand { [cluster subscribeAttributeCompensationTextWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.CompensationText response %@", [value description]); if (error || !mWait) { @@ -13352,7 +13352,7 @@ class SubscribeAttributeColorControlColorTemperature : public ModelCommand { [cluster subscribeAttributeColorTemperatureWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorTemperature response %@", [value description]); if (error || !mWait) { @@ -13429,7 +13429,7 @@ class SubscribeAttributeColorControlColorMode : public ModelCommand { [cluster subscribeAttributeColorModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorMode response %@", [value description]); if (error || !mWait) { @@ -13542,7 +13542,7 @@ class SubscribeAttributeColorControlColorControlOptions : public ModelCommand { subscribeAttributeColorControlOptionsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorControlOptions response %@", [value description]); if (error || !mWait) { @@ -13619,7 +13619,7 @@ class SubscribeAttributeColorControlNumberOfPrimaries : public ModelCommand { [cluster subscribeAttributeNumberOfPrimariesWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.NumberOfPrimaries response %@", [value description]); if (error || !mWait) { @@ -13696,7 +13696,7 @@ class SubscribeAttributeColorControlPrimary1X : public ModelCommand { [cluster subscribeAttributePrimary1XWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary1X response %@", [value description]); if (error || !mWait) { @@ -13773,7 +13773,7 @@ class SubscribeAttributeColorControlPrimary1Y : public ModelCommand { [cluster subscribeAttributePrimary1YWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary1Y response %@", [value description]); if (error || !mWait) { @@ -13850,7 +13850,7 @@ class SubscribeAttributeColorControlPrimary1Intensity : public ModelCommand { [cluster subscribeAttributePrimary1IntensityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary1Intensity response %@", [value description]); if (error || !mWait) { @@ -13927,7 +13927,7 @@ class SubscribeAttributeColorControlPrimary2X : public ModelCommand { [cluster subscribeAttributePrimary2XWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary2X response %@", [value description]); if (error || !mWait) { @@ -14004,7 +14004,7 @@ class SubscribeAttributeColorControlPrimary2Y : public ModelCommand { [cluster subscribeAttributePrimary2YWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary2Y response %@", [value description]); if (error || !mWait) { @@ -14081,7 +14081,7 @@ class SubscribeAttributeColorControlPrimary2Intensity : public ModelCommand { [cluster subscribeAttributePrimary2IntensityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary2Intensity response %@", [value description]); if (error || !mWait) { @@ -14158,7 +14158,7 @@ class SubscribeAttributeColorControlPrimary3X : public ModelCommand { [cluster subscribeAttributePrimary3XWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary3X response %@", [value description]); if (error || !mWait) { @@ -14235,7 +14235,7 @@ class SubscribeAttributeColorControlPrimary3Y : public ModelCommand { [cluster subscribeAttributePrimary3YWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary3Y response %@", [value description]); if (error || !mWait) { @@ -14312,7 +14312,7 @@ class SubscribeAttributeColorControlPrimary3Intensity : public ModelCommand { [cluster subscribeAttributePrimary3IntensityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary3Intensity response %@", [value description]); if (error || !mWait) { @@ -14389,7 +14389,7 @@ class SubscribeAttributeColorControlPrimary4X : public ModelCommand { [cluster subscribeAttributePrimary4XWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary4X response %@", [value description]); if (error || !mWait) { @@ -14466,7 +14466,7 @@ class SubscribeAttributeColorControlPrimary4Y : public ModelCommand { [cluster subscribeAttributePrimary4YWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary4Y response %@", [value description]); if (error || !mWait) { @@ -14543,7 +14543,7 @@ class SubscribeAttributeColorControlPrimary4Intensity : public ModelCommand { [cluster subscribeAttributePrimary4IntensityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary4Intensity response %@", [value description]); if (error || !mWait) { @@ -14620,7 +14620,7 @@ class SubscribeAttributeColorControlPrimary5X : public ModelCommand { [cluster subscribeAttributePrimary5XWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary5X response %@", [value description]); if (error || !mWait) { @@ -14697,7 +14697,7 @@ class SubscribeAttributeColorControlPrimary5Y : public ModelCommand { [cluster subscribeAttributePrimary5YWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary5Y response %@", [value description]); if (error || !mWait) { @@ -14774,7 +14774,7 @@ class SubscribeAttributeColorControlPrimary5Intensity : public ModelCommand { [cluster subscribeAttributePrimary5IntensityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary5Intensity response %@", [value description]); if (error || !mWait) { @@ -14851,7 +14851,7 @@ class SubscribeAttributeColorControlPrimary6X : public ModelCommand { [cluster subscribeAttributePrimary6XWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary6X response %@", [value description]); if (error || !mWait) { @@ -14928,7 +14928,7 @@ class SubscribeAttributeColorControlPrimary6Y : public ModelCommand { [cluster subscribeAttributePrimary6YWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary6Y response %@", [value description]); if (error || !mWait) { @@ -15005,7 +15005,7 @@ class SubscribeAttributeColorControlPrimary6Intensity : public ModelCommand { [cluster subscribeAttributePrimary6IntensityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary6Intensity response %@", [value description]); if (error || !mWait) { @@ -15116,7 +15116,7 @@ class SubscribeAttributeColorControlWhitePointX : public ModelCommand { [cluster subscribeAttributeWhitePointXWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.WhitePointX response %@", [value description]); if (error || !mWait) { @@ -15227,7 +15227,7 @@ class SubscribeAttributeColorControlWhitePointY : public ModelCommand { [cluster subscribeAttributeWhitePointYWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.WhitePointY response %@", [value description]); if (error || !mWait) { @@ -15338,7 +15338,7 @@ class SubscribeAttributeColorControlColorPointRX : public ModelCommand { [cluster subscribeAttributeColorPointRXWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointRX response %@", [value description]); if (error || !mWait) { @@ -15449,7 +15449,7 @@ class SubscribeAttributeColorControlColorPointRY : public ModelCommand { [cluster subscribeAttributeColorPointRYWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointRY response %@", [value description]); if (error || !mWait) { @@ -15561,7 +15561,7 @@ class SubscribeAttributeColorControlColorPointRIntensity : public ModelCommand { [cluster subscribeAttributeColorPointRIntensityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointRIntensity response %@", [value description]); @@ -15673,7 +15673,7 @@ class SubscribeAttributeColorControlColorPointGX : public ModelCommand { [cluster subscribeAttributeColorPointGXWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointGX response %@", [value description]); if (error || !mWait) { @@ -15784,7 +15784,7 @@ class SubscribeAttributeColorControlColorPointGY : public ModelCommand { [cluster subscribeAttributeColorPointGYWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointGY response %@", [value description]); if (error || !mWait) { @@ -15896,7 +15896,7 @@ class SubscribeAttributeColorControlColorPointGIntensity : public ModelCommand { [cluster subscribeAttributeColorPointGIntensityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointGIntensity response %@", [value description]); @@ -16008,7 +16008,7 @@ class SubscribeAttributeColorControlColorPointBX : public ModelCommand { [cluster subscribeAttributeColorPointBXWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointBX response %@", [value description]); if (error || !mWait) { @@ -16119,7 +16119,7 @@ class SubscribeAttributeColorControlColorPointBY : public ModelCommand { [cluster subscribeAttributeColorPointBYWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointBY response %@", [value description]); if (error || !mWait) { @@ -16231,7 +16231,7 @@ class SubscribeAttributeColorControlColorPointBIntensity : public ModelCommand { [cluster subscribeAttributeColorPointBIntensityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointBIntensity response %@", [value description]); @@ -16310,7 +16310,7 @@ class SubscribeAttributeColorControlEnhancedCurrentHue : public ModelCommand { subscribeAttributeEnhancedCurrentHueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.EnhancedCurrentHue response %@", [value description]); if (error || !mWait) { @@ -16387,7 +16387,7 @@ class SubscribeAttributeColorControlEnhancedColorMode : public ModelCommand { [cluster subscribeAttributeEnhancedColorModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.EnhancedColorMode response %@", [value description]); if (error || !mWait) { @@ -16464,7 +16464,7 @@ class SubscribeAttributeColorControlColorLoopActive : public ModelCommand { [cluster subscribeAttributeColorLoopActiveWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorLoopActive response %@", [value description]); if (error || !mWait) { @@ -16542,7 +16542,7 @@ class SubscribeAttributeColorControlColorLoopDirection : public ModelCommand { subscribeAttributeColorLoopDirectionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorLoopDirection response %@", [value description]); if (error || !mWait) { @@ -16619,7 +16619,7 @@ class SubscribeAttributeColorControlColorLoopTime : public ModelCommand { [cluster subscribeAttributeColorLoopTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorLoopTime response %@", [value description]); if (error || !mWait) { @@ -16698,7 +16698,7 @@ class SubscribeAttributeColorControlColorLoopStartEnhancedHue : public ModelComm subscribeAttributeColorLoopStartEnhancedHueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorLoopStartEnhancedHue response %@", [value description]); @@ -16778,7 +16778,7 @@ class SubscribeAttributeColorControlColorLoopStoredEnhancedHue : public ModelCom subscribeAttributeColorLoopStoredEnhancedHueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorLoopStoredEnhancedHue response %@", [value description]); @@ -16856,7 +16856,7 @@ class SubscribeAttributeColorControlColorCapabilities : public ModelCommand { [cluster subscribeAttributeColorCapabilitiesWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorCapabilities response %@", [value description]); if (error || !mWait) { @@ -16933,7 +16933,7 @@ class SubscribeAttributeColorControlColorTempPhysicalMin : public ModelCommand { [cluster subscribeAttributeColorTempPhysicalMinWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorTempPhysicalMin response %@", [value description]); @@ -17011,7 +17011,7 @@ class SubscribeAttributeColorControlColorTempPhysicalMax : public ModelCommand { [cluster subscribeAttributeColorTempPhysicalMaxWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorTempPhysicalMax response %@", [value description]); @@ -17091,7 +17091,7 @@ class SubscribeAttributeColorControlCoupleColorTempToLevelMinMireds : public Mod subscribeAttributeCoupleColorTempToLevelMinMiredsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog( @@ -17209,7 +17209,7 @@ class SubscribeAttributeColorControlStartUpColorTemperatureMireds : public Model subscribeAttributeStartUpColorTemperatureMiredsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.StartUpColorTemperatureMireds response %@", @@ -17288,7 +17288,7 @@ class SubscribeAttributeColorControlGeneratedCommandList : public ModelCommand { [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.GeneratedCommandList response %@", [value description]); @@ -17367,7 +17367,7 @@ class SubscribeAttributeColorControlAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -17444,7 +17444,7 @@ class SubscribeAttributeColorControlAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.AttributeList response %@", [value description]); if (error || !mWait) { @@ -17521,7 +17521,7 @@ class SubscribeAttributeColorControlClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -17921,7 +17921,7 @@ class SubscribeAttributeContentLauncherAcceptHeader : public ModelCommand { [cluster subscribeAttributeAcceptHeaderWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.AcceptHeader response %@", [value description]); if (error || !mWait) { @@ -18036,7 +18036,7 @@ class SubscribeAttributeContentLauncherSupportedStreamingProtocols : public Mode subscribeAttributeSupportedStreamingProtocolsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.SupportedStreamingProtocols response %@", [value description]); @@ -18114,7 +18114,7 @@ class SubscribeAttributeContentLauncherGeneratedCommandList : public ModelComman [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.GeneratedCommandList response %@", [value description]); @@ -18192,7 +18192,7 @@ class SubscribeAttributeContentLauncherAcceptedCommandList : public ModelCommand [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.AcceptedCommandList response %@", [value description]); @@ -18270,7 +18270,7 @@ class SubscribeAttributeContentLauncherAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.AttributeList response %@", [value description]); if (error || !mWait) { @@ -18347,7 +18347,7 @@ class SubscribeAttributeContentLauncherClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -18443,7 +18443,7 @@ class SubscribeAttributeDescriptorDeviceList : public ModelCommand { [cluster subscribeAttributeDeviceListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.DeviceList response %@", [value description]); if (error || !mWait) { @@ -18520,7 +18520,7 @@ class SubscribeAttributeDescriptorServerList : public ModelCommand { [cluster subscribeAttributeServerListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.ServerList response %@", [value description]); if (error || !mWait) { @@ -18597,7 +18597,7 @@ class SubscribeAttributeDescriptorClientList : public ModelCommand { [cluster subscribeAttributeClientListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.ClientList response %@", [value description]); if (error || !mWait) { @@ -18674,7 +18674,7 @@ class SubscribeAttributeDescriptorPartsList : public ModelCommand { [cluster subscribeAttributePartsListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.PartsList response %@", [value description]); if (error || !mWait) { @@ -18752,7 +18752,7 @@ class SubscribeAttributeDescriptorGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -18830,7 +18830,7 @@ class SubscribeAttributeDescriptorAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -18907,7 +18907,7 @@ class SubscribeAttributeDescriptorAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.AttributeList response %@", [value description]); if (error || !mWait) { @@ -18984,7 +18984,7 @@ class SubscribeAttributeDescriptorClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -19123,7 +19123,7 @@ class SubscribeAttributeDiagnosticLogsGeneratedCommandList : public ModelCommand [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DiagnosticLogs.GeneratedCommandList response %@", [value description]); @@ -19201,7 +19201,7 @@ class SubscribeAttributeDiagnosticLogsAcceptedCommandList : public ModelCommand [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DiagnosticLogs.AcceptedCommandList response %@", [value description]); @@ -19279,7 +19279,7 @@ class SubscribeAttributeDiagnosticLogsAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DiagnosticLogs.AttributeList response %@", [value description]); if (error || !mWait) { @@ -20106,7 +20106,7 @@ class SubscribeAttributeDoorLockLockState : public ModelCommand { [cluster subscribeAttributeLockStateWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.LockState response %@", [value description]); if (error || !mWait) { @@ -20183,7 +20183,7 @@ class SubscribeAttributeDoorLockLockType : public ModelCommand { [cluster subscribeAttributeLockTypeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.LockType response %@", [value description]); if (error || !mWait) { @@ -20260,7 +20260,7 @@ class SubscribeAttributeDoorLockActuatorEnabled : public ModelCommand { [cluster subscribeAttributeActuatorEnabledWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.ActuatorEnabled response %@", [value description]); if (error || !mWait) { @@ -20337,7 +20337,7 @@ class SubscribeAttributeDoorLockDoorState : public ModelCommand { [cluster subscribeAttributeDoorStateWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.DoorState response %@", [value description]); if (error || !mWait) { @@ -20416,7 +20416,7 @@ class SubscribeAttributeDoorLockNumberOfTotalUsersSupported : public ModelComman subscribeAttributeNumberOfTotalUsersSupportedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.NumberOfTotalUsersSupported response %@", [value description]); @@ -20496,7 +20496,7 @@ class SubscribeAttributeDoorLockNumberOfPINUsersSupported : public ModelCommand subscribeAttributeNumberOfPINUsersSupportedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.NumberOfPINUsersSupported response %@", [value description]); @@ -20576,7 +20576,7 @@ class SubscribeAttributeDoorLockNumberOfRFIDUsersSupported : public ModelCommand subscribeAttributeNumberOfRFIDUsersSupportedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.NumberOfRFIDUsersSupported response %@", [value description]); @@ -20656,7 +20656,7 @@ class SubscribeAttributeDoorLockNumberOfWeekDaySchedulesSupportedPerUser : publi subscribeAttributeNumberOfWeekDaySchedulesSupportedPerUserWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock." @@ -20740,7 +20740,7 @@ class SubscribeAttributeDoorLockNumberOfYearDaySchedulesSupportedPerUser : publi subscribeAttributeNumberOfYearDaySchedulesSupportedPerUserWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock." @@ -20822,7 +20822,7 @@ class SubscribeAttributeDoorLockMaxPINCodeLength : public ModelCommand { [cluster subscribeAttributeMaxPINCodeLengthWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.MaxPINCodeLength response %@", [value description]); if (error || !mWait) { @@ -20899,7 +20899,7 @@ class SubscribeAttributeDoorLockMinPINCodeLength : public ModelCommand { [cluster subscribeAttributeMinPINCodeLengthWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.MinPINCodeLength response %@", [value description]); if (error || !mWait) { @@ -20976,7 +20976,7 @@ class SubscribeAttributeDoorLockMaxRFIDCodeLength : public ModelCommand { [cluster subscribeAttributeMaxRFIDCodeLengthWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.MaxRFIDCodeLength response %@", [value description]); if (error || !mWait) { @@ -21053,7 +21053,7 @@ class SubscribeAttributeDoorLockMinRFIDCodeLength : public ModelCommand { [cluster subscribeAttributeMinRFIDCodeLengthWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.MinRFIDCodeLength response %@", [value description]); if (error || !mWait) { @@ -21166,7 +21166,7 @@ class SubscribeAttributeDoorLockLanguage : public ModelCommand { [cluster subscribeAttributeLanguageWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.Language response %@", [value description]); if (error || !mWait) { @@ -21277,7 +21277,7 @@ class SubscribeAttributeDoorLockAutoRelockTime : public ModelCommand { [cluster subscribeAttributeAutoRelockTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.AutoRelockTime response %@", [value description]); if (error || !mWait) { @@ -21388,7 +21388,7 @@ class SubscribeAttributeDoorLockSoundVolume : public ModelCommand { [cluster subscribeAttributeSoundVolumeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.SoundVolume response %@", [value description]); if (error || !mWait) { @@ -21499,7 +21499,7 @@ class SubscribeAttributeDoorLockOperatingMode : public ModelCommand { [cluster subscribeAttributeOperatingModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.OperatingMode response %@", [value description]); if (error || !mWait) { @@ -21577,7 +21577,7 @@ class SubscribeAttributeDoorLockSupportedOperatingModes : public ModelCommand { [cluster subscribeAttributeSupportedOperatingModesWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.SupportedOperatingModes response %@", [value description]); @@ -21691,7 +21691,7 @@ class SubscribeAttributeDoorLockEnableOneTouchLocking : public ModelCommand { subscribeAttributeEnableOneTouchLockingWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.EnableOneTouchLocking response %@", [value description]); if (error || !mWait) { @@ -21804,7 +21804,7 @@ class SubscribeAttributeDoorLockEnablePrivacyModeButton : public ModelCommand { [cluster subscribeAttributeEnablePrivacyModeButtonWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.EnablePrivacyModeButton response %@", [value description]); @@ -21917,7 +21917,7 @@ class SubscribeAttributeDoorLockWrongCodeEntryLimit : public ModelCommand { [cluster subscribeAttributeWrongCodeEntryLimitWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.WrongCodeEntryLimit response %@", [value description]); if (error || !mWait) { @@ -21995,7 +21995,7 @@ class SubscribeAttributeDoorLockGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -22072,7 +22072,7 @@ class SubscribeAttributeDoorLockAcceptedCommandList : public ModelCommand { [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -22149,7 +22149,7 @@ class SubscribeAttributeDoorLockAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.AttributeList response %@", [value description]); if (error || !mWait) { @@ -22226,7 +22226,7 @@ class SubscribeAttributeDoorLockClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -22453,7 +22453,7 @@ class SubscribeAttributeElectricalMeasurementMeasurementType : public ModelComma subscribeAttributeMeasurementTypeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.MeasurementType response %@", [value description]); if (error || !mWait) { @@ -22534,7 +22534,7 @@ class SubscribeAttributeElectricalMeasurementTotalActivePower : public ModelComm [cluster subscribeAttributeTotalActivePowerWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.TotalActivePower response %@", [value description]); @@ -22616,7 +22616,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltage : public ModelCommand { [cluster subscribeAttributeRmsVoltageWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltage response %@", [value description]); if (error || !mWait) { @@ -22698,7 +22698,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageMin : public ModelCommand subscribeAttributeRmsVoltageMinWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageMin response %@", [value description]); if (error || !mWait) { @@ -22780,7 +22780,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageMax : public ModelCommand subscribeAttributeRmsVoltageMaxWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageMax response %@", [value description]); if (error || !mWait) { @@ -22861,7 +22861,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrent : public ModelCommand { [cluster subscribeAttributeRmsCurrentWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrent response %@", [value description]); if (error || !mWait) { @@ -22943,7 +22943,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrentMin : public ModelCommand subscribeAttributeRmsCurrentMinWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrentMin response %@", [value description]); if (error || !mWait) { @@ -23025,7 +23025,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrentMax : public ModelCommand subscribeAttributeRmsCurrentMaxWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrentMax response %@", [value description]); if (error || !mWait) { @@ -23106,7 +23106,7 @@ class SubscribeAttributeElectricalMeasurementActivePower : public ModelCommand { [cluster subscribeAttributeActivePowerWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePower response %@", [value description]); if (error || !mWait) { @@ -23188,7 +23188,7 @@ class SubscribeAttributeElectricalMeasurementActivePowerMin : public ModelComman subscribeAttributeActivePowerMinWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePowerMin response %@", [value description]); if (error || !mWait) { @@ -23270,7 +23270,7 @@ class SubscribeAttributeElectricalMeasurementActivePowerMax : public ModelComman subscribeAttributeActivePowerMaxWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePowerMax response %@", [value description]); if (error || !mWait) { @@ -23351,7 +23351,7 @@ class SubscribeAttributeElectricalMeasurementGeneratedCommandList : public Model [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.GeneratedCommandList response %@", [value description]); @@ -23433,7 +23433,7 @@ class SubscribeAttributeElectricalMeasurementAcceptedCommandList : public ModelC [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcceptedCommandList response %@", [value description]); @@ -23516,7 +23516,7 @@ class SubscribeAttributeElectricalMeasurementAttributeList : public ModelCommand subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AttributeList response %@", [value description]); if (error || !mWait) { @@ -23598,7 +23598,7 @@ class SubscribeAttributeElectricalMeasurementClusterRevision : public ModelComma subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -23735,7 +23735,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsPHYRate : public ModelCommand [cluster subscribeAttributePHYRateWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.PHYRate response %@", [value description]); if (error || !mWait) { @@ -23816,7 +23816,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsFullDuplex : public ModelComma [cluster subscribeAttributeFullDuplexWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.FullDuplex response %@", [value description]); if (error || !mWait) { @@ -23897,7 +23897,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsPacketRxCount : public ModelCo [cluster subscribeAttributePacketRxCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.PacketRxCount response %@", [value description]); @@ -23979,7 +23979,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsPacketTxCount : public ModelCo [cluster subscribeAttributePacketTxCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.PacketTxCount response %@", [value description]); @@ -24061,7 +24061,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsTxErrCount : public ModelComma [cluster subscribeAttributeTxErrCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.TxErrCount response %@", [value description]); if (error || !mWait) { @@ -24142,7 +24142,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsCollisionCount : public ModelC [cluster subscribeAttributeCollisionCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.CollisionCount response %@", [value description]); @@ -24225,7 +24225,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsOverrunCount : public ModelCom subscribeAttributeOverrunCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.OverrunCount response %@", [value description]); if (error || !mWait) { @@ -24306,7 +24306,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsCarrierDetect : public ModelCo [cluster subscribeAttributeCarrierDetectWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.CarrierDetect response %@", [value description]); @@ -24388,7 +24388,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsTimeSinceReset : public ModelC [cluster subscribeAttributeTimeSinceResetWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.TimeSinceReset response %@", [value description]); @@ -24470,7 +24470,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsGeneratedCommandList : public [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.GeneratedCommandList response %@", [value description]); @@ -24552,7 +24552,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsAcceptedCommandList : public M [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.AcceptedCommandList response %@", [value description]); @@ -24634,7 +24634,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsAttributeList : public ModelCo [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.AttributeList response %@", [value description]); @@ -24716,7 +24716,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsFeatureMap : public ModelComma [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -24797,7 +24797,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsClusterRevision : public Model [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.ClusterRevision response %@", [value description]); @@ -24926,7 +24926,7 @@ class SubscribeAttributeFanControlFanMode : public ModelCommand { [cluster subscribeAttributeFanModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.FanMode response %@", [value description]); if (error || !mWait) { @@ -25037,7 +25037,7 @@ class SubscribeAttributeFanControlFanModeSequence : public ModelCommand { [cluster subscribeAttributeFanModeSequenceWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.FanModeSequence response %@", [value description]); if (error || !mWait) { @@ -25115,7 +25115,7 @@ class SubscribeAttributeFanControlGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -25193,7 +25193,7 @@ class SubscribeAttributeFanControlAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -25270,7 +25270,7 @@ class SubscribeAttributeFanControlAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.AttributeList response %@", [value description]); if (error || !mWait) { @@ -25347,7 +25347,7 @@ class SubscribeAttributeFanControlFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -25424,7 +25424,7 @@ class SubscribeAttributeFanControlClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -25517,7 +25517,7 @@ class SubscribeAttributeFixedLabelLabelList : public ModelCommand { [cluster subscribeAttributeLabelListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FixedLabel.LabelList response %@", [value description]); if (error || !mWait) { @@ -25595,7 +25595,7 @@ class SubscribeAttributeFixedLabelGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FixedLabel.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -25673,7 +25673,7 @@ class SubscribeAttributeFixedLabelAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FixedLabel.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -25750,7 +25750,7 @@ class SubscribeAttributeFixedLabelAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FixedLabel.AttributeList response %@", [value description]); if (error || !mWait) { @@ -25827,7 +25827,7 @@ class SubscribeAttributeFixedLabelClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FixedLabel.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -25923,7 +25923,7 @@ class SubscribeAttributeFlowMeasurementMeasuredValue : public ModelCommand { [cluster subscribeAttributeMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.MeasuredValue response %@", [value description]); if (error || !mWait) { @@ -26001,7 +26001,7 @@ class SubscribeAttributeFlowMeasurementMinMeasuredValue : public ModelCommand { subscribeAttributeMinMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.MinMeasuredValue response %@", [value description]); if (error || !mWait) { @@ -26079,7 +26079,7 @@ class SubscribeAttributeFlowMeasurementMaxMeasuredValue : public ModelCommand { subscribeAttributeMaxMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.MaxMeasuredValue response %@", [value description]); if (error || !mWait) { @@ -26156,7 +26156,7 @@ class SubscribeAttributeFlowMeasurementTolerance : public ModelCommand { [cluster subscribeAttributeToleranceWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.Tolerance response %@", [value description]); if (error || !mWait) { @@ -26233,7 +26233,7 @@ class SubscribeAttributeFlowMeasurementGeneratedCommandList : public ModelComman [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.GeneratedCommandList response %@", [value description]); @@ -26311,7 +26311,7 @@ class SubscribeAttributeFlowMeasurementAcceptedCommandList : public ModelCommand [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.AcceptedCommandList response %@", [value description]); @@ -26389,7 +26389,7 @@ class SubscribeAttributeFlowMeasurementAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.AttributeList response %@", [value description]); if (error || !mWait) { @@ -26466,7 +26466,7 @@ class SubscribeAttributeFlowMeasurementClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -26732,7 +26732,7 @@ class SubscribeAttributeGeneralCommissioningBreadcrumb : public ModelCommand { [cluster subscribeAttributeBreadcrumbWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.Breadcrumb response %@", [value description]); if (error || !mWait) { @@ -26815,7 +26815,7 @@ class SubscribeAttributeGeneralCommissioningBasicCommissioningInfo : public Mode subscribeAttributeBasicCommissioningInfoWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( CHIPGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, NSError * _Nullable error) { @@ -26899,7 +26899,7 @@ class SubscribeAttributeGeneralCommissioningRegulatoryConfig : public ModelComma [cluster subscribeAttributeRegulatoryConfigWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.RegulatoryConfig response %@", [value description]); @@ -26981,7 +26981,7 @@ class SubscribeAttributeGeneralCommissioningLocationCapability : public ModelCom [cluster subscribeAttributeLocationCapabilityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.LocationCapability response %@", [value description]); @@ -27065,7 +27065,7 @@ class SubscribeAttributeGeneralCommissioningSupportsConcurrentConnection : publi subscribeAttributeSupportsConcurrentConnectionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.SupportsConcurrentConnection response " @"%@", @@ -27148,7 +27148,7 @@ class SubscribeAttributeGeneralCommissioningGeneratedCommandList : public ModelC [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.GeneratedCommandList response %@", [value description]); @@ -27230,7 +27230,7 @@ class SubscribeAttributeGeneralCommissioningAcceptedCommandList : public ModelCo [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.AcceptedCommandList response %@", [value description]); @@ -27312,7 +27312,7 @@ class SubscribeAttributeGeneralCommissioningAttributeList : public ModelCommand [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.AttributeList response %@", [value description]); if (error || !mWait) { @@ -27394,7 +27394,7 @@ class SubscribeAttributeGeneralCommissioningClusterRevision : public ModelComman subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -27502,7 +27502,7 @@ class SubscribeAttributeGeneralDiagnosticsNetworkInterfaces : public ModelComman [cluster subscribeAttributeNetworkInterfacesWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.NetworkInterfaces response %@", [value description]); @@ -27584,7 +27584,7 @@ class SubscribeAttributeGeneralDiagnosticsRebootCount : public ModelCommand { [cluster subscribeAttributeRebootCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.RebootCount response %@", [value description]); if (error || !mWait) { @@ -27665,7 +27665,7 @@ class SubscribeAttributeGeneralDiagnosticsUpTime : public ModelCommand { [cluster subscribeAttributeUpTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.UpTime response %@", [value description]); if (error || !mWait) { @@ -27746,7 +27746,7 @@ class SubscribeAttributeGeneralDiagnosticsTotalOperationalHours : public ModelCo [cluster subscribeAttributeTotalOperationalHoursWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.TotalOperationalHours response %@", [value description]); @@ -27828,7 +27828,7 @@ class SubscribeAttributeGeneralDiagnosticsBootReasons : public ModelCommand { [cluster subscribeAttributeBootReasonsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.BootReasons response %@", [value description]); if (error || !mWait) { @@ -27909,7 +27909,7 @@ class SubscribeAttributeGeneralDiagnosticsActiveHardwareFaults : public ModelCom [cluster subscribeAttributeActiveHardwareFaultsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.ActiveHardwareFaults response %@", [value description]); @@ -27991,7 +27991,7 @@ class SubscribeAttributeGeneralDiagnosticsActiveRadioFaults : public ModelComman [cluster subscribeAttributeActiveRadioFaultsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.ActiveRadioFaults response %@", [value description]); @@ -28073,7 +28073,7 @@ class SubscribeAttributeGeneralDiagnosticsActiveNetworkFaults : public ModelComm [cluster subscribeAttributeActiveNetworkFaultsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.ActiveNetworkFaults response %@", [value description]); @@ -28155,7 +28155,7 @@ class SubscribeAttributeGeneralDiagnosticsGeneratedCommandList : public ModelCom [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.GeneratedCommandList response %@", [value description]); @@ -28237,7 +28237,7 @@ class SubscribeAttributeGeneralDiagnosticsAcceptedCommandList : public ModelComm [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.AcceptedCommandList response %@", [value description]); @@ -28319,7 +28319,7 @@ class SubscribeAttributeGeneralDiagnosticsAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.AttributeList response %@", [value description]); if (error || !mWait) { @@ -28401,7 +28401,7 @@ class SubscribeAttributeGeneralDiagnosticsClusterRevision : public ModelCommand subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -28760,7 +28760,7 @@ class SubscribeAttributeGroupKeyManagementGroupKeyMap : public ModelCommand { [cluster subscribeAttributeGroupKeyMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.GroupKeyMap response %@", [value description]); if (error || !mWait) { @@ -28843,7 +28843,7 @@ class SubscribeAttributeGroupKeyManagementGroupTable : public ModelCommand { [cluster subscribeAttributeGroupTableWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.GroupTable response %@", [value description]); if (error || !mWait) { @@ -28924,7 +28924,7 @@ class SubscribeAttributeGroupKeyManagementMaxGroupsPerFabric : public ModelComma [cluster subscribeAttributeMaxGroupsPerFabricWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.MaxGroupsPerFabric response %@", [value description]); @@ -29006,7 +29006,7 @@ class SubscribeAttributeGroupKeyManagementMaxGroupKeysPerFabric : public ModelCo [cluster subscribeAttributeMaxGroupKeysPerFabricWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.MaxGroupKeysPerFabric response %@", [value description]); @@ -29088,7 +29088,7 @@ class SubscribeAttributeGroupKeyManagementGeneratedCommandList : public ModelCom [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.GeneratedCommandList response %@", [value description]); @@ -29170,7 +29170,7 @@ class SubscribeAttributeGroupKeyManagementAcceptedCommandList : public ModelComm [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.AcceptedCommandList response %@", [value description]); @@ -29252,7 +29252,7 @@ class SubscribeAttributeGroupKeyManagementAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.AttributeList response %@", [value description]); if (error || !mWait) { @@ -29334,7 +29334,7 @@ class SubscribeAttributeGroupKeyManagementClusterRevision : public ModelCommand subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -29664,7 +29664,7 @@ class SubscribeAttributeGroupsNameSupport : public ModelCommand { [cluster subscribeAttributeNameSupportWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Groups.NameSupport response %@", [value description]); if (error || !mWait) { @@ -29741,7 +29741,7 @@ class SubscribeAttributeGroupsGeneratedCommandList : public ModelCommand { [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Groups.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -29818,7 +29818,7 @@ class SubscribeAttributeGroupsAcceptedCommandList : public ModelCommand { [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Groups.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -29895,7 +29895,7 @@ class SubscribeAttributeGroupsAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Groups.AttributeList response %@", [value description]); if (error || !mWait) { @@ -29972,7 +29972,7 @@ class SubscribeAttributeGroupsClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Groups.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -30208,7 +30208,7 @@ class SubscribeAttributeIdentifyIdentifyTime : public ModelCommand { [cluster subscribeAttributeIdentifyTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.IdentifyTime response %@", [value description]); if (error || !mWait) { @@ -30285,7 +30285,7 @@ class SubscribeAttributeIdentifyIdentifyType : public ModelCommand { [cluster subscribeAttributeIdentifyTypeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.IdentifyType response %@", [value description]); if (error || !mWait) { @@ -30363,7 +30363,7 @@ class SubscribeAttributeIdentifyGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -30440,7 +30440,7 @@ class SubscribeAttributeIdentifyAcceptedCommandList : public ModelCommand { [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -30517,7 +30517,7 @@ class SubscribeAttributeIdentifyAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.AttributeList response %@", [value description]); if (error || !mWait) { @@ -30594,7 +30594,7 @@ class SubscribeAttributeIdentifyClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -30696,7 +30696,7 @@ class SubscribeAttributeIlluminanceMeasurementMeasuredValue : public ModelComman subscribeAttributeMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.MeasuredValue response %@", [value description]); if (error || !mWait) { @@ -30777,7 +30777,7 @@ class SubscribeAttributeIlluminanceMeasurementMinMeasuredValue : public ModelCom [cluster subscribeAttributeMinMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.MinMeasuredValue response %@", [value description]); @@ -30859,7 +30859,7 @@ class SubscribeAttributeIlluminanceMeasurementMaxMeasuredValue : public ModelCom [cluster subscribeAttributeMaxMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.MaxMeasuredValue response %@", [value description]); @@ -30941,7 +30941,7 @@ class SubscribeAttributeIlluminanceMeasurementTolerance : public ModelCommand { [cluster subscribeAttributeToleranceWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.Tolerance response %@", [value description]); if (error || !mWait) { @@ -31022,7 +31022,7 @@ class SubscribeAttributeIlluminanceMeasurementLightSensorType : public ModelComm [cluster subscribeAttributeLightSensorTypeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.LightSensorType response %@", [value description]); @@ -31104,7 +31104,7 @@ class SubscribeAttributeIlluminanceMeasurementGeneratedCommandList : public Mode [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.GeneratedCommandList response %@", [value description]); @@ -31186,7 +31186,7 @@ class SubscribeAttributeIlluminanceMeasurementAcceptedCommandList : public Model [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.AcceptedCommandList response %@", [value description]); @@ -31269,7 +31269,7 @@ class SubscribeAttributeIlluminanceMeasurementAttributeList : public ModelComman subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.AttributeList response %@", [value description]); if (error || !mWait) { @@ -31350,7 +31350,7 @@ class SubscribeAttributeIlluminanceMeasurementClusterRevision : public ModelComm [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.ClusterRevision response %@", [value description]); @@ -31481,7 +31481,7 @@ class SubscribeAttributeKeypadInputGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"KeypadInput.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -31559,7 +31559,7 @@ class SubscribeAttributeKeypadInputAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"KeypadInput.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -31636,7 +31636,7 @@ class SubscribeAttributeKeypadInputAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"KeypadInput.AttributeList response %@", [value description]); if (error || !mWait) { @@ -31713,7 +31713,7 @@ class SubscribeAttributeKeypadInputClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"KeypadInput.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -32161,7 +32161,7 @@ class SubscribeAttributeLevelControlCurrentLevel : public ModelCommand { [cluster subscribeAttributeCurrentLevelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.CurrentLevel response %@", [value description]); if (error || !mWait) { @@ -32238,7 +32238,7 @@ class SubscribeAttributeLevelControlRemainingTime : public ModelCommand { [cluster subscribeAttributeRemainingTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.RemainingTime response %@", [value description]); if (error || !mWait) { @@ -32315,7 +32315,7 @@ class SubscribeAttributeLevelControlMinLevel : public ModelCommand { [cluster subscribeAttributeMinLevelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.MinLevel response %@", [value description]); if (error || !mWait) { @@ -32392,7 +32392,7 @@ class SubscribeAttributeLevelControlMaxLevel : public ModelCommand { [cluster subscribeAttributeMaxLevelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.MaxLevel response %@", [value description]); if (error || !mWait) { @@ -32469,7 +32469,7 @@ class SubscribeAttributeLevelControlCurrentFrequency : public ModelCommand { [cluster subscribeAttributeCurrentFrequencyWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.CurrentFrequency response %@", [value description]); if (error || !mWait) { @@ -32546,7 +32546,7 @@ class SubscribeAttributeLevelControlMinFrequency : public ModelCommand { [cluster subscribeAttributeMinFrequencyWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.MinFrequency response %@", [value description]); if (error || !mWait) { @@ -32623,7 +32623,7 @@ class SubscribeAttributeLevelControlMaxFrequency : public ModelCommand { [cluster subscribeAttributeMaxFrequencyWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.MaxFrequency response %@", [value description]); if (error || !mWait) { @@ -32734,7 +32734,7 @@ class SubscribeAttributeLevelControlOptions : public ModelCommand { [cluster subscribeAttributeOptionsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.Options response %@", [value description]); if (error || !mWait) { @@ -32847,7 +32847,7 @@ class SubscribeAttributeLevelControlOnOffTransitionTime : public ModelCommand { subscribeAttributeOnOffTransitionTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.OnOffTransitionTime response %@", [value description]); if (error || !mWait) { @@ -32958,7 +32958,7 @@ class SubscribeAttributeLevelControlOnLevel : public ModelCommand { [cluster subscribeAttributeOnLevelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.OnLevel response %@", [value description]); if (error || !mWait) { @@ -33070,7 +33070,7 @@ class SubscribeAttributeLevelControlOnTransitionTime : public ModelCommand { [cluster subscribeAttributeOnTransitionTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.OnTransitionTime response %@", [value description]); if (error || !mWait) { @@ -33182,7 +33182,7 @@ class SubscribeAttributeLevelControlOffTransitionTime : public ModelCommand { [cluster subscribeAttributeOffTransitionTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.OffTransitionTime response %@", [value description]); if (error || !mWait) { @@ -33294,7 +33294,7 @@ class SubscribeAttributeLevelControlDefaultMoveRate : public ModelCommand { [cluster subscribeAttributeDefaultMoveRateWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.DefaultMoveRate response %@", [value description]); if (error || !mWait) { @@ -33407,7 +33407,7 @@ class SubscribeAttributeLevelControlStartUpCurrentLevel : public ModelCommand { subscribeAttributeStartUpCurrentLevelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.StartUpCurrentLevel response %@", [value description]); if (error || !mWait) { @@ -33484,7 +33484,7 @@ class SubscribeAttributeLevelControlGeneratedCommandList : public ModelCommand { [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.GeneratedCommandList response %@", [value description]); @@ -33563,7 +33563,7 @@ class SubscribeAttributeLevelControlAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -33640,7 +33640,7 @@ class SubscribeAttributeLevelControlAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.AttributeList response %@", [value description]); if (error || !mWait) { @@ -33717,7 +33717,7 @@ class SubscribeAttributeLevelControlFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -33794,7 +33794,7 @@ class SubscribeAttributeLevelControlClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -33932,7 +33932,7 @@ class SubscribeAttributeLocalizationConfigurationActiveLocale : public ModelComm subscribeAttributeActiveLocaleWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.ActiveLocale response %@", [value description]); if (error || !mWait) { @@ -34013,7 +34013,7 @@ class SubscribeAttributeLocalizationConfigurationSupportedLocales : public Model [cluster subscribeAttributeSupportedLocalesWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.SupportedLocales response %@", [value description]); @@ -34095,7 +34095,7 @@ class SubscribeAttributeLocalizationConfigurationGeneratedCommandList : public M [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.GeneratedCommandList response %@", [value description]); @@ -34177,7 +34177,7 @@ class SubscribeAttributeLocalizationConfigurationAcceptedCommandList : public Mo [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.AcceptedCommandList response %@", [value description]); @@ -34259,7 +34259,7 @@ class SubscribeAttributeLocalizationConfigurationClusterRevision : public ModelC [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.ClusterRevision response %@", [value description]); @@ -34383,7 +34383,7 @@ class SubscribeAttributeLowPowerGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LowPower.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -34460,7 +34460,7 @@ class SubscribeAttributeLowPowerAcceptedCommandList : public ModelCommand { [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LowPower.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -34537,7 +34537,7 @@ class SubscribeAttributeLowPowerAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LowPower.AttributeList response %@", [value description]); if (error || !mWait) { @@ -34614,7 +34614,7 @@ class SubscribeAttributeLowPowerClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LowPower.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -34844,7 +34844,7 @@ class SubscribeAttributeMediaInputInputList : public ModelCommand { [cluster subscribeAttributeInputListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.InputList response %@", [value description]); if (error || !mWait) { @@ -34921,7 +34921,7 @@ class SubscribeAttributeMediaInputCurrentInput : public ModelCommand { [cluster subscribeAttributeCurrentInputWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.CurrentInput response %@", [value description]); if (error || !mWait) { @@ -34999,7 +34999,7 @@ class SubscribeAttributeMediaInputGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -35077,7 +35077,7 @@ class SubscribeAttributeMediaInputAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -35154,7 +35154,7 @@ class SubscribeAttributeMediaInputAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.AttributeList response %@", [value description]); if (error || !mWait) { @@ -35231,7 +35231,7 @@ class SubscribeAttributeMediaInputClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -35699,7 +35699,7 @@ class SubscribeAttributeMediaPlaybackCurrentState : public ModelCommand { [cluster subscribeAttributeCurrentStateWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.CurrentState response %@", [value description]); if (error || !mWait) { @@ -35776,7 +35776,7 @@ class SubscribeAttributeMediaPlaybackStartTime : public ModelCommand { [cluster subscribeAttributeStartTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.StartTime response %@", [value description]); if (error || !mWait) { @@ -35853,7 +35853,7 @@ class SubscribeAttributeMediaPlaybackDuration : public ModelCommand { [cluster subscribeAttributeDurationWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.Duration response %@", [value description]); if (error || !mWait) { @@ -35931,7 +35931,7 @@ class SubscribeAttributeMediaPlaybackSampledPosition : public ModelCommand { [cluster subscribeAttributeSampledPositionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(CHIPMediaPlaybackClusterPlaybackPosition * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.SampledPosition response %@", [value description]); @@ -36009,7 +36009,7 @@ class SubscribeAttributeMediaPlaybackPlaybackSpeed : public ModelCommand { [cluster subscribeAttributePlaybackSpeedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.PlaybackSpeed response %@", [value description]); if (error || !mWait) { @@ -36086,7 +36086,7 @@ class SubscribeAttributeMediaPlaybackSeekRangeEnd : public ModelCommand { [cluster subscribeAttributeSeekRangeEndWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.SeekRangeEnd response %@", [value description]); if (error || !mWait) { @@ -36163,7 +36163,7 @@ class SubscribeAttributeMediaPlaybackSeekRangeStart : public ModelCommand { [cluster subscribeAttributeSeekRangeStartWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.SeekRangeStart response %@", [value description]); if (error || !mWait) { @@ -36240,7 +36240,7 @@ class SubscribeAttributeMediaPlaybackGeneratedCommandList : public ModelCommand [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.GeneratedCommandList response %@", [value description]); @@ -36319,7 +36319,7 @@ class SubscribeAttributeMediaPlaybackAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -36396,7 +36396,7 @@ class SubscribeAttributeMediaPlaybackAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.AttributeList response %@", [value description]); if (error || !mWait) { @@ -36473,7 +36473,7 @@ class SubscribeAttributeMediaPlaybackClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -36607,7 +36607,7 @@ class SubscribeAttributeModeSelectDescription : public ModelCommand { [cluster subscribeAttributeDescriptionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.Description response %@", [value description]); if (error || !mWait) { @@ -36684,7 +36684,7 @@ class SubscribeAttributeModeSelectStandardNamespace : public ModelCommand { [cluster subscribeAttributeStandardNamespaceWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.StandardNamespace response %@", [value description]); if (error || !mWait) { @@ -36761,7 +36761,7 @@ class SubscribeAttributeModeSelectSupportedModes : public ModelCommand { [cluster subscribeAttributeSupportedModesWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.SupportedModes response %@", [value description]); if (error || !mWait) { @@ -36838,7 +36838,7 @@ class SubscribeAttributeModeSelectCurrentMode : public ModelCommand { [cluster subscribeAttributeCurrentModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.CurrentMode response %@", [value description]); if (error || !mWait) { @@ -36949,7 +36949,7 @@ class SubscribeAttributeModeSelectStartUpMode : public ModelCommand { [cluster subscribeAttributeStartUpModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.StartUpMode response %@", [value description]); if (error || !mWait) { @@ -37060,7 +37060,7 @@ class SubscribeAttributeModeSelectOnMode : public ModelCommand { [cluster subscribeAttributeOnModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.OnMode response %@", [value description]); if (error || !mWait) { @@ -37138,7 +37138,7 @@ class SubscribeAttributeModeSelectGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -37216,7 +37216,7 @@ class SubscribeAttributeModeSelectAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -37293,7 +37293,7 @@ class SubscribeAttributeModeSelectAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.AttributeList response %@", [value description]); if (error || !mWait) { @@ -37370,7 +37370,7 @@ class SubscribeAttributeModeSelectFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -37447,7 +37447,7 @@ class SubscribeAttributeModeSelectClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -37823,7 +37823,7 @@ class SubscribeAttributeNetworkCommissioningMaxNetworks : public ModelCommand { [cluster subscribeAttributeMaxNetworksWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.MaxNetworks response %@", [value description]); if (error || !mWait) { @@ -37904,7 +37904,7 @@ class SubscribeAttributeNetworkCommissioningNetworks : public ModelCommand { [cluster subscribeAttributeNetworksWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.Networks response %@", [value description]); if (error || !mWait) { @@ -37985,7 +37985,7 @@ class SubscribeAttributeNetworkCommissioningScanMaxTimeSeconds : public ModelCom [cluster subscribeAttributeScanMaxTimeSecondsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.ScanMaxTimeSeconds response %@", [value description]); @@ -38067,7 +38067,7 @@ class SubscribeAttributeNetworkCommissioningConnectMaxTimeSeconds : public Model [cluster subscribeAttributeConnectMaxTimeSecondsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.ConnectMaxTimeSeconds response %@", [value description]); @@ -38186,7 +38186,7 @@ class SubscribeAttributeNetworkCommissioningInterfaceEnabled : public ModelComma [cluster subscribeAttributeInterfaceEnabledWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.InterfaceEnabled response %@", [value description]); @@ -38268,7 +38268,7 @@ class SubscribeAttributeNetworkCommissioningLastNetworkingStatus : public ModelC [cluster subscribeAttributeLastNetworkingStatusWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.LastNetworkingStatus response %@", [value description]); @@ -38350,7 +38350,7 @@ class SubscribeAttributeNetworkCommissioningLastNetworkID : public ModelCommand [cluster subscribeAttributeLastNetworkIDWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.LastNetworkID response %@", [value description]); if (error || !mWait) { @@ -38431,7 +38431,7 @@ class SubscribeAttributeNetworkCommissioningLastConnectErrorValue : public Model [cluster subscribeAttributeLastConnectErrorValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.LastConnectErrorValue response %@", [value description]); @@ -38513,7 +38513,7 @@ class SubscribeAttributeNetworkCommissioningGeneratedCommandList : public ModelC [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.GeneratedCommandList response %@", [value description]); @@ -38595,7 +38595,7 @@ class SubscribeAttributeNetworkCommissioningAcceptedCommandList : public ModelCo [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.AcceptedCommandList response %@", [value description]); @@ -38677,7 +38677,7 @@ class SubscribeAttributeNetworkCommissioningFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -38759,7 +38759,7 @@ class SubscribeAttributeNetworkCommissioningClusterRevision : public ModelComman subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -39021,7 +39021,7 @@ class SubscribeAttributeOtaSoftwareUpdateProviderAttributeList : public ModelCom subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateProvider.AttributeList response %@", [value description]); if (error || !mWait) { @@ -39102,7 +39102,7 @@ class SubscribeAttributeOtaSoftwareUpdateProviderClusterRevision : public ModelC [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateProvider.ClusterRevision response %@", [value description]); @@ -39317,7 +39317,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorDefaultOtaProviders : public M [cluster subscribeAttributeDefaultOtaProvidersWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.DefaultOtaProviders response %@", [value description]); @@ -39399,7 +39399,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorUpdatePossible : public ModelC [cluster subscribeAttributeUpdatePossibleWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.UpdatePossible response %@", [value description]); @@ -39482,7 +39482,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorUpdateState : public ModelComm subscribeAttributeUpdateStateWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.UpdateState response %@", [value description]); if (error || !mWait) { @@ -39563,7 +39563,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorUpdateStateProgress : public M [cluster subscribeAttributeUpdateStateProgressWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.UpdateStateProgress response %@", [value description]); @@ -39645,7 +39645,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorAttributeList : public ModelCo [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.AttributeList response %@", [value description]); @@ -39727,7 +39727,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorClusterRevision : public Model [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.ClusterRevision response %@", [value description]); @@ -39836,7 +39836,7 @@ class SubscribeAttributeOccupancySensingOccupancy : public ModelCommand { [cluster subscribeAttributeOccupancyWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.Occupancy response %@", [value description]); if (error || !mWait) { @@ -39917,7 +39917,7 @@ class SubscribeAttributeOccupancySensingOccupancySensorType : public ModelComman [cluster subscribeAttributeOccupancySensorTypeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.OccupancySensorType response %@", [value description]); @@ -40001,7 +40001,7 @@ class SubscribeAttributeOccupancySensingOccupancySensorTypeBitmap : public Model subscribeAttributeOccupancySensorTypeBitmapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.OccupancySensorTypeBitmap response %@", [value description]); @@ -40083,7 +40083,7 @@ class SubscribeAttributeOccupancySensingGeneratedCommandList : public ModelComma [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.GeneratedCommandList response %@", [value description]); @@ -40165,7 +40165,7 @@ class SubscribeAttributeOccupancySensingAcceptedCommandList : public ModelComman [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.AcceptedCommandList response %@", [value description]); @@ -40247,7 +40247,7 @@ class SubscribeAttributeOccupancySensingAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.AttributeList response %@", [value description]); if (error || !mWait) { @@ -40328,7 +40328,7 @@ class SubscribeAttributeOccupancySensingClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -40629,7 +40629,7 @@ class SubscribeAttributeOnOffOnOff : public ModelCommand { [cluster subscribeAttributeOnOffWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.OnOff response %@", [value description]); if (error || !mWait) { @@ -40706,7 +40706,7 @@ class SubscribeAttributeOnOffGlobalSceneControl : public ModelCommand { [cluster subscribeAttributeGlobalSceneControlWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.GlobalSceneControl response %@", [value description]); if (error || !mWait) { @@ -40817,7 +40817,7 @@ class SubscribeAttributeOnOffOnTime : public ModelCommand { [cluster subscribeAttributeOnTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.OnTime response %@", [value description]); if (error || !mWait) { @@ -40928,7 +40928,7 @@ class SubscribeAttributeOnOffOffWaitTime : public ModelCommand { [cluster subscribeAttributeOffWaitTimeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.OffWaitTime response %@", [value description]); if (error || !mWait) { @@ -41039,7 +41039,7 @@ class SubscribeAttributeOnOffStartUpOnOff : public ModelCommand { [cluster subscribeAttributeStartUpOnOffWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.StartUpOnOff response %@", [value description]); if (error || !mWait) { @@ -41116,7 +41116,7 @@ class SubscribeAttributeOnOffGeneratedCommandList : public ModelCommand { [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -41193,7 +41193,7 @@ class SubscribeAttributeOnOffAcceptedCommandList : public ModelCommand { [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -41270,7 +41270,7 @@ class SubscribeAttributeOnOffAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.AttributeList response %@", [value description]); if (error || !mWait) { @@ -41347,7 +41347,7 @@ class SubscribeAttributeOnOffFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -41424,7 +41424,7 @@ class SubscribeAttributeOnOffClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -41522,7 +41522,7 @@ class SubscribeAttributeOnOffSwitchConfigurationSwitchType : public ModelCommand [cluster subscribeAttributeSwitchTypeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.SwitchType response %@", [value description]); if (error || !mWait) { @@ -41641,7 +41641,7 @@ class SubscribeAttributeOnOffSwitchConfigurationSwitchActions : public ModelComm subscribeAttributeSwitchActionsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.SwitchActions response %@", [value description]); if (error || !mWait) { @@ -41722,7 +41722,7 @@ class SubscribeAttributeOnOffSwitchConfigurationGeneratedCommandList : public Mo [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.GeneratedCommandList response %@", [value description]); @@ -41804,7 +41804,7 @@ class SubscribeAttributeOnOffSwitchConfigurationAcceptedCommandList : public Mod [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.AcceptedCommandList response %@", [value description]); @@ -41887,7 +41887,7 @@ class SubscribeAttributeOnOffSwitchConfigurationAttributeList : public ModelComm subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.AttributeList response %@", [value description]); if (error || !mWait) { @@ -41968,7 +41968,7 @@ class SubscribeAttributeOnOffSwitchConfigurationClusterRevision : public ModelCo [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.ClusterRevision response %@", [value description]); @@ -42451,7 +42451,7 @@ class SubscribeAttributeOperationalCredentialsNOCs : public ModelCommand { [cluster subscribeAttributeNOCsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.NOCs response %@", [value description]); if (error || !mWait) { @@ -42534,7 +42534,7 @@ class SubscribeAttributeOperationalCredentialsFabrics : public ModelCommand { [cluster subscribeAttributeFabricsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.Fabrics response %@", [value description]); if (error || !mWait) { @@ -42615,7 +42615,7 @@ class SubscribeAttributeOperationalCredentialsSupportedFabrics : public ModelCom [cluster subscribeAttributeSupportedFabricsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.SupportedFabrics response %@", [value description]); @@ -42697,7 +42697,7 @@ class SubscribeAttributeOperationalCredentialsCommissionedFabrics : public Model [cluster subscribeAttributeCommissionedFabricsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.CommissionedFabrics response %@", [value description]); @@ -42779,7 +42779,7 @@ class SubscribeAttributeOperationalCredentialsTrustedRootCertificates : public M [cluster subscribeAttributeTrustedRootCertificatesWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.TrustedRootCertificates response %@", [value description]); @@ -42861,7 +42861,7 @@ class SubscribeAttributeOperationalCredentialsCurrentFabricIndex : public ModelC [cluster subscribeAttributeCurrentFabricIndexWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.CurrentFabricIndex response %@", [value description]); @@ -42943,7 +42943,7 @@ class SubscribeAttributeOperationalCredentialsGeneratedCommandList : public Mode [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.GeneratedCommandList response %@", [value description]); @@ -43025,7 +43025,7 @@ class SubscribeAttributeOperationalCredentialsAcceptedCommandList : public Model [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.AcceptedCommandList response %@", [value description]); @@ -43108,7 +43108,7 @@ class SubscribeAttributeOperationalCredentialsAttributeList : public ModelComman subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.AttributeList response %@", [value description]); if (error || !mWait) { @@ -43189,7 +43189,7 @@ class SubscribeAttributeOperationalCredentialsClusterRevision : public ModelComm [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.ClusterRevision response %@", [value description]); @@ -43313,7 +43313,7 @@ class SubscribeAttributePowerSourceStatus : public ModelCommand { [cluster subscribeAttributeStatusWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.Status response %@", [value description]); if (error || !mWait) { @@ -43390,7 +43390,7 @@ class SubscribeAttributePowerSourceOrder : public ModelCommand { [cluster subscribeAttributeOrderWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.Order response %@", [value description]); if (error || !mWait) { @@ -43467,7 +43467,7 @@ class SubscribeAttributePowerSourceDescription : public ModelCommand { [cluster subscribeAttributeDescriptionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.Description response %@", [value description]); if (error || !mWait) { @@ -43544,7 +43544,7 @@ class SubscribeAttributePowerSourceBatteryVoltage : public ModelCommand { [cluster subscribeAttributeBatteryVoltageWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatteryVoltage response %@", [value description]); if (error || !mWait) { @@ -43622,7 +43622,7 @@ class SubscribeAttributePowerSourceBatteryPercentRemaining : public ModelCommand [cluster subscribeAttributeBatteryPercentRemainingWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatteryPercentRemaining response %@", [value description]); @@ -43701,7 +43701,7 @@ class SubscribeAttributePowerSourceBatteryTimeRemaining : public ModelCommand { subscribeAttributeBatteryTimeRemainingWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatteryTimeRemaining response %@", [value description]); if (error || !mWait) { @@ -43779,7 +43779,7 @@ class SubscribeAttributePowerSourceBatteryChargeLevel : public ModelCommand { subscribeAttributeBatteryChargeLevelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatteryChargeLevel response %@", [value description]); if (error || !mWait) { @@ -43857,7 +43857,7 @@ class SubscribeAttributePowerSourceActiveBatteryFaults : public ModelCommand { subscribeAttributeActiveBatteryFaultsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.ActiveBatteryFaults response %@", [value description]); if (error || !mWait) { @@ -43935,7 +43935,7 @@ class SubscribeAttributePowerSourceBatteryChargeState : public ModelCommand { subscribeAttributeBatteryChargeStateWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatteryChargeState response %@", [value description]); if (error || !mWait) { @@ -44013,7 +44013,7 @@ class SubscribeAttributePowerSourceGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -44091,7 +44091,7 @@ class SubscribeAttributePowerSourceAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -44168,7 +44168,7 @@ class SubscribeAttributePowerSourceAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.AttributeList response %@", [value description]); if (error || !mWait) { @@ -44245,7 +44245,7 @@ class SubscribeAttributePowerSourceFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -44322,7 +44322,7 @@ class SubscribeAttributePowerSourceClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -44419,7 +44419,7 @@ class SubscribeAttributePowerSourceConfigurationSources : public ModelCommand { [cluster subscribeAttributeSourcesWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSourceConfiguration.Sources response %@", [value description]); if (error || !mWait) { @@ -44500,7 +44500,7 @@ class SubscribeAttributePowerSourceConfigurationGeneratedCommandList : public Mo [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSourceConfiguration.GeneratedCommandList response %@", [value description]); @@ -44582,7 +44582,7 @@ class SubscribeAttributePowerSourceConfigurationAcceptedCommandList : public Mod [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSourceConfiguration.AcceptedCommandList response %@", [value description]); @@ -44665,7 +44665,7 @@ class SubscribeAttributePowerSourceConfigurationAttributeList : public ModelComm subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSourceConfiguration.AttributeList response %@", [value description]); if (error || !mWait) { @@ -44746,7 +44746,7 @@ class SubscribeAttributePowerSourceConfigurationClusterRevision : public ModelCo [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSourceConfiguration.ClusterRevision response %@", [value description]); @@ -44852,7 +44852,7 @@ class SubscribeAttributePressureMeasurementMeasuredValue : public ModelCommand { [cluster subscribeAttributeMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.MeasuredValue response %@", [value description]); if (error || !mWait) { @@ -44934,7 +44934,7 @@ class SubscribeAttributePressureMeasurementMinMeasuredValue : public ModelComman subscribeAttributeMinMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.MinMeasuredValue response %@", [value description]); if (error || !mWait) { @@ -45016,7 +45016,7 @@ class SubscribeAttributePressureMeasurementMaxMeasuredValue : public ModelComman subscribeAttributeMaxMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.MaxMeasuredValue response %@", [value description]); if (error || !mWait) { @@ -45097,7 +45097,7 @@ class SubscribeAttributePressureMeasurementAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.AttributeList response %@", [value description]); if (error || !mWait) { @@ -45179,7 +45179,7 @@ class SubscribeAttributePressureMeasurementClusterRevision : public ModelCommand subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -45317,7 +45317,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxPressure : public ModelCom subscribeAttributeMaxPressureWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxPressure response %@", [value description]); if (error || !mWait) { @@ -45398,7 +45398,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxSpeed : public ModelComman [cluster subscribeAttributeMaxSpeedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxSpeed response %@", [value description]); if (error || !mWait) { @@ -45479,7 +45479,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxFlow : public ModelCommand [cluster subscribeAttributeMaxFlowWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxFlow response %@", [value description]); if (error || !mWait) { @@ -45560,7 +45560,7 @@ class SubscribeAttributePumpConfigurationAndControlMinConstPressure : public Mod [cluster subscribeAttributeMinConstPressureWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MinConstPressure response %@", [value description]); @@ -45642,7 +45642,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxConstPressure : public Mod [cluster subscribeAttributeMaxConstPressureWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxConstPressure response %@", [value description]); @@ -45724,7 +45724,7 @@ class SubscribeAttributePumpConfigurationAndControlMinCompPressure : public Mode [cluster subscribeAttributeMinCompPressureWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MinCompPressure response %@", [value description]); @@ -45806,7 +45806,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxCompPressure : public Mode [cluster subscribeAttributeMaxCompPressureWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxCompPressure response %@", [value description]); @@ -45888,7 +45888,7 @@ class SubscribeAttributePumpConfigurationAndControlMinConstSpeed : public ModelC [cluster subscribeAttributeMinConstSpeedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MinConstSpeed response %@", [value description]); @@ -45970,7 +45970,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxConstSpeed : public ModelC [cluster subscribeAttributeMaxConstSpeedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxConstSpeed response %@", [value description]); @@ -46053,7 +46053,7 @@ class SubscribeAttributePumpConfigurationAndControlMinConstFlow : public ModelCo subscribeAttributeMinConstFlowWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MinConstFlow response %@", [value description]); if (error || !mWait) { @@ -46135,7 +46135,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxConstFlow : public ModelCo subscribeAttributeMaxConstFlowWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxConstFlow response %@", [value description]); if (error || !mWait) { @@ -46217,7 +46217,7 @@ class SubscribeAttributePumpConfigurationAndControlMinConstTemp : public ModelCo subscribeAttributeMinConstTempWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MinConstTemp response %@", [value description]); if (error || !mWait) { @@ -46299,7 +46299,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxConstTemp : public ModelCo subscribeAttributeMaxConstTempWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxConstTemp response %@", [value description]); if (error || !mWait) { @@ -46381,7 +46381,7 @@ class SubscribeAttributePumpConfigurationAndControlPumpStatus : public ModelComm subscribeAttributePumpStatusWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.PumpStatus response %@", [value description]); if (error || !mWait) { @@ -46463,7 +46463,7 @@ class SubscribeAttributePumpConfigurationAndControlEffectiveOperationMode : publ subscribeAttributeEffectiveOperationModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.EffectiveOperationMode response %@", [value description]); @@ -46545,7 +46545,7 @@ class SubscribeAttributePumpConfigurationAndControlEffectiveControlMode : public [cluster subscribeAttributeEffectiveControlModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.EffectiveControlMode response %@", [value description]); @@ -46627,7 +46627,7 @@ class SubscribeAttributePumpConfigurationAndControlCapacity : public ModelComman [cluster subscribeAttributeCapacityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.Capacity response %@", [value description]); if (error || !mWait) { @@ -46708,7 +46708,7 @@ class SubscribeAttributePumpConfigurationAndControlSpeed : public ModelCommand { [cluster subscribeAttributeSpeedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.Speed response %@", [value description]); if (error || !mWait) { @@ -46826,7 +46826,7 @@ class SubscribeAttributePumpConfigurationAndControlLifetimeRunningHours : public [cluster subscribeAttributeLifetimeRunningHoursWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.LifetimeRunningHours response %@", [value description]); @@ -46908,7 +46908,7 @@ class SubscribeAttributePumpConfigurationAndControlPower : public ModelCommand { [cluster subscribeAttributePowerWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.Power response %@", [value description]); if (error || !mWait) { @@ -47028,7 +47028,7 @@ class SubscribeAttributePumpConfigurationAndControlLifetimeEnergyConsumed : publ subscribeAttributeLifetimeEnergyConsumedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.LifetimeEnergyConsumed response %@", [value description]); @@ -47147,7 +47147,7 @@ class SubscribeAttributePumpConfigurationAndControlOperationMode : public ModelC [cluster subscribeAttributeOperationModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.OperationMode response %@", [value description]); @@ -47267,7 +47267,7 @@ class SubscribeAttributePumpConfigurationAndControlControlMode : public ModelCom subscribeAttributeControlModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.ControlMode response %@", [value description]); if (error || !mWait) { @@ -47348,7 +47348,7 @@ class SubscribeAttributePumpConfigurationAndControlAlarmMask : public ModelComma [cluster subscribeAttributeAlarmMaskWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.AlarmMask response %@", [value description]); if (error || !mWait) { @@ -47429,7 +47429,7 @@ class SubscribeAttributePumpConfigurationAndControlGeneratedCommandList : public [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.GeneratedCommandList response %@", [value description]); @@ -47511,7 +47511,7 @@ class SubscribeAttributePumpConfigurationAndControlAcceptedCommandList : public [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.AcceptedCommandList response %@", [value description]); @@ -47593,7 +47593,7 @@ class SubscribeAttributePumpConfigurationAndControlAttributeList : public ModelC [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.AttributeList response %@", [value description]); @@ -47676,7 +47676,7 @@ class SubscribeAttributePumpConfigurationAndControlFeatureMap : public ModelComm subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -47757,7 +47757,7 @@ class SubscribeAttributePumpConfigurationAndControlClusterRevision : public Mode [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.ClusterRevision response %@", [value description]); @@ -47858,7 +47858,7 @@ class SubscribeAttributeRelativeHumidityMeasurementMeasuredValue : public ModelC [cluster subscribeAttributeMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.MeasuredValue response %@", [value description]); @@ -47940,7 +47940,7 @@ class SubscribeAttributeRelativeHumidityMeasurementMinMeasuredValue : public Mod [cluster subscribeAttributeMinMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.MinMeasuredValue response %@", [value description]); @@ -48022,7 +48022,7 @@ class SubscribeAttributeRelativeHumidityMeasurementMaxMeasuredValue : public Mod [cluster subscribeAttributeMaxMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.MaxMeasuredValue response %@", [value description]); @@ -48104,7 +48104,7 @@ class SubscribeAttributeRelativeHumidityMeasurementTolerance : public ModelComma [cluster subscribeAttributeToleranceWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.Tolerance response %@", [value description]); if (error || !mWait) { @@ -48185,7 +48185,7 @@ class SubscribeAttributeRelativeHumidityMeasurementGeneratedCommandList : public [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.GeneratedCommandList response %@", [value description]); @@ -48267,7 +48267,7 @@ class SubscribeAttributeRelativeHumidityMeasurementAcceptedCommandList : public [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.AcceptedCommandList response %@", [value description]); @@ -48349,7 +48349,7 @@ class SubscribeAttributeRelativeHumidityMeasurementAttributeList : public ModelC [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.AttributeList response %@", [value description]); @@ -48431,7 +48431,7 @@ class SubscribeAttributeRelativeHumidityMeasurementClusterRevision : public Mode [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.ClusterRevision response %@", [value description]); @@ -48845,7 +48845,7 @@ class SubscribeAttributeScenesSceneCount : public ModelCommand { [cluster subscribeAttributeSceneCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.SceneCount response %@", [value description]); if (error || !mWait) { @@ -48922,7 +48922,7 @@ class SubscribeAttributeScenesCurrentScene : public ModelCommand { [cluster subscribeAttributeCurrentSceneWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.CurrentScene response %@", [value description]); if (error || !mWait) { @@ -48999,7 +48999,7 @@ class SubscribeAttributeScenesCurrentGroup : public ModelCommand { [cluster subscribeAttributeCurrentGroupWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.CurrentGroup response %@", [value description]); if (error || !mWait) { @@ -49076,7 +49076,7 @@ class SubscribeAttributeScenesSceneValid : public ModelCommand { [cluster subscribeAttributeSceneValidWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.SceneValid response %@", [value description]); if (error || !mWait) { @@ -49153,7 +49153,7 @@ class SubscribeAttributeScenesNameSupport : public ModelCommand { [cluster subscribeAttributeNameSupportWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.NameSupport response %@", [value description]); if (error || !mWait) { @@ -49230,7 +49230,7 @@ class SubscribeAttributeScenesGeneratedCommandList : public ModelCommand { [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -49307,7 +49307,7 @@ class SubscribeAttributeScenesAcceptedCommandList : public ModelCommand { [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -49384,7 +49384,7 @@ class SubscribeAttributeScenesAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.AttributeList response %@", [value description]); if (error || !mWait) { @@ -49461,7 +49461,7 @@ class SubscribeAttributeScenesClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -49594,7 +49594,7 @@ class SubscribeAttributeSoftwareDiagnosticsThreadMetrics : public ModelCommand { [cluster subscribeAttributeThreadMetricsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.ThreadMetrics response %@", [value description]); if (error || !mWait) { @@ -49676,7 +49676,7 @@ class SubscribeAttributeSoftwareDiagnosticsCurrentHeapFree : public ModelCommand subscribeAttributeCurrentHeapFreeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.CurrentHeapFree response %@", [value description]); if (error || !mWait) { @@ -49758,7 +49758,7 @@ class SubscribeAttributeSoftwareDiagnosticsCurrentHeapUsed : public ModelCommand subscribeAttributeCurrentHeapUsedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.CurrentHeapUsed response %@", [value description]); if (error || !mWait) { @@ -49841,7 +49841,7 @@ class SubscribeAttributeSoftwareDiagnosticsCurrentHeapHighWatermark : public Mod subscribeAttributeCurrentHeapHighWatermarkWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.CurrentHeapHighWatermark response %@", [value description]); @@ -49923,7 +49923,7 @@ class SubscribeAttributeSoftwareDiagnosticsGeneratedCommandList : public ModelCo [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.GeneratedCommandList response %@", [value description]); @@ -50005,7 +50005,7 @@ class SubscribeAttributeSoftwareDiagnosticsAcceptedCommandList : public ModelCom [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.AcceptedCommandList response %@", [value description]); @@ -50087,7 +50087,7 @@ class SubscribeAttributeSoftwareDiagnosticsAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.AttributeList response %@", [value description]); if (error || !mWait) { @@ -50168,7 +50168,7 @@ class SubscribeAttributeSoftwareDiagnosticsFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -50250,7 +50250,7 @@ class SubscribeAttributeSoftwareDiagnosticsClusterRevision : public ModelCommand subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -50352,7 +50352,7 @@ class SubscribeAttributeSwitchNumberOfPositions : public ModelCommand { [cluster subscribeAttributeNumberOfPositionsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.NumberOfPositions response %@", [value description]); if (error || !mWait) { @@ -50429,7 +50429,7 @@ class SubscribeAttributeSwitchCurrentPosition : public ModelCommand { [cluster subscribeAttributeCurrentPositionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.CurrentPosition response %@", [value description]); if (error || !mWait) { @@ -50506,7 +50506,7 @@ class SubscribeAttributeSwitchMultiPressMax : public ModelCommand { [cluster subscribeAttributeMultiPressMaxWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.MultiPressMax response %@", [value description]); if (error || !mWait) { @@ -50583,7 +50583,7 @@ class SubscribeAttributeSwitchGeneratedCommandList : public ModelCommand { [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -50660,7 +50660,7 @@ class SubscribeAttributeSwitchAcceptedCommandList : public ModelCommand { [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -50737,7 +50737,7 @@ class SubscribeAttributeSwitchAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.AttributeList response %@", [value description]); if (error || !mWait) { @@ -50814,7 +50814,7 @@ class SubscribeAttributeSwitchFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -50891,7 +50891,7 @@ class SubscribeAttributeSwitchClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -51027,7 +51027,7 @@ class SubscribeAttributeTargetNavigatorTargetList : public ModelCommand { [cluster subscribeAttributeTargetListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.TargetList response %@", [value description]); if (error || !mWait) { @@ -51104,7 +51104,7 @@ class SubscribeAttributeTargetNavigatorCurrentTarget : public ModelCommand { [cluster subscribeAttributeCurrentTargetWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.CurrentTarget response %@", [value description]); if (error || !mWait) { @@ -51181,7 +51181,7 @@ class SubscribeAttributeTargetNavigatorGeneratedCommandList : public ModelComman [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.GeneratedCommandList response %@", [value description]); @@ -51259,7 +51259,7 @@ class SubscribeAttributeTargetNavigatorAcceptedCommandList : public ModelCommand [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.AcceptedCommandList response %@", [value description]); @@ -51337,7 +51337,7 @@ class SubscribeAttributeTargetNavigatorAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.AttributeList response %@", [value description]); if (error || !mWait) { @@ -51414,7 +51414,7 @@ class SubscribeAttributeTargetNavigatorClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -51515,7 +51515,7 @@ class SubscribeAttributeTemperatureMeasurementMeasuredValue : public ModelComman subscribeAttributeMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.MeasuredValue response %@", [value description]); if (error || !mWait) { @@ -51596,7 +51596,7 @@ class SubscribeAttributeTemperatureMeasurementMinMeasuredValue : public ModelCom [cluster subscribeAttributeMinMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.MinMeasuredValue response %@", [value description]); @@ -51678,7 +51678,7 @@ class SubscribeAttributeTemperatureMeasurementMaxMeasuredValue : public ModelCom [cluster subscribeAttributeMaxMeasuredValueWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.MaxMeasuredValue response %@", [value description]); @@ -51760,7 +51760,7 @@ class SubscribeAttributeTemperatureMeasurementTolerance : public ModelCommand { [cluster subscribeAttributeToleranceWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.Tolerance response %@", [value description]); if (error || !mWait) { @@ -51842,7 +51842,7 @@ class SubscribeAttributeTemperatureMeasurementAttributeList : public ModelComman subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.AttributeList response %@", [value description]); if (error || !mWait) { @@ -51923,7 +51923,7 @@ class SubscribeAttributeTemperatureMeasurementClusterRevision : public ModelComm [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.ClusterRevision response %@", [value description]); @@ -53010,7 +53010,7 @@ class SubscribeAttributeTestClusterBoolean : public ModelCommand { [cluster subscribeAttributeBooleanWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Boolean response %@", [value description]); if (error || !mWait) { @@ -53121,7 +53121,7 @@ class SubscribeAttributeTestClusterBitmap8 : public ModelCommand { [cluster subscribeAttributeBitmap8WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Bitmap8 response %@", [value description]); if (error || !mWait) { @@ -53232,7 +53232,7 @@ class SubscribeAttributeTestClusterBitmap16 : public ModelCommand { [cluster subscribeAttributeBitmap16WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Bitmap16 response %@", [value description]); if (error || !mWait) { @@ -53343,7 +53343,7 @@ class SubscribeAttributeTestClusterBitmap32 : public ModelCommand { [cluster subscribeAttributeBitmap32WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Bitmap32 response %@", [value description]); if (error || !mWait) { @@ -53454,7 +53454,7 @@ class SubscribeAttributeTestClusterBitmap64 : public ModelCommand { [cluster subscribeAttributeBitmap64WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Bitmap64 response %@", [value description]); if (error || !mWait) { @@ -53565,7 +53565,7 @@ class SubscribeAttributeTestClusterInt8u : public ModelCommand { [cluster subscribeAttributeInt8uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int8u response %@", [value description]); if (error || !mWait) { @@ -53676,7 +53676,7 @@ class SubscribeAttributeTestClusterInt16u : public ModelCommand { [cluster subscribeAttributeInt16uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int16u response %@", [value description]); if (error || !mWait) { @@ -53787,7 +53787,7 @@ class SubscribeAttributeTestClusterInt24u : public ModelCommand { [cluster subscribeAttributeInt24uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int24u response %@", [value description]); if (error || !mWait) { @@ -53898,7 +53898,7 @@ class SubscribeAttributeTestClusterInt32u : public ModelCommand { [cluster subscribeAttributeInt32uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int32u response %@", [value description]); if (error || !mWait) { @@ -54009,7 +54009,7 @@ class SubscribeAttributeTestClusterInt40u : public ModelCommand { [cluster subscribeAttributeInt40uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int40u response %@", [value description]); if (error || !mWait) { @@ -54120,7 +54120,7 @@ class SubscribeAttributeTestClusterInt48u : public ModelCommand { [cluster subscribeAttributeInt48uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int48u response %@", [value description]); if (error || !mWait) { @@ -54231,7 +54231,7 @@ class SubscribeAttributeTestClusterInt56u : public ModelCommand { [cluster subscribeAttributeInt56uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int56u response %@", [value description]); if (error || !mWait) { @@ -54342,7 +54342,7 @@ class SubscribeAttributeTestClusterInt64u : public ModelCommand { [cluster subscribeAttributeInt64uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int64u response %@", [value description]); if (error || !mWait) { @@ -54453,7 +54453,7 @@ class SubscribeAttributeTestClusterInt8s : public ModelCommand { [cluster subscribeAttributeInt8sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int8s response %@", [value description]); if (error || !mWait) { @@ -54564,7 +54564,7 @@ class SubscribeAttributeTestClusterInt16s : public ModelCommand { [cluster subscribeAttributeInt16sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int16s response %@", [value description]); if (error || !mWait) { @@ -54675,7 +54675,7 @@ class SubscribeAttributeTestClusterInt24s : public ModelCommand { [cluster subscribeAttributeInt24sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int24s response %@", [value description]); if (error || !mWait) { @@ -54786,7 +54786,7 @@ class SubscribeAttributeTestClusterInt32s : public ModelCommand { [cluster subscribeAttributeInt32sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int32s response %@", [value description]); if (error || !mWait) { @@ -54897,7 +54897,7 @@ class SubscribeAttributeTestClusterInt40s : public ModelCommand { [cluster subscribeAttributeInt40sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int40s response %@", [value description]); if (error || !mWait) { @@ -55008,7 +55008,7 @@ class SubscribeAttributeTestClusterInt48s : public ModelCommand { [cluster subscribeAttributeInt48sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int48s response %@", [value description]); if (error || !mWait) { @@ -55119,7 +55119,7 @@ class SubscribeAttributeTestClusterInt56s : public ModelCommand { [cluster subscribeAttributeInt56sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int56s response %@", [value description]); if (error || !mWait) { @@ -55230,7 +55230,7 @@ class SubscribeAttributeTestClusterInt64s : public ModelCommand { [cluster subscribeAttributeInt64sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int64s response %@", [value description]); if (error || !mWait) { @@ -55341,7 +55341,7 @@ class SubscribeAttributeTestClusterEnum8 : public ModelCommand { [cluster subscribeAttributeEnum8WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Enum8 response %@", [value description]); if (error || !mWait) { @@ -55452,7 +55452,7 @@ class SubscribeAttributeTestClusterEnum16 : public ModelCommand { [cluster subscribeAttributeEnum16WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Enum16 response %@", [value description]); if (error || !mWait) { @@ -55563,7 +55563,7 @@ class SubscribeAttributeTestClusterFloatSingle : public ModelCommand { [cluster subscribeAttributeFloatSingleWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.FloatSingle response %@", [value description]); if (error || !mWait) { @@ -55674,7 +55674,7 @@ class SubscribeAttributeTestClusterFloatDouble : public ModelCommand { [cluster subscribeAttributeFloatDoubleWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.FloatDouble response %@", [value description]); if (error || !mWait) { @@ -55785,7 +55785,7 @@ class SubscribeAttributeTestClusterOctetString : public ModelCommand { [cluster subscribeAttributeOctetStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.OctetString response %@", [value description]); if (error || !mWait) { @@ -55907,7 +55907,7 @@ class SubscribeAttributeTestClusterListInt8u : public ModelCommand { [cluster subscribeAttributeListInt8uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ListInt8u response %@", [value description]); if (error || !mWait) { @@ -56030,7 +56030,7 @@ class SubscribeAttributeTestClusterListOctetString : public ModelCommand { [cluster subscribeAttributeListOctetStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ListOctetString response %@", [value description]); if (error || !mWait) { @@ -56157,7 +56157,7 @@ class SubscribeAttributeTestClusterListStructOctetString : public ModelCommand { [cluster subscribeAttributeListStructOctetStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ListStructOctetString response %@", [value description]); @@ -56270,7 +56270,7 @@ class SubscribeAttributeTestClusterLongOctetString : public ModelCommand { [cluster subscribeAttributeLongOctetStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.LongOctetString response %@", [value description]); if (error || !mWait) { @@ -56383,7 +56383,7 @@ class SubscribeAttributeTestClusterCharString : public ModelCommand { [cluster subscribeAttributeCharStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.CharString response %@", [value description]); if (error || !mWait) { @@ -56496,7 +56496,7 @@ class SubscribeAttributeTestClusterLongCharString : public ModelCommand { [cluster subscribeAttributeLongCharStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.LongCharString response %@", [value description]); if (error || !mWait) { @@ -56607,7 +56607,7 @@ class SubscribeAttributeTestClusterEpochUs : public ModelCommand { [cluster subscribeAttributeEpochUsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.EpochUs response %@", [value description]); if (error || !mWait) { @@ -56718,7 +56718,7 @@ class SubscribeAttributeTestClusterEpochS : public ModelCommand { [cluster subscribeAttributeEpochSWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.EpochS response %@", [value description]); if (error || !mWait) { @@ -56829,7 +56829,7 @@ class SubscribeAttributeTestClusterVendorId : public ModelCommand { [cluster subscribeAttributeVendorIdWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.VendorId response %@", [value description]); if (error || !mWait) { @@ -57108,7 +57108,7 @@ class SubscribeAttributeTestClusterListNullablesAndOptionalsStruct : public Mode subscribeAttributeListNullablesAndOptionalsStructWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ListNullablesAndOptionalsStruct response %@", @@ -57221,7 +57221,7 @@ class SubscribeAttributeTestClusterEnumAttr : public ModelCommand { [cluster subscribeAttributeEnumAttrWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.EnumAttr response %@", [value description]); if (error || !mWait) { @@ -57344,7 +57344,7 @@ class SubscribeAttributeTestClusterStructAttr : public ModelCommand { [cluster subscribeAttributeStructAttrWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(CHIPTestClusterClusterSimpleStruct * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.StructAttr response %@", [value description]); @@ -57458,7 +57458,7 @@ class SubscribeAttributeTestClusterRangeRestrictedInt8u : public ModelCommand { subscribeAttributeRangeRestrictedInt8uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.RangeRestrictedInt8u response %@", [value description]); if (error || !mWait) { @@ -57571,7 +57571,7 @@ class SubscribeAttributeTestClusterRangeRestrictedInt8s : public ModelCommand { subscribeAttributeRangeRestrictedInt8sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.RangeRestrictedInt8s response %@", [value description]); if (error || !mWait) { @@ -57683,7 +57683,7 @@ class SubscribeAttributeTestClusterRangeRestrictedInt16u : public ModelCommand { [cluster subscribeAttributeRangeRestrictedInt16uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.RangeRestrictedInt16u response %@", [value description]); @@ -57796,7 +57796,7 @@ class SubscribeAttributeTestClusterRangeRestrictedInt16s : public ModelCommand { [cluster subscribeAttributeRangeRestrictedInt16sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.RangeRestrictedInt16s response %@", [value description]); @@ -57921,7 +57921,7 @@ class SubscribeAttributeTestClusterListLongOctetString : public ModelCommand { subscribeAttributeListLongOctetStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ListLongOctetString response %@", [value description]); if (error || !mWait) { @@ -58096,7 +58096,7 @@ class SubscribeAttributeTestClusterListFabricScoped : public ModelCommand { [cluster subscribeAttributeListFabricScopedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ListFabricScoped response %@", [value description]); if (error || !mWait) { @@ -58208,7 +58208,7 @@ class SubscribeAttributeTestClusterTimedWriteBoolean : public ModelCommand { [cluster subscribeAttributeTimedWriteBooleanWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.TimedWriteBoolean response %@", [value description]); if (error || !mWait) { @@ -58321,7 +58321,7 @@ class SubscribeAttributeTestClusterGeneralErrorBoolean : public ModelCommand { subscribeAttributeGeneralErrorBooleanWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.GeneralErrorBoolean response %@", [value description]); if (error || !mWait) { @@ -58434,7 +58434,7 @@ class SubscribeAttributeTestClusterClusterErrorBoolean : public ModelCommand { subscribeAttributeClusterErrorBooleanWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ClusterErrorBoolean response %@", [value description]); if (error || !mWait) { @@ -58545,7 +58545,7 @@ class SubscribeAttributeTestClusterUnsupported : public ModelCommand { [cluster subscribeAttributeUnsupportedWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Unsupported response %@", [value description]); if (error || !mWait) { @@ -58657,7 +58657,7 @@ class SubscribeAttributeTestClusterNullableBoolean : public ModelCommand { [cluster subscribeAttributeNullableBooleanWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableBoolean response %@", [value description]); if (error || !mWait) { @@ -58769,7 +58769,7 @@ class SubscribeAttributeTestClusterNullableBitmap8 : public ModelCommand { [cluster subscribeAttributeNullableBitmap8WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableBitmap8 response %@", [value description]); if (error || !mWait) { @@ -58881,7 +58881,7 @@ class SubscribeAttributeTestClusterNullableBitmap16 : public ModelCommand { [cluster subscribeAttributeNullableBitmap16WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableBitmap16 response %@", [value description]); if (error || !mWait) { @@ -58993,7 +58993,7 @@ class SubscribeAttributeTestClusterNullableBitmap32 : public ModelCommand { [cluster subscribeAttributeNullableBitmap32WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableBitmap32 response %@", [value description]); if (error || !mWait) { @@ -59105,7 +59105,7 @@ class SubscribeAttributeTestClusterNullableBitmap64 : public ModelCommand { [cluster subscribeAttributeNullableBitmap64WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableBitmap64 response %@", [value description]); if (error || !mWait) { @@ -59216,7 +59216,7 @@ class SubscribeAttributeTestClusterNullableInt8u : public ModelCommand { [cluster subscribeAttributeNullableInt8uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt8u response %@", [value description]); if (error || !mWait) { @@ -59327,7 +59327,7 @@ class SubscribeAttributeTestClusterNullableInt16u : public ModelCommand { [cluster subscribeAttributeNullableInt16uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt16u response %@", [value description]); if (error || !mWait) { @@ -59438,7 +59438,7 @@ class SubscribeAttributeTestClusterNullableInt24u : public ModelCommand { [cluster subscribeAttributeNullableInt24uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt24u response %@", [value description]); if (error || !mWait) { @@ -59549,7 +59549,7 @@ class SubscribeAttributeTestClusterNullableInt32u : public ModelCommand { [cluster subscribeAttributeNullableInt32uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt32u response %@", [value description]); if (error || !mWait) { @@ -59660,7 +59660,7 @@ class SubscribeAttributeTestClusterNullableInt40u : public ModelCommand { [cluster subscribeAttributeNullableInt40uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt40u response %@", [value description]); if (error || !mWait) { @@ -59771,7 +59771,7 @@ class SubscribeAttributeTestClusterNullableInt48u : public ModelCommand { [cluster subscribeAttributeNullableInt48uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt48u response %@", [value description]); if (error || !mWait) { @@ -59882,7 +59882,7 @@ class SubscribeAttributeTestClusterNullableInt56u : public ModelCommand { [cluster subscribeAttributeNullableInt56uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt56u response %@", [value description]); if (error || !mWait) { @@ -59993,7 +59993,7 @@ class SubscribeAttributeTestClusterNullableInt64u : public ModelCommand { [cluster subscribeAttributeNullableInt64uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt64u response %@", [value description]); if (error || !mWait) { @@ -60104,7 +60104,7 @@ class SubscribeAttributeTestClusterNullableInt8s : public ModelCommand { [cluster subscribeAttributeNullableInt8sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt8s response %@", [value description]); if (error || !mWait) { @@ -60215,7 +60215,7 @@ class SubscribeAttributeTestClusterNullableInt16s : public ModelCommand { [cluster subscribeAttributeNullableInt16sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt16s response %@", [value description]); if (error || !mWait) { @@ -60326,7 +60326,7 @@ class SubscribeAttributeTestClusterNullableInt24s : public ModelCommand { [cluster subscribeAttributeNullableInt24sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt24s response %@", [value description]); if (error || !mWait) { @@ -60437,7 +60437,7 @@ class SubscribeAttributeTestClusterNullableInt32s : public ModelCommand { [cluster subscribeAttributeNullableInt32sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt32s response %@", [value description]); if (error || !mWait) { @@ -60548,7 +60548,7 @@ class SubscribeAttributeTestClusterNullableInt40s : public ModelCommand { [cluster subscribeAttributeNullableInt40sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt40s response %@", [value description]); if (error || !mWait) { @@ -60659,7 +60659,7 @@ class SubscribeAttributeTestClusterNullableInt48s : public ModelCommand { [cluster subscribeAttributeNullableInt48sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt48s response %@", [value description]); if (error || !mWait) { @@ -60770,7 +60770,7 @@ class SubscribeAttributeTestClusterNullableInt56s : public ModelCommand { [cluster subscribeAttributeNullableInt56sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt56s response %@", [value description]); if (error || !mWait) { @@ -60881,7 +60881,7 @@ class SubscribeAttributeTestClusterNullableInt64s : public ModelCommand { [cluster subscribeAttributeNullableInt64sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt64s response %@", [value description]); if (error || !mWait) { @@ -60992,7 +60992,7 @@ class SubscribeAttributeTestClusterNullableEnum8 : public ModelCommand { [cluster subscribeAttributeNullableEnum8WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableEnum8 response %@", [value description]); if (error || !mWait) { @@ -61103,7 +61103,7 @@ class SubscribeAttributeTestClusterNullableEnum16 : public ModelCommand { [cluster subscribeAttributeNullableEnum16WithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableEnum16 response %@", [value description]); if (error || !mWait) { @@ -61216,7 +61216,7 @@ class SubscribeAttributeTestClusterNullableFloatSingle : public ModelCommand { subscribeAttributeNullableFloatSingleWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableFloatSingle response %@", [value description]); if (error || !mWait) { @@ -61329,7 +61329,7 @@ class SubscribeAttributeTestClusterNullableFloatDouble : public ModelCommand { subscribeAttributeNullableFloatDoubleWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableFloatDouble response %@", [value description]); if (error || !mWait) { @@ -61442,7 +61442,7 @@ class SubscribeAttributeTestClusterNullableOctetString : public ModelCommand { subscribeAttributeNullableOctetStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableOctetString response %@", [value description]); if (error || !mWait) { @@ -61557,7 +61557,7 @@ class SubscribeAttributeTestClusterNullableCharString : public ModelCommand { subscribeAttributeNullableCharStringWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableCharString response %@", [value description]); if (error || !mWait) { @@ -61669,7 +61669,7 @@ class SubscribeAttributeTestClusterNullableEnumAttr : public ModelCommand { [cluster subscribeAttributeNullableEnumAttrWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableEnumAttr response %@", [value description]); if (error || !mWait) { @@ -61798,7 +61798,7 @@ class SubscribeAttributeTestClusterNullableStruct : public ModelCommand { [cluster subscribeAttributeNullableStructWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(CHIPTestClusterClusterSimpleStruct * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableStruct response %@", [value description]); @@ -61913,7 +61913,7 @@ class SubscribeAttributeTestClusterNullableRangeRestrictedInt8u : public ModelCo subscribeAttributeNullableRangeRestrictedInt8uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableRangeRestrictedInt8u response %@", [value description]); @@ -62028,7 +62028,7 @@ class SubscribeAttributeTestClusterNullableRangeRestrictedInt8s : public ModelCo subscribeAttributeNullableRangeRestrictedInt8sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableRangeRestrictedInt8s response %@", [value description]); @@ -62144,7 +62144,7 @@ class SubscribeAttributeTestClusterNullableRangeRestrictedInt16u : public ModelC subscribeAttributeNullableRangeRestrictedInt16uWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableRangeRestrictedInt16u response %@", @@ -62261,7 +62261,7 @@ class SubscribeAttributeTestClusterNullableRangeRestrictedInt16s : public ModelC subscribeAttributeNullableRangeRestrictedInt16sWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableRangeRestrictedInt16s response %@", @@ -62341,7 +62341,7 @@ class SubscribeAttributeTestClusterGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -62419,7 +62419,7 @@ class SubscribeAttributeTestClusterAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -62496,7 +62496,7 @@ class SubscribeAttributeTestClusterAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.AttributeList response %@", [value description]); if (error || !mWait) { @@ -62573,7 +62573,7 @@ class SubscribeAttributeTestClusterClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -62910,7 +62910,7 @@ class SubscribeAttributeThermostatLocalTemperature : public ModelCommand { [cluster subscribeAttributeLocalTemperatureWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.LocalTemperature response %@", [value description]); if (error || !mWait) { @@ -62988,7 +62988,7 @@ class SubscribeAttributeThermostatAbsMinHeatSetpointLimit : public ModelCommand [cluster subscribeAttributeAbsMinHeatSetpointLimitWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.AbsMinHeatSetpointLimit response %@", [value description]); @@ -63067,7 +63067,7 @@ class SubscribeAttributeThermostatAbsMaxHeatSetpointLimit : public ModelCommand [cluster subscribeAttributeAbsMaxHeatSetpointLimitWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.AbsMaxHeatSetpointLimit response %@", [value description]); @@ -63146,7 +63146,7 @@ class SubscribeAttributeThermostatAbsMinCoolSetpointLimit : public ModelCommand [cluster subscribeAttributeAbsMinCoolSetpointLimitWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.AbsMinCoolSetpointLimit response %@", [value description]); @@ -63225,7 +63225,7 @@ class SubscribeAttributeThermostatAbsMaxCoolSetpointLimit : public ModelCommand [cluster subscribeAttributeAbsMaxCoolSetpointLimitWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.AbsMaxCoolSetpointLimit response %@", [value description]); @@ -63339,7 +63339,7 @@ class SubscribeAttributeThermostatOccupiedCoolingSetpoint : public ModelCommand [cluster subscribeAttributeOccupiedCoolingSetpointWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.OccupiedCoolingSetpoint response %@", [value description]); @@ -63453,7 +63453,7 @@ class SubscribeAttributeThermostatOccupiedHeatingSetpoint : public ModelCommand [cluster subscribeAttributeOccupiedHeatingSetpointWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.OccupiedHeatingSetpoint response %@", [value description]); @@ -63567,7 +63567,7 @@ class SubscribeAttributeThermostatMinHeatSetpointLimit : public ModelCommand { subscribeAttributeMinHeatSetpointLimitWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.MinHeatSetpointLimit response %@", [value description]); if (error || !mWait) { @@ -63680,7 +63680,7 @@ class SubscribeAttributeThermostatMaxHeatSetpointLimit : public ModelCommand { subscribeAttributeMaxHeatSetpointLimitWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.MaxHeatSetpointLimit response %@", [value description]); if (error || !mWait) { @@ -63793,7 +63793,7 @@ class SubscribeAttributeThermostatMinCoolSetpointLimit : public ModelCommand { subscribeAttributeMinCoolSetpointLimitWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.MinCoolSetpointLimit response %@", [value description]); if (error || !mWait) { @@ -63906,7 +63906,7 @@ class SubscribeAttributeThermostatMaxCoolSetpointLimit : public ModelCommand { subscribeAttributeMaxCoolSetpointLimitWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.MaxCoolSetpointLimit response %@", [value description]); if (error || !mWait) { @@ -64019,7 +64019,7 @@ class SubscribeAttributeThermostatMinSetpointDeadBand : public ModelCommand { subscribeAttributeMinSetpointDeadBandWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.MinSetpointDeadBand response %@", [value description]); if (error || !mWait) { @@ -64133,7 +64133,7 @@ class SubscribeAttributeThermostatControlSequenceOfOperation : public ModelComma subscribeAttributeControlSequenceOfOperationWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ControlSequenceOfOperation response %@", [value description]); @@ -64245,7 +64245,7 @@ class SubscribeAttributeThermostatSystemMode : public ModelCommand { [cluster subscribeAttributeSystemModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.SystemMode response %@", [value description]); if (error || !mWait) { @@ -64322,7 +64322,7 @@ class SubscribeAttributeThermostatStartOfWeek : public ModelCommand { [cluster subscribeAttributeStartOfWeekWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.StartOfWeek response %@", [value description]); if (error || !mWait) { @@ -64401,7 +64401,7 @@ class SubscribeAttributeThermostatNumberOfWeeklyTransitions : public ModelComman subscribeAttributeNumberOfWeeklyTransitionsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.NumberOfWeeklyTransitions response %@", [value description]); @@ -64481,7 +64481,7 @@ class SubscribeAttributeThermostatNumberOfDailyTransitions : public ModelCommand subscribeAttributeNumberOfDailyTransitionsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.NumberOfDailyTransitions response %@", [value description]); @@ -64559,7 +64559,7 @@ class SubscribeAttributeThermostatAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.AttributeList response %@", [value description]); if (error || !mWait) { @@ -64636,7 +64636,7 @@ class SubscribeAttributeThermostatFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -64713,7 +64713,7 @@ class SubscribeAttributeThermostatClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -64847,7 +64847,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationTemperatureDisplayMo [cluster subscribeAttributeTemperatureDisplayModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.TemperatureDisplayMode " @"response %@", @@ -64964,7 +64964,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationKeypadLockout : publ [cluster subscribeAttributeKeypadLockoutWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.KeypadLockout response %@", [value description]); @@ -65085,7 +65085,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationScheduleProgrammingV subscribeAttributeScheduleProgrammingVisibilityWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration." @@ -65167,7 +65167,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationGeneratedCommandList [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.GeneratedCommandList " @"response %@", @@ -65249,7 +65249,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationAcceptedCommandList subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog( @"ThermostatUserInterfaceConfiguration.AcceptedCommandList response %@", @@ -65330,7 +65330,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationAttributeList : publ [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.AttributeList response %@", [value description]); @@ -65410,7 +65410,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationClusterRevision : pu [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.ClusterRevision response %@", [value description]); @@ -65603,7 +65603,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsChannel : public ModelCommand { [cluster subscribeAttributeChannelWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.Channel response %@", [value description]); if (error || !mWait) { @@ -65684,7 +65684,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRoutingRole : public ModelComman [cluster subscribeAttributeRoutingRoleWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RoutingRole response %@", [value description]); if (error || !mWait) { @@ -65765,7 +65765,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsNetworkName : public ModelComman [cluster subscribeAttributeNetworkNameWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.NetworkName response %@", [value description]); if (error || !mWait) { @@ -65846,7 +65846,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsPanId : public ModelCommand { [cluster subscribeAttributePanIdWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.PanId response %@", [value description]); if (error || !mWait) { @@ -65928,7 +65928,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsExtendedPanId : public ModelComm subscribeAttributeExtendedPanIdWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ExtendedPanId response %@", [value description]); if (error || !mWait) { @@ -66009,7 +66009,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsMeshLocalPrefix : public ModelCo [cluster subscribeAttributeMeshLocalPrefixWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.MeshLocalPrefix response %@", [value description]); @@ -66092,7 +66092,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsOverrunCount : public ModelComma subscribeAttributeOverrunCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.OverrunCount response %@", [value description]); if (error || !mWait) { @@ -66173,7 +66173,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsNeighborTableList : public Model [cluster subscribeAttributeNeighborTableListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.NeighborTableList response %@", [value description]); @@ -66255,7 +66255,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRouteTableList : public ModelCom [cluster subscribeAttributeRouteTableListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RouteTableList response %@", [value description]); @@ -66337,7 +66337,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsPartitionId : public ModelComman [cluster subscribeAttributePartitionIdWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.PartitionId response %@", [value description]); if (error || !mWait) { @@ -66418,7 +66418,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsWeighting : public ModelCommand [cluster subscribeAttributeWeightingWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.Weighting response %@", [value description]); if (error || !mWait) { @@ -66499,7 +66499,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsDataVersion : public ModelComman [cluster subscribeAttributeDataVersionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.DataVersion response %@", [value description]); if (error || !mWait) { @@ -66580,7 +66580,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsStableDataVersion : public Model [cluster subscribeAttributeStableDataVersionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.StableDataVersion response %@", [value description]); @@ -66662,7 +66662,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsLeaderRouterId : public ModelCom [cluster subscribeAttributeLeaderRouterIdWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.LeaderRouterId response %@", [value description]); @@ -66744,7 +66744,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsDetachedRoleCount : public Model [cluster subscribeAttributeDetachedRoleCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.DetachedRoleCount response %@", [value description]); @@ -66826,7 +66826,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsChildRoleCount : public ModelCom [cluster subscribeAttributeChildRoleCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ChildRoleCount response %@", [value description]); @@ -66908,7 +66908,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRouterRoleCount : public ModelCo [cluster subscribeAttributeRouterRoleCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RouterRoleCount response %@", [value description]); @@ -66990,7 +66990,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsLeaderRoleCount : public ModelCo [cluster subscribeAttributeLeaderRoleCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.LeaderRoleCount response %@", [value description]); @@ -67072,7 +67072,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsAttachAttemptCount : public Mode [cluster subscribeAttributeAttachAttemptCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.AttachAttemptCount response %@", [value description]); @@ -67154,7 +67154,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsPartitionIdChangeCount : public [cluster subscribeAttributePartitionIdChangeCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.PartitionIdChangeCount response %@", [value description]); @@ -67237,7 +67237,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsBetterPartitionAttachAttemptCoun [cluster subscribeAttributeBetterPartitionAttachAttemptCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics." @@ -67322,7 +67322,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsParentChangeCount : public Model [cluster subscribeAttributeParentChangeCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ParentChangeCount response %@", [value description]); @@ -67405,7 +67405,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxTotalCount : public ModelComma subscribeAttributeTxTotalCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxTotalCount response %@", [value description]); if (error || !mWait) { @@ -67486,7 +67486,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxUnicastCount : public ModelCom [cluster subscribeAttributeTxUnicastCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxUnicastCount response %@", [value description]); @@ -67568,7 +67568,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxBroadcastCount : public ModelC [cluster subscribeAttributeTxBroadcastCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxBroadcastCount response %@", [value description]); @@ -67650,7 +67650,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxAckRequestedCount : public Mod [cluster subscribeAttributeTxAckRequestedCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxAckRequestedCount response %@", [value description]); @@ -67733,7 +67733,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxAckedCount : public ModelComma subscribeAttributeTxAckedCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxAckedCount response %@", [value description]); if (error || !mWait) { @@ -67814,7 +67814,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxNoAckRequestedCount : public M [cluster subscribeAttributeTxNoAckRequestedCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxNoAckRequestedCount response %@", [value description]); @@ -67896,7 +67896,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxDataCount : public ModelComman [cluster subscribeAttributeTxDataCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxDataCount response %@", [value description]); if (error || !mWait) { @@ -67977,7 +67977,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxDataPollCount : public ModelCo [cluster subscribeAttributeTxDataPollCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxDataPollCount response %@", [value description]); @@ -68060,7 +68060,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxBeaconCount : public ModelComm subscribeAttributeTxBeaconCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxBeaconCount response %@", [value description]); if (error || !mWait) { @@ -68141,7 +68141,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxBeaconRequestCount : public Mo [cluster subscribeAttributeTxBeaconRequestCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxBeaconRequestCount response %@", [value description]); @@ -68224,7 +68224,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxOtherCount : public ModelComma subscribeAttributeTxOtherCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxOtherCount response %@", [value description]); if (error || !mWait) { @@ -68306,7 +68306,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxRetryCount : public ModelComma subscribeAttributeTxRetryCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxRetryCount response %@", [value description]); if (error || !mWait) { @@ -68389,7 +68389,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCount : pu subscribeAttributeTxDirectMaxRetryExpiryCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxDirectMaxRetryExpiryCount " @"response %@", @@ -68474,7 +68474,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCount : subscribeAttributeTxIndirectMaxRetryExpiryCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxIndirectMaxRetryExpiryCount " @@ -68559,7 +68559,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxErrCcaCount : public ModelComm subscribeAttributeTxErrCcaCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxErrCcaCount response %@", [value description]); if (error || !mWait) { @@ -68640,7 +68640,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxErrAbortCount : public ModelCo [cluster subscribeAttributeTxErrAbortCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxErrAbortCount response %@", [value description]); @@ -68722,7 +68722,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxErrBusyChannelCount : public M [cluster subscribeAttributeTxErrBusyChannelCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxErrBusyChannelCount response %@", [value description]); @@ -68805,7 +68805,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxTotalCount : public ModelComma subscribeAttributeRxTotalCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxTotalCount response %@", [value description]); if (error || !mWait) { @@ -68886,7 +68886,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxUnicastCount : public ModelCom [cluster subscribeAttributeRxUnicastCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxUnicastCount response %@", [value description]); @@ -68968,7 +68968,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxBroadcastCount : public ModelC [cluster subscribeAttributeRxBroadcastCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxBroadcastCount response %@", [value description]); @@ -69050,7 +69050,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxDataCount : public ModelComman [cluster subscribeAttributeRxDataCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxDataCount response %@", [value description]); if (error || !mWait) { @@ -69131,7 +69131,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxDataPollCount : public ModelCo [cluster subscribeAttributeRxDataPollCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxDataPollCount response %@", [value description]); @@ -69214,7 +69214,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxBeaconCount : public ModelComm subscribeAttributeRxBeaconCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxBeaconCount response %@", [value description]); if (error || !mWait) { @@ -69295,7 +69295,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxBeaconRequestCount : public Mo [cluster subscribeAttributeRxBeaconRequestCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxBeaconRequestCount response %@", [value description]); @@ -69378,7 +69378,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxOtherCount : public ModelComma subscribeAttributeRxOtherCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxOtherCount response %@", [value description]); if (error || !mWait) { @@ -69459,7 +69459,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxAddressFilteredCount : public [cluster subscribeAttributeRxAddressFilteredCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxAddressFilteredCount response %@", [value description]); @@ -69543,7 +69543,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxDestAddrFilteredCount : public subscribeAttributeRxDestAddrFilteredCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxDestAddrFilteredCount response %@", [value description]); @@ -69625,7 +69625,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxDuplicatedCount : public Model [cluster subscribeAttributeRxDuplicatedCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxDuplicatedCount response %@", [value description]); @@ -69707,7 +69707,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrNoFrameCount : public Model [cluster subscribeAttributeRxErrNoFrameCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxErrNoFrameCount response %@", [value description]); @@ -69791,7 +69791,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrUnknownNeighborCount : publ subscribeAttributeRxErrUnknownNeighborCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog( @"ThreadNetworkDiagnostics.RxErrUnknownNeighborCount response %@", @@ -69876,7 +69876,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrInvalidSrcAddrCount : publi subscribeAttributeRxErrInvalidSrcAddrCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxErrInvalidSrcAddrCount response %@", [value description]); @@ -69959,7 +69959,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrSecCount : public ModelComm subscribeAttributeRxErrSecCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxErrSecCount response %@", [value description]); if (error || !mWait) { @@ -70041,7 +70041,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrFcsCount : public ModelComm subscribeAttributeRxErrFcsCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxErrFcsCount response %@", [value description]); if (error || !mWait) { @@ -70122,7 +70122,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrOtherCount : public ModelCo [cluster subscribeAttributeRxErrOtherCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxErrOtherCount response %@", [value description]); @@ -70204,7 +70204,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsActiveTimestamp : public ModelCo [cluster subscribeAttributeActiveTimestampWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ActiveTimestamp response %@", [value description]); @@ -70286,7 +70286,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsPendingTimestamp : public ModelC [cluster subscribeAttributePendingTimestampWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.PendingTimestamp response %@", [value description]); @@ -70368,7 +70368,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsDelay : public ModelCommand { [cluster subscribeAttributeDelayWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.Delay response %@", [value description]); if (error || !mWait) { @@ -70449,7 +70449,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsSecurityPolicy : public ModelCom [cluster subscribeAttributeSecurityPolicyWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.SecurityPolicy response %@", [value description]); @@ -70531,7 +70531,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsChannelMask : public ModelComman [cluster subscribeAttributeChannelMaskWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ChannelMask response %@", [value description]); if (error || !mWait) { @@ -70614,7 +70614,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsOperationalDatasetComponents : p subscribeAttributeOperationalDatasetComponentsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.OperationalDatasetComponents " @"response %@", @@ -70698,7 +70698,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsActiveNetworkFaultsList : public subscribeAttributeActiveNetworkFaultsListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ActiveNetworkFaultsList response %@", [value description]); @@ -70780,7 +70780,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsGeneratedCommandList : public Mo [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.GeneratedCommandList response %@", [value description]); @@ -70862,7 +70862,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsAcceptedCommandList : public Mod [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.AcceptedCommandList response %@", [value description]); @@ -70945,7 +70945,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsAttributeList : public ModelComm subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.AttributeList response %@", [value description]); if (error || !mWait) { @@ -71026,7 +71026,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsFeatureMap : public ModelCommand [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -71107,7 +71107,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsClusterRevision : public ModelCo [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ClusterRevision response %@", [value description]); @@ -71244,7 +71244,7 @@ class SubscribeAttributeTimeFormatLocalizationHourFormat : public ModelCommand { [cluster subscribeAttributeHourFormatWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.HourFormat response %@", [value description]); if (error || !mWait) { @@ -71362,7 +71362,7 @@ class SubscribeAttributeTimeFormatLocalizationActiveCalendarType : public ModelC [cluster subscribeAttributeActiveCalendarTypeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.ActiveCalendarType response %@", [value description]); @@ -71444,7 +71444,7 @@ class SubscribeAttributeTimeFormatLocalizationSupportedCalendarTypes : public Mo [cluster subscribeAttributeSupportedCalendarTypesWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.SupportedCalendarTypes response %@", [value description]); @@ -71526,7 +71526,7 @@ class SubscribeAttributeTimeFormatLocalizationGeneratedCommandList : public Mode [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.GeneratedCommandList response %@", [value description]); @@ -71608,7 +71608,7 @@ class SubscribeAttributeTimeFormatLocalizationAcceptedCommandList : public Model [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.AcceptedCommandList response %@", [value description]); @@ -71690,7 +71690,7 @@ class SubscribeAttributeTimeFormatLocalizationClusterRevision : public ModelComm [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.ClusterRevision response %@", [value description]); @@ -71825,7 +71825,7 @@ class SubscribeAttributeUnitLocalizationTemperatureUnit : public ModelCommand { [cluster subscribeAttributeTemperatureUnitWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"UnitLocalization.TemperatureUnit response %@", [value description]); if (error || !mWait) { @@ -71906,7 +71906,7 @@ class SubscribeAttributeUnitLocalizationAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"UnitLocalization.AttributeList response %@", [value description]); if (error || !mWait) { @@ -71987,7 +71987,7 @@ class SubscribeAttributeUnitLocalizationFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"UnitLocalization.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -72068,7 +72068,7 @@ class SubscribeAttributeUnitLocalizationClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"UnitLocalization.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -72212,7 +72212,7 @@ class SubscribeAttributeUserLabelLabelList : public ModelCommand { [cluster subscribeAttributeLabelListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"UserLabel.LabelList response %@", [value description]); if (error || !mWait) { @@ -72290,7 +72290,7 @@ class SubscribeAttributeUserLabelGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"UserLabel.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -72368,7 +72368,7 @@ class SubscribeAttributeUserLabelAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"UserLabel.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -72445,7 +72445,7 @@ class SubscribeAttributeUserLabelClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"UserLabel.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -72538,7 +72538,7 @@ class SubscribeAttributeWakeOnLanMACAddress : public ModelCommand { [cluster subscribeAttributeMACAddressWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"WakeOnLan.MACAddress response %@", [value description]); if (error || !mWait) { @@ -72616,7 +72616,7 @@ class SubscribeAttributeWakeOnLanGeneratedCommandList : public ModelCommand { subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WakeOnLan.GeneratedCommandList response %@", [value description]); if (error || !mWait) { @@ -72694,7 +72694,7 @@ class SubscribeAttributeWakeOnLanAcceptedCommandList : public ModelCommand { subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WakeOnLan.AcceptedCommandList response %@", [value description]); if (error || !mWait) { @@ -72771,7 +72771,7 @@ class SubscribeAttributeWakeOnLanAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WakeOnLan.AttributeList response %@", [value description]); if (error || !mWait) { @@ -72848,7 +72848,7 @@ class SubscribeAttributeWakeOnLanClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WakeOnLan.ClusterRevision response %@", [value description]); if (error || !mWait) { @@ -72992,7 +72992,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsBssid : public ModelCommand { [cluster subscribeAttributeBssidWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.Bssid response %@", [value description]); if (error || !mWait) { @@ -73073,7 +73073,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsSecurityType : public ModelCommand [cluster subscribeAttributeSecurityTypeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.SecurityType response %@", [value description]); if (error || !mWait) { @@ -73154,7 +73154,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsWiFiVersion : public ModelCommand [cluster subscribeAttributeWiFiVersionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.WiFiVersion response %@", [value description]); if (error || !mWait) { @@ -73236,7 +73236,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsChannelNumber : public ModelComman subscribeAttributeChannelNumberWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.ChannelNumber response %@", [value description]); if (error || !mWait) { @@ -73317,7 +73317,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsRssi : public ModelCommand { [cluster subscribeAttributeRssiWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.Rssi response %@", [value description]); if (error || !mWait) { @@ -73398,7 +73398,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsBeaconLostCount : public ModelComm [cluster subscribeAttributeBeaconLostCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.BeaconLostCount response %@", [value description]); @@ -73481,7 +73481,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsBeaconRxCount : public ModelComman subscribeAttributeBeaconRxCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.BeaconRxCount response %@", [value description]); if (error || !mWait) { @@ -73562,7 +73562,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsPacketMulticastRxCount : public Mo [cluster subscribeAttributePacketMulticastRxCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.PacketMulticastRxCount response %@", [value description]); @@ -73644,7 +73644,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsPacketMulticastTxCount : public Mo [cluster subscribeAttributePacketMulticastTxCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.PacketMulticastTxCount response %@", [value description]); @@ -73726,7 +73726,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsPacketUnicastRxCount : public Mode [cluster subscribeAttributePacketUnicastRxCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.PacketUnicastRxCount response %@", [value description]); @@ -73808,7 +73808,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsPacketUnicastTxCount : public Mode [cluster subscribeAttributePacketUnicastTxCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.PacketUnicastTxCount response %@", [value description]); @@ -73891,7 +73891,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsCurrentMaxRate : public ModelComma subscribeAttributeCurrentMaxRateWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.CurrentMaxRate response %@", [value description]); if (error || !mWait) { @@ -73972,7 +73972,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsOverrunCount : public ModelCommand [cluster subscribeAttributeOverrunCountWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.OverrunCount response %@", [value description]); if (error || !mWait) { @@ -74053,7 +74053,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsGeneratedCommandList : public Mode [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.GeneratedCommandList response %@", [value description]); @@ -74135,7 +74135,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsAcceptedCommandList : public Model [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.AcceptedCommandList response %@", [value description]); @@ -74218,7 +74218,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsAttributeList : public ModelComman subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.AttributeList response %@", [value description]); if (error || !mWait) { @@ -74299,7 +74299,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -74380,7 +74380,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsClusterRevision : public ModelComm [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.ClusterRevision response %@", [value description]); @@ -74737,7 +74737,7 @@ class SubscribeAttributeWindowCoveringType : public ModelCommand { [cluster subscribeAttributeTypeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.Type response %@", [value description]); if (error || !mWait) { @@ -74814,7 +74814,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionLift : public ModelCommand [cluster subscribeAttributeCurrentPositionLiftWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.CurrentPositionLift response %@", [value description]); @@ -74892,7 +74892,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionTilt : public ModelCommand [cluster subscribeAttributeCurrentPositionTiltWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.CurrentPositionTilt response %@", [value description]); @@ -74970,7 +74970,7 @@ class SubscribeAttributeWindowCoveringConfigStatus : public ModelCommand { [cluster subscribeAttributeConfigStatusWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.ConfigStatus response %@", [value description]); if (error || !mWait) { @@ -75049,7 +75049,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionLiftPercentage : public Mod subscribeAttributeCurrentPositionLiftPercentageWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.CurrentPositionLiftPercentage response %@", @@ -75130,7 +75130,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionTiltPercentage : public Mod subscribeAttributeCurrentPositionTiltPercentageWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.CurrentPositionTiltPercentage response %@", @@ -75210,7 +75210,7 @@ class SubscribeAttributeWindowCoveringOperationalStatus : public ModelCommand { subscribeAttributeOperationalStatusWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.OperationalStatus response %@", [value description]); if (error || !mWait) { @@ -75289,7 +75289,7 @@ class SubscribeAttributeWindowCoveringTargetPositionLiftPercent100ths : public M subscribeAttributeTargetPositionLiftPercent100thsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.TargetPositionLiftPercent100ths response " @@ -75371,7 +75371,7 @@ class SubscribeAttributeWindowCoveringTargetPositionTiltPercent100ths : public M subscribeAttributeTargetPositionTiltPercent100thsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.TargetPositionTiltPercent100ths response " @@ -75451,7 +75451,7 @@ class SubscribeAttributeWindowCoveringEndProductType : public ModelCommand { [cluster subscribeAttributeEndProductTypeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.EndProductType response %@", [value description]); if (error || !mWait) { @@ -75529,7 +75529,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionLiftPercent100ths : public [cluster subscribeAttributeCurrentPositionLiftPercent100thsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.CurrentPositionLiftPercent100ths " @@ -75611,7 +75611,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionTiltPercent100ths : public [cluster subscribeAttributeCurrentPositionTiltPercent100thsWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.CurrentPositionTiltPercent100ths " @@ -75692,7 +75692,7 @@ class SubscribeAttributeWindowCoveringInstalledOpenLimitLift : public ModelComma [cluster subscribeAttributeInstalledOpenLimitLiftWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.InstalledOpenLimitLift response %@", [value description]); @@ -75772,7 +75772,7 @@ class SubscribeAttributeWindowCoveringInstalledClosedLimitLift : public ModelCom subscribeAttributeInstalledClosedLimitLiftWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.InstalledClosedLimitLift response %@", [value description]); @@ -75850,7 +75850,7 @@ class SubscribeAttributeWindowCoveringInstalledOpenLimitTilt : public ModelComma [cluster subscribeAttributeInstalledOpenLimitTiltWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.InstalledOpenLimitTilt response %@", [value description]); @@ -75930,7 +75930,7 @@ class SubscribeAttributeWindowCoveringInstalledClosedLimitTilt : public ModelCom subscribeAttributeInstalledClosedLimitTiltWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.InstalledClosedLimitTilt response %@", [value description]); @@ -76042,7 +76042,7 @@ class SubscribeAttributeWindowCoveringMode : public ModelCommand { [cluster subscribeAttributeModeWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.Mode response %@", [value description]); if (error || !mWait) { @@ -76119,7 +76119,7 @@ class SubscribeAttributeWindowCoveringSafetyStatus : public ModelCommand { [cluster subscribeAttributeSafetyStatusWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.SafetyStatus response %@", [value description]); if (error || !mWait) { @@ -76196,7 +76196,7 @@ class SubscribeAttributeWindowCoveringGeneratedCommandList : public ModelCommand [cluster subscribeAttributeGeneratedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.GeneratedCommandList response %@", [value description]); @@ -76274,7 +76274,7 @@ class SubscribeAttributeWindowCoveringAcceptedCommandList : public ModelCommand [cluster subscribeAttributeAcceptedCommandListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.AcceptedCommandList response %@", [value description]); @@ -76352,7 +76352,7 @@ class SubscribeAttributeWindowCoveringAttributeList : public ModelCommand { [cluster subscribeAttributeAttributeListWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.AttributeList response %@", [value description]); if (error || !mWait) { @@ -76429,7 +76429,7 @@ class SubscribeAttributeWindowCoveringFeatureMap : public ModelCommand { [cluster subscribeAttributeFeatureMapWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.FeatureMap response %@", [value description]); if (error || !mWait) { @@ -76506,7 +76506,7 @@ class SubscribeAttributeWindowCoveringClusterRevision : public ModelCommand { [cluster subscribeAttributeClusterRevisionWithMinInterval:[NSNumber numberWithUnsignedInt:mMinInterval] maxInterval:[NSNumber numberWithUnsignedInt:mMaxInterval] params:params - subscriptionEstablished:NULL + subscriptionEstablished:nullptr reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.ClusterRevision response %@", [value description]); if (error || !mWait) {