{{ 'device-profile.mqtt-device-topic-filters-spark-plug' | translate }} @if (mqttDeviceProfileTransportConfigurationFormGroup.get('sparkplug').value) {
}
@if (!mqttDeviceProfileTransportConfigurationFormGroup.get('sparkplug').value) {
device-profile.mqtt-device-topic-filters
device-profile.telemetry-topic-filter @if (mqttDeviceProfileTransportConfigurationFormGroup.get('deviceTelemetryTopic').hasError('required')) { {{ 'device-profile.telemetry-topic-filter-required' | translate }} } @if (mqttDeviceProfileTransportConfigurationFormGroup.get('deviceTelemetryTopic').hasError('invalidSingleTopicCharacter')) { {{ 'device-profile.not-valid-single-character' | translate }} } @if (mqttDeviceProfileTransportConfigurationFormGroup.get('deviceTelemetryTopic').hasError('invalidMultiTopicCharacter')) { {{ 'device-profile.not-valid-multi-character' | translate }} } device-profile.attributes-topic-filter @if (mqttDeviceProfileTransportConfigurationFormGroup.get('deviceAttributesTopic').hasError('required')) { {{ 'device-profile.attributes-topic-filter-required' | translate }} } @if (mqttDeviceProfileTransportConfigurationFormGroup.get('deviceAttributesTopic').hasError('invalidSingleTopicCharacter')) { {{ 'device-profile.not-valid-single-character' | translate }} } @if (mqttDeviceProfileTransportConfigurationFormGroup.get('deviceAttributesTopic').hasError('invalidMultiTopicCharacter')) { {{ 'device-profile.not-valid-multi-character' | translate }} } device-profile.attributes-subscribe-topic-filter @if (mqttDeviceProfileTransportConfigurationFormGroup.get('deviceAttributesSubscribeTopic').hasError('required')) { {{ 'device-profile.attributes-subscribe-topic-filter-required' | translate }} } @if (mqttDeviceProfileTransportConfigurationFormGroup.get('deviceAttributesSubscribeTopic').hasError('invalidSingleTopicCharacter')) { {{ 'device-profile.not-valid-single-character' | translate }} } @if (mqttDeviceProfileTransportConfigurationFormGroup.get('deviceAttributesSubscribeTopic').hasError('invalidMultiTopicCharacter')) { {{ 'device-profile.not-valid-multi-character' | translate }} }
@if (mqttDeviceProfileTransportConfigurationFormGroup.hasError('unique')) { {{ 'device-profile.mqtt-device-topic-filters-unique' | translate }} }
device-profile.mqtt-device-payload-type
@for (type of transportPayloadTypes; track type) { {{ getTransportPayloadType(type) | translate }} } @if (mqttDeviceProfileTransportConfigurationFormGroup.get('transportPayloadTypeConfiguration.transportPayloadType').hasError('required')) { {{ 'device-profile.mqtt-payload-type-required' | translate }} } @if (protoPayloadType) {
{{ 'device-profile.mqtt-enable-compatibility-with-json-payload-format' | translate }}
@if (compatibilityWithJsonPayloadFormatEnabled) { {{ 'device-profile.mqtt-use-json-format-for-default-downlink-topics' | translate }}
}
@if (mqttDeviceProfileTransportConfigurationFormGroup.get('transportPayloadTypeConfiguration.deviceTelemetryProtoSchema').hasError('required')) { {{ 'device-profile.telemetry-proto-schema-required' | translate }} } @if (mqttDeviceProfileTransportConfigurationFormGroup.get('transportPayloadTypeConfiguration.deviceAttributesProtoSchema').hasError('required')) { {{ 'device-profile.attributes-proto-schema-required' | translate }} } @if (mqttDeviceProfileTransportConfigurationFormGroup.get('transportPayloadTypeConfiguration.deviceRpcRequestProtoSchema').hasError('required')) { {{ 'device-profile.rpc-request-proto-schema-required' | translate }} } @if (mqttDeviceProfileTransportConfigurationFormGroup.get('transportPayloadTypeConfiguration.deviceRpcResponseProtoSchema').hasError('required')) { {{ 'device-profile.rpc-response-proto-schema-required' | translate }} }
}
{{ 'device-profile.mqtt-send-ack-on-validation-exception' | translate }}
}