Skip to content

Commit 236b6d0

Browse files
committed
feat(wifi): Add sleep level and listen interval to modem sleep and light sleep
internal gitlab: abf945d5
1 parent 151e2fe commit 236b6d0

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ gwen:
33
crypto : 350448e
44
espnow : 350448e
55
json : ce90efd
6-
main : e915b22
6+
main : 097de86
77
net80211 : 350448e
8-
pp : 350448e
8+
pp : 097de86
99
smartconfig : 350448e
1010
ssl : b19a6f7
1111
upgrade : b19a6f7

include/user_interface.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,17 @@ enum sleep_type {
423423
MODEM_SLEEP_T
424424
};
425425

426+
enum sleep_level {
427+
MIN_SLEEP_T,
428+
MAX_SLEEP_T
429+
};
430+
426431
bool wifi_set_sleep_type(enum sleep_type type);
427432
enum sleep_type wifi_get_sleep_type(void);
433+
bool wifi_set_sleep_level(enum sleep_level level);
434+
enum sleep_level wifi_get_sleep_level(void);
435+
bool wifi_set_listen_interval(uint8 interval);
436+
uint8 wifi_get_listen_interval(void);
428437

429438
void wifi_fpm_open(void);
430439
void wifi_fpm_close(void);

lib/libmain.a

1020 Bytes
Binary file not shown.

lib/libpp.a

1.38 KB
Binary file not shown.

0 commit comments

Comments
 (0)