Skip to content

Commit b790908

Browse files
sandeepmistryRocketct
authored andcommitted
Increase poll time of checking connection status to 100ms on begin, also adjust retry count accordingly
1 parent 7798c81 commit b790908

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/utility/wifi_drv.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929

3030
// Key index length
3131
#define KEY_IDX_LEN 1
32-
// 5 secs of delay to have the connection established
33-
#define WL_DELAY_START_CONNECTION 5000
32+
// 100 msecs of delay to have the connection established
33+
#define WL_DELAY_START_CONNECTION 100
3434
// firmware version string length
3535
#define WL_FW_VER_LENGTH 6
3636

src/utility/wl_definitions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
// Default state value for Wifi state field
4747
#define NA_STATE -1
4848
//Maximum number of attempts to establish wifi connection
49-
#define WL_MAX_ATTEMPT_CONNECTION 10
49+
#define WL_MAX_ATTEMPT_CONNECTION 500
5050

5151
typedef enum {
5252
WL_NO_SHIELD = 255,

0 commit comments

Comments
 (0)