Skip to content

Commit

Permalink
Wait a short while before CAN retransmit, just in case.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkGodwin committed Jan 30, 2021
1 parent d1306a4 commit 36a19a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/Defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ namespace OpenZWave
#define MAX_TRIES 1 // set this to one, as I believe now that a ACK failure is indication that the device is offline, hence additional attempts will not work.
#define MAX_MAX_TRIES 7 // Don't exceed this retry limit
#define ACK_TIMEOUT 1000 // How long to wait for an ACK
#define CAN_NAK_TIMEOUT 0 // How long to wait before re-transmit after a CAN.
#define CAN_NAK_TIMEOUT 50 // How long to wait before re-transmit after a CAN.
#define BYTE_TIMEOUT 150
//#define RETRY_TIMEOUT 40000 // Retry send after 40 seconds
#define RETRY_TIMEOUT 10000 // Retry send after 10 seconds (we might need to keep this below 10 for Security CC to function correctly)
Expand Down

0 comments on commit 36a19a2

Please sign in to comment.