summaryrefslogtreecommitdiffstats
path: root/src/knx/qknxinterfaceobjectproperty.cpp
blob: e4d7582237a69fb5f5efa1ca0afb33a56d7341b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
/******************************************************************************
**
** Copyright (C) 2018 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtKnx module.
**
** $QT_BEGIN_LICENSE:GPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 or (at your option) any later version
** approved by the KDE Free Qt Foundation. The licenses are as published by
** the Free Software Foundation and appearing in the file LICENSE.GPL3
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
**
** $QT_END_LICENSE$
**
******************************************************************************/

#include "qknxinterfaceobjectproperty.h"

QT_BEGIN_NAMESPACE

/*!
    \class QKnxInterfaceObjectProperty

    \inmodule QtKnx
    \ingroup qtknx-device-management

    \brief The QKnxInterfaceObjectProperty class holds the properties of a KNX
    interface object.

    A KNX interface object holds information about device functionality.
    This class represents the properties of interface objects of the type
    \l QKnxInterfaceObjectType::System. Each property stores a particular
    functionality. \l General properties are common to all KNX interface
    objects.

    \sa {Qt KNX Device Management Classes}
*/

/*!
    \typedef QKnxInterfaceObjectProperty::AssociationTable

    A synonym for QKnxInterfaceObjectProperty::General.
*/

/*!
    \typedef QKnxInterfaceObjectProperty::FileServer

    A synonym for QKnxInterfaceObjectProperty::General.
*/

/*!
    \typedef QKnxInterfaceObjectProperty::InterfaceProgram

    A synonym for QKnxInterfaceObjectProperty::General.
*/

/*!
    \typedef QKnxInterfaceObjectProperty::KnxObjectAssociationTable

    A synonym for QKnxInterfaceObjectProperty::General.
*/

/*!
    \enum QKnxInterfaceObjectProperty::General
    This enum holds the properties that are common to all KNX interface objects.

    \value ObjectType
           The type of the KNX interface object.
           One of \l QKnxInterfaceObjectType::System.
    \value ObjectName
           The name of the KNX interface object.
    \value Semaphor
           A semaphor
    \value GroupObjectReference
           A reference to a group object that this property is relative to,
           according to the \c <ObjectReference>.<Property> pattern.
    \value LoadStateControl
           A load state control
    \value RunStateControl
           A run state control
    \value TableReference
           A reference to a table.
    \value ServiceControl
           A service control
    \value FirmwareRevision
           The revision number of the firmware installed on the device.
    \value ServicesSupported
           The services supported by the device.
    \value SerialNumber
           The serial number of the device.
    \value ManufacturerId
           The ID of the manufacturer of the device.
    \value ProgramVersion
           The program version.
    \value DeviceControl
           A device control
    \value OrderInfo
           Order information
    \value PeiType
           The Physical External Interface (PEI) type of the interface between
           an application module and a communication module.
    \value PortConfiguration
           Port configuration
    \value PollGroupSettings
           Poll group settings
    \value ManufacturerData
           Additional data defined by the manufacturer of the device.
    \value Enable
           Enable
    \value Description
           A description
    \value File
           A file
    \value Table
           A table
    \value Enrol
           Enrollment information.
    \value Version
           A version number.
    \value GroupObjectLink
    \value McbTable
           An MCB table
    \value ErrorCode
           An error code.
    \value ObjectIndex
           The index of the object.
    \value DownloadCounter
           A download counter
*/

