Skip to content

Commit 9df7ffb

Browse files
authored
Increase duplicate window detection to 15 seconds and make configurable (#1431)
Signed-off-by: Chris Jackson <[email protected]>
1 parent cd4eef1 commit 9df7ffb

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

com.zsmartsystems.zigbee/src/main/java/com/zsmartsystems/zigbee/ZigBeeNetworkManager.java

+9
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,15 @@ public ZigBeeKey getZigBeeNetworkKey() {
597597
return transport.getZigBeeNetworkKey();
598598
}
599599

600+
/**
601+
* Gets the {@link ApdDataEntity} in use by the network manager. This allows configuration of the APSDE.
602+
*
603+
* @return the {@link ApdDataEntity} in use by the network manager.
604+
*/
605+
public ApsDataEntity getApsDataEntity() {
606+
return apsDataEntity;
607+
}
608+
600609
/**
601610
* Set the current link key in use by the system.
602611
* <p>

com.zsmartsystems.zigbee/src/main/java/com/zsmartsystems/zigbee/aps/ApsDataEntity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
*
4444
*/
4545
public class ApsDataEntity {
46-
private static final long DUPLICATE_TIME_WINDOW = 5000;
46+
private static final long DUPLICATE_TIME_WINDOW = 15000;
4747

4848
private static final int FRAGMENTATION_LENGTH = 78;
4949
private static final int FRAGMENTATION_WINDOW = 1;

0 commit comments

Comments
 (0)