mirror of
https://github.com/thelsing/knx.git
synced 2025-08-17 13:47:28 +02:00
Use default value from PID_ROUTING_COUNT
This commit is contained in:
parent
50b63edda4
commit
6a3f5273ca
@ -35,7 +35,7 @@ DeviceObject::DeviceObject()
|
||||
new DataProperty(PID_DEVICE_CONTROL, true, PDT_BITSET8, 1, ReadLv3 | WriteLv3, (uint8_t)0),
|
||||
new DataProperty(PID_ORDER_INFO, false, PDT_GENERIC_10, 1, ReadLv3 | WriteLv0),
|
||||
new DataProperty(PID_VERSION, false, PDT_VERSION, 1, ReadLv3 | WriteLv0, (uint16_t)3),
|
||||
new DataProperty(PID_ROUTING_COUNT, true, PDT_UNSIGNED_CHAR, 1, ReadLv3 | WriteLv3, (uint8_t)0),
|
||||
new DataProperty(PID_ROUTING_COUNT, true, PDT_UNSIGNED_CHAR, 1, ReadLv3 | WriteLv3, (uint8_t)6),
|
||||
new CallbackProperty<DeviceObject>(this, PID_PROG_MODE, true, PDT_BITSET8, 1, ReadLv3 | WriteLv3,
|
||||
[](DeviceObject* io, uint16_t start, uint8_t count, uint8_t* data) -> uint8_t
|
||||
{
|
||||
|
@ -42,5 +42,5 @@ class NetworkLayer
|
||||
|
||||
private:
|
||||
TransportLayer& _transportLayer;
|
||||
uint8_t _hopCount = 6;
|
||||
uint8_t _hopCount; // Network Layer Parameter hop_count for the device's own outgoing frames (default value from PID_ROUTING_COUNT)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user