/*!
    \enum QKnxInterfaceObjectProperty::Device
    This enum describes the properties specific to device interface objects.

    \value RoutingCount
    \value MaxRetryCount
    \value ErrorFlags
    \value ProgMode
    \value ProductId
    \value MaxApduLengthDevice
    \value SubnetAddress
    \value DeviceAddress
    \value PbConfig
    \value AddressReport
    \value AddressCheck
    \value ObjectValue
    \value ObjectLink
    \value Application
    \value Parameter
    \value ObjectAddress
    \value PsuType
    \value PsuStatus
    \value PsuEnable
    \value DomainAddress
    \value IoList
    \value MgtDescriptor01
    \value PL110Parameter
    \value RfRepeatCounter
    \value ReceiveBlockTable
    \value RandomPauseTable
    \value ReceiveBlockNumber
    \value HardwareType
    \value RetransmitterNumber
    \value SerialNumberTable
    \value BibatMasterAddress
    \value RfDomainAddressDevice
    \value DeviceDescriptor
    \value MeteringFilterTable
    \value GroupTelegramRateLimitTimeBase
    \value GroupTelegramRateLimitNumberOfTelegrams
    \value Channel01Parameter
    \value Channel02Parameter
    \value Channel03Parameter
    \value Channel04Parameter
    \value Channel05Parameter
    \value Channel06Parameter
    \value Channel07Parameter
    \value Channel08Parameter
    \value Channel09Parameter
    \value Channel10Parameter
    \value Channel11Parameter
    \value Channel12Parameter
    \value Channel13Parameter
    \value Channel14Parameter
    \value Channel15Parameter
    \value Channel16Parameter
    \value Channel17Parameter
    \value Channel18Parameter
    \value Channel19Parameter
    \value Channel20Parameter
    \value Channel21Parameter
    \value Channel22Parameter
    \value Channel23Parameter
    \value Channel24Parameter
    \value Channel25Parameter
    \value Channel26Parameter
    \value Channel27Parameter
    \value Channel28Parameter
    \value Channel29Parameter
    \value Channel30Parameter
    \value Channel31Parameter
    \value Channel32Parameter
*/

/*!
    \enum QKnxInterfaceObjectProperty::GroupAddressTable
    This enum describes the properties specific to group address table interface
    objects.

    \value ExtendedFrameFormat
           The group address table contains extended addresses, which means that
           interface objects are referenced using the format
           \c <ObjectType>.<InstanceNumber>.
    \value AddressTable1
    \value GroupResponserTable
*/

/*!
    \enum QKnxInterfaceObjectProperty::ApplicationProgram
    This enum describes the properties specific to application program interface
    objects.

    \value ParameterReference
           A reference to a parameter.
*/

/*!
    \enum QKnxInterfaceObjectProperty::Router
    This enum describes the properties specific to router interface objects.

    \value LineStatus
            This enum value has been deprecated. Use \l MediumStatus instead.
    \value MediumStatus
            The connection state of the TP1 connection for an IP/TP1 KNXnet/IP
            router at the secondary side. For a KNXnet/IP tunneling server on
            TP1, this is the connection state of the TP1 connection.
    \value MainLcConfig
    \value SubLcConfig
    \value MainLcGroupConfig
    \value SubLcGroupConfig
    \value RouteTableControl
    \value CouplerServerControl
    \value MaxRouterApduLength
    \value L2CouplerType
    \value Medium
    \value FilterTableUse
    \value RfEnableSbc
*/

/*!
    \enum QKnxInterfaceObjectProperty::LteAddressRoutingTable
    This enum describes the properties specific to Logical Tag Extended (LTE)
    address routing table interface objects.

    \value LteRouteSelect
           The selected route.
    \value LteRouteTable
           Available routes.
*/

/*!
    \enum QKnxInterfaceObjectProperty::CemiServer
    This enum describes the properties specific to Common External Message
    Interface (cEMI) server interface objects.

    \value MediumType
           The type of the medium used for the connection.
    \value CommonMode
    \value MediumAvailability
           The availability of the medium used for the connection.
    \value AdditionalInfoTypes
    \value TimeBase
    \value TransparencyModeEnabled
    \value BiBatNextBlock
    \value RfModeSelect
           RF mode selection.
    \value RfModeSupport
           RF mode support.
    \value RfFilteringModeSelectCemiServer
    \value RfFilteringModeSupport
    \value MaxInterfaceApduLength
            The management server (MaS) property holds the maximum length of
            the APDU that it supports for conveying a cEMI message from a cEMI
            client over the KNXnet/IP tunneling interface to the field level
            medium (e.g. KNX TP, KNX PL, KNX RF).
    \value MaxLocalApduLength
            The management server property holds the maximum length of the
            APDU that it supports for conveying a cEMI message from a cEMI
            client over the KNXnet/IP tunneling interface to its own cEMI
            device management interface.
*/

