PointToPointConnectionOriented Class

(QKnxNpduFactory::PointToPointConnectionOriented)

The QKnxNpduFactory::PointToPointConnectionOriented class is used to create a valid Network protocol data unit (QKnxNpdu) for application services requesting point to point connection with a mandatory transport layer connection. More...

Header: #include <PointToPointConnectionOriented>
qmake: QT += knx

Public Functions

Static Public Members

QKnxNpdu createAdcReadNpdu(quint8 channel, quint8 readCount, quint8 seqNumber)
QKnxNpdu createAdcResponseNpdu(quint8 channel, quint8 readCount, quint16 sumOfAdc, quint8 seqNumber)
QKnxNpdu createAuthorizeRequestNpdu(quint32 key, quint8 seqNumber)
QKnxNpdu createAuthorizeResponseNpdu(quint8 level, quint8 seqNumber)
QKnxNpdu createKeyResponseNpdu(quint8 level, quint8 seqNumber)
QKnxNpdu createKeyWriteNpdu(quint8 level, quint32 key, quint8 seqNumber)
QKnxNpdu createUserManufacturerInfoReadNpdu(quint8 seqNumber)
QKnxNpdu createUserManufacturerInfoResponseNpdu(quint8 manufacturerId, quint16 manufacturerSpecific, quint8 seqNumber)
QKnxNpdu createUserMemoryReadNpdu(quint8 addressExtention, quint8 number, quint16 address, quint8 seqNumber)
QKnxNpdu createUserMemoryResponseNpdu(quint8 addressExtention, quint8 number, quint16 address, const QByteArray &data, quint8 seqNumber)
QKnxNpdu createUserMemoryWriteNpdu(quint8 addressExtention, quint8 number, quint16 address, const QByteArray &data, quint8 seqNumber)

Detailed Description

The QKnxNpduFactory::PointToPointConnectionOriented class is used to create a valid Network protocol data unit (QKnxNpdu) for application services requesting point to point connection with a mandatory transport layer connection.

Those services are accessed using the individual address of the device (QKnxAddress::Individual) in the source address part of the QKnxCemiFrame. To be successful, the CEMI frame containing those NPDU need to be send within the frame work of a transport layer connection.

Member Function Documentation

[delete] PointToPointConnectionOriented::PointToPointConnectionOriented()

Default constructs an instance of PointToPointConnectionOriented.

[static] QKnxNpdu PointToPointConnectionOriented::createAdcReadNpdu(quint8 channel, quint8 readCount, quint8 seqNumber)

Returns a QKnxNpdu for ADC Read Application Service with the given channel, readCount and seqNumber set.

[static] QKnxNpdu PointToPointConnectionOriented::createAdcResponseNpdu(quint8 channel, quint8 readCount, quint16 sumOfAdc, quint8 seqNumber)

[static] QKnxNpdu PointToPointConnectionOriented::createAuthorizeRequestNpdu(quint32 key, quint8 seqNumber)

[static] QKnxNpdu PointToPointConnectionOriented::createAuthorizeResponseNpdu(quint8 level, quint8 seqNumber)

[static] QKnxNpdu PointToPointConnectionOriented::createKeyResponseNpdu(quint8 level, quint8 seqNumber)

[static] QKnxNpdu PointToPointConnectionOriented::createKeyWriteNpdu(quint8 level, quint32 key, quint8 seqNumber)

[static] QKnxNpdu PointToPointConnectionOriented::createUserManufacturerInfoReadNpdu(quint8 seqNumber)

Returns a NPDU for User Manufacturer Info Read Application Service with the given sequence number seqNumber set.

[static] QKnxNpdu PointToPointConnectionOriented::createUserManufacturerInfoResponseNpdu(quint8 manufacturerId, quint16 manufacturerSpecific, quint8 seqNumber)

[static] QKnxNpdu PointToPointConnectionOriented::createUserMemoryReadNpdu(quint8 addressExtention, quint8 number, quint16 address, quint8 seqNumber)

Returns a QKnxNpdu for User Memory Read Application Service with addressExtention, number, address and sequence number seqNumber set.

[static] QKnxNpdu PointToPointConnectionOriented::createUserMemoryResponseNpdu(quint8 addressExtention, quint8 number, quint16 address, const QByteArray &data, quint8 seqNumber)

[static] QKnxNpdu PointToPointConnectionOriented::createUserMemoryWriteNpdu(quint8 addressExtention, quint8 number, quint16 address, const QByteArray &data, quint8 seqNumber)

Returns a NPDU for User Memory Write Application Service with addressExtention, number, address, data and seqNumber set.

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.