mirror of
https://github.com/thelsing/knx.git
synced 2025-09-05 17:50:22 +02:00
Add empty confirm methods
This commit is contained in:
parent
e7478eac32
commit
013104aad9
@ -239,20 +239,20 @@ void ApplicationLayer::dataBroadcastConfirm(AckType ack, HopCountType hopType, P
|
|||||||
popByte(testInfo[1], data + 5);
|
popByte(testInfo[1], data + 5);
|
||||||
propertyId = (propertyId >> 4) & 0x0FFF;;
|
propertyId = (propertyId >> 4) & 0x0FFF;;
|
||||||
testInfo[0] &= 0x0F;
|
testInfo[0] &= 0x0F;
|
||||||
//TODO: _bau.systemNetworkParameterReadLocalConfirm(priority, hopType, objectType, propertyId, testInfo, sizeof(testInfo), status);
|
_bau.systemNetworkParameterReadLocalConfirm(priority, hopType, objectType, propertyId, testInfo, sizeof(testInfo), status);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DomainAddressSerialNumberWrite:
|
case DomainAddressSerialNumberWrite:
|
||||||
{
|
{
|
||||||
const uint8_t* knxSerialNumber = &data[1];
|
const uint8_t* knxSerialNumber = &data[1];
|
||||||
const uint8_t* domainAddress = &data[7];
|
const uint8_t* domainAddress = &data[7];
|
||||||
//TODO: _bau.domainAddressSerialNumberWriteLocalConfirm(priority, hopType, domainAddress, knxSerialNumber, status);
|
_bau.domainAddressSerialNumberWriteLocalConfirm(priority, hopType, domainAddress, knxSerialNumber, status);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DomainAddressSerialNumberRead:
|
case DomainAddressSerialNumberRead:
|
||||||
{
|
{
|
||||||
const uint8_t* knxSerialNumber = &data[1];
|
const uint8_t* knxSerialNumber = &data[1];
|
||||||
//TODO: _bau.domainAddressSerialNumberReadLocalConfirm(priority, hopType, knxSerialNumber, status);
|
_bau.domainAddressSerialNumberReadLocalConfirm(priority, hopType, knxSerialNumber, status);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -256,6 +256,20 @@ void BusAccessUnit::domainAddressSerialNumberReadIndication(Priority priority, H
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void BusAccessUnit::systemNetworkParameterReadLocalConfirm(Priority priority, HopCountType hopType, uint16_t objectType,
|
||||||
|
uint16_t propertyId, uint8_t* testInfo, uint16_t testInfoLength, bool status)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void BusAccessUnit::domainAddressSerialNumberWriteLocalConfirm(Priority priority, HopCountType hopType, const uint8_t* rfDoA,
|
||||||
|
const uint8_t* knxSerialNumber, bool status)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void BusAccessUnit::domainAddressSerialNumberReadLocalConfirm(Priority priority, HopCountType hopType, const uint8_t* knxSerialNumber, bool status)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void BusAccessUnit::propertyValueRead(ObjectType objectType, uint8_t objectInstance, uint8_t propertyId,
|
void BusAccessUnit::propertyValueRead(ObjectType objectType, uint8_t objectInstance, uint8_t propertyId,
|
||||||
uint8_t& numberOfElements, uint16_t startIndex,
|
uint8_t& numberOfElements, uint16_t startIndex,
|
||||||
uint8_t** data, uint32_t& length)
|
uint8_t** data, uint32_t& length)
|
||||||
|
@ -119,6 +119,14 @@ class BusAccessUnit
|
|||||||
|
|
||||||
virtual void domainAddressSerialNumberReadIndication(Priority priority, HopCountType hopType, const uint8_t* knxSerialNumber);
|
virtual void domainAddressSerialNumberReadIndication(Priority priority, HopCountType hopType, const uint8_t* knxSerialNumber);
|
||||||
|
|
||||||
|
virtual void systemNetworkParameterReadLocalConfirm(Priority priority, HopCountType hopType, uint16_t objectType,
|
||||||
|
uint16_t propertyId, uint8_t* testInfo, uint16_t testInfoLength, bool status);
|
||||||
|
|
||||||
|
virtual void domainAddressSerialNumberWriteLocalConfirm(Priority priority, HopCountType hopType, const uint8_t* rfDoA,
|
||||||
|
const uint8_t* knxSerialNumber, bool status);
|
||||||
|
|
||||||
|
virtual void domainAddressSerialNumberReadLocalConfirm(Priority priority, HopCountType hopType, const uint8_t* knxSerialNumber, bool status);
|
||||||
|
|
||||||
virtual void propertyValueRead(ObjectType objectType, uint8_t objectInstance, uint8_t propertyId,
|
virtual void propertyValueRead(ObjectType objectType, uint8_t objectInstance, uint8_t propertyId,
|
||||||
uint8_t& numberOfElements, uint16_t startIndex,
|
uint8_t& numberOfElements, uint16_t startIndex,
|
||||||
uint8_t** data, uint32_t& length);
|
uint8_t** data, uint32_t& length);
|
||||||
|
@ -150,4 +150,14 @@ void Bau27B0::individualAddressSerialNumberReadIndication(Priority priority, Hop
|
|||||||
_appLayer.IndividualAddressSerialNumberReadResponse(priority, hopType, _rfMediumObj.rfDomainAddress(), knxSerialNumber);
|
_appLayer.IndividualAddressSerialNumberReadResponse(priority, hopType, _rfMediumObj.rfDomainAddress(), knxSerialNumber);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Bau27B0::domainAddressSerialNumberWriteLocalConfirm(Priority priority, HopCountType hopType, const uint8_t* rfDoA,
|
||||||
|
const uint8_t* knxSerialNumber, bool status)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void Bau27B0::domainAddressSerialNumberReadLocalConfirm(Priority priority, HopCountType hopType, const uint8_t* knxSerialNumber, bool status)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif // #ifdef USE_RF
|
#endif // #ifdef USE_RF
|
||||||
|
@ -34,5 +34,8 @@ class Bau27B0 : public BauSystemB
|
|||||||
void individualAddressSerialNumberWriteIndication(Priority priority, HopCountType hopType, uint16_t newIndividualAddress,
|
void individualAddressSerialNumberWriteIndication(Priority priority, HopCountType hopType, uint16_t newIndividualAddress,
|
||||||
uint8_t* knxSerialNumber) override;
|
uint8_t* knxSerialNumber) override;
|
||||||
void individualAddressSerialNumberReadIndication(Priority priority, HopCountType hopType, uint8_t* knxSerialNumber) override;
|
void individualAddressSerialNumberReadIndication(Priority priority, HopCountType hopType, uint8_t* knxSerialNumber) override;
|
||||||
|
void domainAddressSerialNumberWriteLocalConfirm(Priority priority, HopCountType hopType, const uint8_t* rfDoA,
|
||||||
|
const uint8_t* knxSerialNumber, bool status) override;
|
||||||
|
void domainAddressSerialNumberReadLocalConfirm(Priority priority, HopCountType hopType, const uint8_t* knxSerialNumber, bool status) override;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -393,6 +393,11 @@ void BauSystemB::systemNetworkParameterReadIndication(Priority priority, HopCoun
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void BauSystemB::systemNetworkParameterReadLocalConfirm(Priority priority, HopCountType hopType, uint16_t objectType,
|
||||||
|
uint16_t propertyId, uint8_t* testInfo, uint16_t testInfoLength, bool status)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void BauSystemB::propertyValueRead(ObjectType objectType, uint8_t objectInstance, uint8_t propertyId,
|
void BauSystemB::propertyValueRead(ObjectType objectType, uint8_t objectInstance, uint8_t propertyId,
|
||||||
uint8_t &numberOfElements, uint16_t startIndex,
|
uint8_t &numberOfElements, uint16_t startIndex,
|
||||||
uint8_t **data, uint32_t &length)
|
uint8_t **data, uint32_t &length)
|
||||||
@ -433,4 +438,4 @@ void BauSystemB::propertyValueWrite(ObjectType objectType, uint8_t objectInstanc
|
|||||||
Memory& BauSystemB::memory()
|
Memory& BauSystemB::memory()
|
||||||
{
|
{
|
||||||
return _memory;
|
return _memory;
|
||||||
}
|
}
|
||||||
|
@ -68,6 +68,8 @@ class BauSystemB : protected BusAccessUnit
|
|||||||
uint8_t* data, uint8_t dataLength) override;
|
uint8_t* data, uint8_t dataLength) override;
|
||||||
void systemNetworkParameterReadIndication(Priority priority, HopCountType hopType, uint16_t objectType,
|
void systemNetworkParameterReadIndication(Priority priority, HopCountType hopType, uint16_t objectType,
|
||||||
uint16_t propertyId, uint8_t* testInfo, uint16_t testinfoLength) override;
|
uint16_t propertyId, uint8_t* testInfo, uint16_t testinfoLength) override;
|
||||||
|
void systemNetworkParameterReadLocalConfirm(Priority priority, HopCountType hopType, uint16_t objectType,
|
||||||
|
uint16_t propertyId, uint8_t* testInfo, uint16_t testInfoLength, bool status) override;
|
||||||
void connectConfirm(uint16_t tsap) override;
|
void connectConfirm(uint16_t tsap) override;
|
||||||
|
|
||||||
virtual InterfaceObject* getInterfaceObject(uint8_t idx) = 0;
|
virtual InterfaceObject* getInterfaceObject(uint8_t idx) = 0;
|
||||||
@ -97,4 +99,4 @@ class BauSystemB : protected BusAccessUnit
|
|||||||
bool _configured = true;
|
bool _configured = true;
|
||||||
RestartState _restartState = Idle;
|
RestartState _restartState = Idle;
|
||||||
uint32_t _restartDelay = 0;
|
uint32_t _restartDelay = 0;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user