/*!
    \enum QKnxInterfaceObjectProperty::GroupObjectTable
    This enum describes the properties specific to group object table interface
    objects.

    \value GroupObjectTableProperty
    \value ExtendedGroupObjectReference
*/

/*!
    \enum QKnxInterfaceObjectProperty::PollingMaster
    This enum describes the properties specific to polling master interface
    objects.

    \value PollingState
           Polling state.
    \value PollingSlaveAddress
           The address of the polling slave.
    \value PollingCycle
           Polling cycle.
*/

/*!
    \enum QKnxInterfaceObjectProperty::KnxNetIpParameter
    This enum describes the properties specific to KNXnet/IP parameter interface
    objects.

    \value ProjectInstallationId
    \value KnxIndividualAddress
           The individual address that uniquely identifies a device in the
           KNXnet/IP network.
    \value AdditionalIndividualAddresses
           Additional individual addresses.
    \value CurrentIpAssignmentMethod
           The method used to assign the current IP address of the device.
    \value IpAssignmentMethod
           The method used to assign IP addresses.
    \value IpCapabilities
           The capabilities of the IP network.
    \value CurrentIpAddress
           The current IP address.
    \value CurrentSubnetMask
           The current subnet mask.
    \value CurrentDefaultGateway
           The current default gateway.
    \value IpAddress
           The IP address.
    \value SubnetMask
           The subnet mask.
    \value DefaultGateway
           The default gateway.
    \value DhcpBootpServer
           The DHCP boot server.
    \value MacAddress
           The media access control (MAC) address of the device.
    \value SystemSetupMulticastAddress
           The system setup multicast address.
    \value RoutingMulticastAddress
           The routing multicast address.
    \value Ttl
    \value KnxNetIpDeviceCapabilities
           The capabilities of the KNXnet/IP device.
    \value KnxNetIpDeviceState
           The state of the KNXnet/IP device.
    \value KnxNetIpRoutingCapabilities
           The routing capabilities of the KNXnet/IP network.
    \value PriorityFifoEnabled
    \value QueueOverflowToIp
    \value QueueOverflowToKnx
    \value MsgTransmitToIp
    \value MsgTransmitToKnx
    \value FriendlyName
    \value RoutingBusyWaitTime
    \value TunnelingAddresses
            Indicates which individual addresses the management server (MaS)
            will use for tunneling connections from the set of the additional
            individual addresses and its own individual address.
    \value BackboneKey
    \value DeviceAuthenticationCode
    \value PasswordHashes
    \value SecuredServiceFamilies
    \value MulticastLatencyTolerance
    \value SyncLatencyFraction
    \value TunnellingUsers
*/

/*!
    \enum QKnxInterfaceObjectProperty::Security
    This enum describes the properties specific to security interface objects.

    \value SecurityMode
    \value P2pKeyTable
    \value GroupKeyTable
    \value SecurityIndividualAddressTable
    \value SecurityFailuresLog
    \value SkiTool
    \value SecurityReport
    \value SecurityReportControl
    \value SequenceNumberSending
    \value ZoneKeysTable
    \value GoSecurityFlags
*/

/*!
    \enum QKnxInterfaceObjectProperty::RfMedium
    This enum describes the properties specific to RF medium interface objects.

    \value RfMultiType
    \value RfMultiPhysicalFeatures
    \value RfMultiCallChannel
    \value RfMultiObjectLink
    \value RfMultiExtendedGroupAddressRepeated
    \value RfDomainAddressRfMedium
    \value RfRetransmitter
    \value RfSecurityReportControl
    \value RfFilteringModeSelectRfMedium
    \value RfBidirTimeout
    \value RfDiagSaFilterTable
    \value RfDiagQualityTable
    \value RfDiagProbe
    \value TransmissionMode
    \value ReceptionMode
    \value TestSignal
    \value FastAcknowledge
    \value FastAcknowledgeActivate
*/

