Skip to content

Commit a3d606d

Browse files
committed
try polling for a larger packet for a longer duration
1 parent 5c60bf7 commit a3d606d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/register/Wippersnapper_Register.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ void Wippersnapper::pollRegistrationResp() {
8080
while (WS._boardStatus != WS_BOARD_DEF_OK) {
8181
WS_DEBUG_PRINT("Polling for registration message response...");
8282
WS_DEBUG_PRINTLN(WS._boardStatus);
83-
WS._mqtt->processPackets(5); // poll
84-
// WS._mqtt->ping(); // keepalive
83+
WS._mqtt->processPackets(20); // long-poll
8584
}
8685
}
8786

0 commit comments

Comments
 (0)