/*!
    \fn qint16 QKnxInterfaceObjectProperty::operator qint16() const

    Returns the property as a 16-bit unsigned integer.
*/

/*!
    \fn QKnxInterfaceObjectProperty::QKnxInterfaceObjectProperty(qint16 property)

    Creates the KNX interface object property \a property.
*/

/*!
    Returns \c true if \a property is listed in this class.
*/
bool QKnxInterfaceObjectProperty::isProperty(QKnxInterfaceObjectProperty property)
{
    return property < QKnxInterfaceObjectProperty::Invalid;
}

/*!
    Returns \c true if \a property is a \l General property; \c false
    otherwise.
*/
bool QKnxInterfaceObjectProperty::isGeneralProperty(QKnxInterfaceObjectProperty property)
{
    switch (property) {
    case QKnxInterfaceObjectProperty::General::ObjectType:
    case QKnxInterfaceObjectProperty::General::ObjectName:
    case QKnxInterfaceObjectProperty::General::Semaphor:
    case QKnxInterfaceObjectProperty::General::GroupObjectReference:
    case QKnxInterfaceObjectProperty::General::LoadStateControl:
    case QKnxInterfaceObjectProperty::General::RunStateControl:
    case QKnxInterfaceObjectProperty::General::TableReference:
    case QKnxInterfaceObjectProperty::General::ServiceControl:
    case QKnxInterfaceObjectProperty::General::FirmwareRevision:
    case QKnxInterfaceObjectProperty::General::ServicesSupported:
    case QKnxInterfaceObjectProperty::General::SerialNumber:
    case QKnxInterfaceObjectProperty::General::ManufacturerId:
    case QKnxInterfaceObjectProperty::General::ProgramVersion:
    case QKnxInterfaceObjectProperty::General::DeviceControl:
    case QKnxInterfaceObjectProperty::General::OrderInfo:
    case QKnxInterfaceObjectProperty::General::PeiType:
    case QKnxInterfaceObjectProperty::General::PortConfiguration:
    case QKnxInterfaceObjectProperty::General::PollGroupSettings:
    case QKnxInterfaceObjectProperty::General::ManufacturerData:
    case QKnxInterfaceObjectProperty::General::Enable:
    case QKnxInterfaceObjectProperty::General::Description:
    case QKnxInterfaceObjectProperty::General::File:
    case QKnxInterfaceObjectProperty::General::Table:
    case QKnxInterfaceObjectProperty::General::Enrol:
    case QKnxInterfaceObjectProperty::General::Version:
    case QKnxInterfaceObjectProperty::General::GroupObjectLink:
    case QKnxInterfaceObjectProperty::General::McbTable:
    case QKnxInterfaceObjectProperty::General::ErrorCode:
    case QKnxInterfaceObjectProperty::General::ObjectIndex:
    case QKnxInterfaceObjectProperty::General::DownloadCounter:
        return true;
    };
    return false;
}

/*!
    Returns \c true if \a property is a dedicated \l Device property or a
    \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isDeviceProperty(QKnxInterfaceObjectProperty property)
{
    switch (property) {
    case QKnxInterfaceObjectProperty::Device::RoutingCount:
    case QKnxInterfaceObjectProperty::Device::MaxRetryCount:
    case QKnxInterfaceObjectProperty::Device::ErrorFlags:
    case QKnxInterfaceObjectProperty::Device::ProgMode:
    case QKnxInterfaceObjectProperty::Device::ProductId:
    case QKnxInterfaceObjectProperty::Device::MaxApduLengthDevice:
    case QKnxInterfaceObjectProperty::Device::SubnetAddress:
    case QKnxInterfaceObjectProperty::Device::DeviceAddress:
    case QKnxInterfaceObjectProperty::Device::PbConfig:
    case QKnxInterfaceObjectProperty::Device::AddressReport:
    case QKnxInterfaceObjectProperty::Device::AddressCheck:
    case QKnxInterfaceObjectProperty::Device::ObjectValue:
    case QKnxInterfaceObjectProperty::Device::ObjectLink:
    case QKnxInterfaceObjectProperty::Device::Application:
    case QKnxInterfaceObjectProperty::Device::Parameter:
    case QKnxInterfaceObjectProperty::Device::ObjectAddress:
    case QKnxInterfaceObjectProperty::Device::PsuType:
    case QKnxInterfaceObjectProperty::Device::PsuStatus:
    case QKnxInterfaceObjectProperty::Device::PsuEnable:
    case QKnxInterfaceObjectProperty::Device::DomainAddress:
    case QKnxInterfaceObjectProperty::Device::IoList:
    case QKnxInterfaceObjectProperty::Device::MgtDescriptor01:
    case QKnxInterfaceObjectProperty::Device::PL110Parameter:
    case QKnxInterfaceObjectProperty::Device::RfRepeatCounter:
    case QKnxInterfaceObjectProperty::Device::ReceiveBlockTable:
    case QKnxInterfaceObjectProperty::Device::RandomPauseTable:
    case QKnxInterfaceObjectProperty::Device::ReceiveBlockNumber:
    case QKnxInterfaceObjectProperty::Device::HardwareType:
    case QKnxInterfaceObjectProperty::Device::RetransmitterNumber:
    case QKnxInterfaceObjectProperty::Device::SerialNumberTable:
    case QKnxInterfaceObjectProperty::Device::BibatMasterAddress:
    case QKnxInterfaceObjectProperty::Device::RfDomainAddressDevice:
    case QKnxInterfaceObjectProperty::Device::DeviceDescriptor:
    case QKnxInterfaceObjectProperty::Device::MeteringFilterTable:
    case QKnxInterfaceObjectProperty::Device::GroupTelegramRateLimitTimeBase:
    case QKnxInterfaceObjectProperty::Device::GroupTelegramRateLimitNumberOfTelegrams:
    case QKnxInterfaceObjectProperty::Device::Channel01Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel02Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel03Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel04Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel05Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel06Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel07Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel08Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel09Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel10Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel11Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel12Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel13Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel14Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel15Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel16Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel17Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel18Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel19Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel20Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel21Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel22Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel23Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel24Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel25Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel26Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel27Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel28Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel29Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel30Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel31Parameter:
    case QKnxInterfaceObjectProperty::Device::Channel32Parameter:
        return true;
    };
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l GroupAddressTable property
    or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isGroupAddressTableProperty(QKnxInterfaceObjectProperty property)
{
    switch (property) {
    case QKnxInterfaceObjectProperty::GroupAddressTable::ExtendedFrameFormat:
    case QKnxInterfaceObjectProperty::GroupAddressTable::AddressTable1:
    case QKnxInterfaceObjectProperty::GroupAddressTable::GroupResponserTable:
        return true;
    };
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l AssociationTable property
    or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isAssociationTableProperty(QKnxInterfaceObjectProperty property)
{
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l ApplicationProgram
    property or a \l General property; \c false otherwise.

*/
bool QKnxInterfaceObjectProperty::isApplicationProgramProperty(QKnxInterfaceObjectProperty property)
{
    if (property == QKnxInterfaceObjectProperty::ApplicationProgram::ParameterReference)
        return true;
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l InterfaceProgram property
    or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isInterfaceProgramProperty(QKnxInterfaceObjectProperty property)
{
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l KnxObjectAssociationTable
    property or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isKnxObjectAssociationTableProperty(QKnxInterfaceObjectProperty property)
{
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l Router property
    or a \l General property; \c false otherwise.

*/
bool QKnxInterfaceObjectProperty::isRouterProperty(QKnxInterfaceObjectProperty property)
{
    switch (property) {
    // case QKnxInterfaceObjectProperty::Router::LineStatus: ### Qt6: remove
    case QKnxInterfaceObjectProperty::Router::MediumStatus:
    case QKnxInterfaceObjectProperty::Router::MainLcConfig:
    case QKnxInterfaceObjectProperty::Router::SubLcConfig:
    case QKnxInterfaceObjectProperty::Router::MainLcGroupConfig:
    case QKnxInterfaceObjectProperty::Router::SubLcGroupConfig:
    case QKnxInterfaceObjectProperty::Router::RouteTableControl:
    case QKnxInterfaceObjectProperty::Router::CouplerServerControl:
    case QKnxInterfaceObjectProperty::Router::MaxRouterApduLength:
    case QKnxInterfaceObjectProperty::Router::L2CouplerType:
    case QKnxInterfaceObjectProperty::Router::Medium:
    case QKnxInterfaceObjectProperty::Router::FilterTableUse:
    case QKnxInterfaceObjectProperty::Router::RfEnableSbc:
        return true;
    };
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l LteAddressRoutingTable
    property or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isLteAddressRoutingTableProperty(QKnxInterfaceObjectProperty property)
{
    switch (property) {
    case QKnxInterfaceObjectProperty::LteAddressRoutingTable::LteRouteSelect:
    case QKnxInterfaceObjectProperty::LteAddressRoutingTable::LteRouteTable:
        return true;
    };
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l CemiServer property
    or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isCemiServerProperty(QKnxInterfaceObjectProperty property)
{
    switch (property) {
    case QKnxInterfaceObjectProperty::CemiServer::MediumType:
    case QKnxInterfaceObjectProperty::CemiServer::CommonMode:
    case QKnxInterfaceObjectProperty::CemiServer::MediumAvailability:
    case QKnxInterfaceObjectProperty::CemiServer::AdditionalInfoTypes:
    case QKnxInterfaceObjectProperty::CemiServer::TimeBase:
    case QKnxInterfaceObjectProperty::CemiServer::TransparencyModeEnabled:
    case QKnxInterfaceObjectProperty::CemiServer::BiBatNextBlock:
    case QKnxInterfaceObjectProperty::CemiServer::RfModeSelect:
    case QKnxInterfaceObjectProperty::CemiServer::RfModeSupport:
    case QKnxInterfaceObjectProperty::CemiServer::RfFilteringModeSelectCemiServer:
    case QKnxInterfaceObjectProperty::CemiServer::RfFilteringModeSupport:
    case QKnxInterfaceObjectProperty::CemiServer::MaxInterfaceApduLength:
    case QKnxInterfaceObjectProperty::CemiServer::MaxLocalApduLength:
        return true;
    };
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l GroupObjectTable property
    or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isGroupObjectTableProperty(QKnxInterfaceObjectProperty property)
{
    switch (property) {
    case QKnxInterfaceObjectProperty::GroupObjectTable::GroupObjectTableProperty:
    case QKnxInterfaceObjectProperty::GroupObjectTable::ExtendedGroupObjectReference:
        return true;
    };
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l PollingMaster property
    or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isPollingMasterProperty(QKnxInterfaceObjectProperty property)
{
    switch (property) {
    case QKnxInterfaceObjectProperty::PollingMaster::PollingState:
    case QKnxInterfaceObjectProperty::PollingMaster::PollingSlaveAddress:
    case QKnxInterfaceObjectProperty::PollingMaster::PollingCycle:
        return true;
    };
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l KnxNetIpParameter property
    or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isKnxNetIpParameterProperty(QKnxInterfaceObjectProperty property)
{
    switch (property) {
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::ProjectInstallationId:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::KnxIndividualAddress:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::AdditionalIndividualAddresses:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::CurrentIpAssignmentMethod:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::IpAssignmentMethod:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::IpCapabilities:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::CurrentIpAddress:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::CurrentSubnetMask:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::CurrentDefaultGateway:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::IpAddress:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::SubnetMask:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::DefaultGateway:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::DhcpBootpServer:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::MacAddress:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::SystemSetupMulticastAddress:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::RoutingMulticastAddress:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::Ttl:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::KnxNetIpDeviceCapabilities:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::KnxNetIpDeviceState:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::KnxNetIpRoutingCapabilities:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::PriorityFifoEnabled:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::QueueOverflowToIp:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::QueueOverflowToKnx:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::MsgTransmitToIp:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::MsgTransmitToKnx:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::FriendlyName:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::RoutingBusyWaitTime:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::TunnelingAddresses:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::BackboneKey:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::DeviceAuthenticationCode:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::PasswordHashes:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::SecuredServiceFamilies:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::MulticastLatencyTolerance:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::SyncLatencyFraction:
    case QKnxInterfaceObjectProperty::KnxNetIpParameter::TunnellingUsers:
        return true;
    };
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l FileServer property
    or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isFileServerProperty(QKnxInterfaceObjectProperty property)
{
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l Security property
    or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isSecurityProperty(QKnxInterfaceObjectProperty property)
{
    switch (property) {
    case QKnxInterfaceObjectProperty::Security::SecurityMode:
    case QKnxInterfaceObjectProperty::Security::P2pKeyTable:
    case QKnxInterfaceObjectProperty::Security::GroupKeyTable:
    case QKnxInterfaceObjectProperty::Security::SecurityIndividualAddressTable:
    case QKnxInterfaceObjectProperty::Security::SecurityFailuresLog:
    case QKnxInterfaceObjectProperty::Security::SkiTool:
    case QKnxInterfaceObjectProperty::Security::SecurityReport:
    case QKnxInterfaceObjectProperty::Security::SecurityReportControl:
    case QKnxInterfaceObjectProperty::Security::SequenceNumberSending:
    case QKnxInterfaceObjectProperty::Security::ZoneKeysTable:
    case QKnxInterfaceObjectProperty::Security::GoSecurityFlags:
        return true;
    }
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

/*!
    Returns \c true if \a property is a dedicated \l RfMedium property
    or a \l General property; \c false otherwise.
*/
bool QKnxInterfaceObjectProperty::isRfMediumProperty(QKnxInterfaceObjectProperty property)
{
    switch (property) {
    case QKnxInterfaceObjectProperty::RfMedium::RfMultiType:
    case QKnxInterfaceObjectProperty::RfMedium::RfMultiPhysicalFeatures:
    case QKnxInterfaceObjectProperty::RfMedium::RfMultiCallChannel:
    case QKnxInterfaceObjectProperty::RfMedium::RfMultiObjectLink:
    case QKnxInterfaceObjectProperty::RfMedium::RfMultiExtendedGroupAddressRepeated:
    case QKnxInterfaceObjectProperty::RfMedium::RfDomainAddressRfMedium:
    case QKnxInterfaceObjectProperty::RfMedium::RfRetransmitter:
    case QKnxInterfaceObjectProperty::RfMedium::RfSecurityReportControl:
    case QKnxInterfaceObjectProperty::RfMedium::RfFilteringModeSelectRfMedium:
    case QKnxInterfaceObjectProperty::RfMedium::RfBidirTimeout:
    case QKnxInterfaceObjectProperty::RfMedium::RfDiagSaFilterTable:
    case QKnxInterfaceObjectProperty::RfMedium::RfDiagQualityTable:
    case QKnxInterfaceObjectProperty::RfMedium::RfDiagProbe:
    case QKnxInterfaceObjectProperty::RfMedium::TransmissionMode:
    case QKnxInterfaceObjectProperty::RfMedium::ReceptionMode:
    case QKnxInterfaceObjectProperty::RfMedium::TestSignal:
    case QKnxInterfaceObjectProperty::RfMedium::FastAcknowledge:
    case QKnxInterfaceObjectProperty::RfMedium::FastAcknowledgeActivate:
        return true;
    };
    return QKnxInterfaceObjectProperty::isGeneralProperty(property);
}

QT_END_NAMESPACE