aboutsummaryrefslogtreecommitdiff
path: root/cc3200/mods/modwlan.h
diff options
context:
space:
mode:
authordanicampora2015-03-04 13:52:39 +0100
committerdanicampora2015-03-11 17:00:33 +0100
commit9e44383e3f4092940a1e1b49a278978df99f7b08 (patch)
tree606ad67566b41bb037bd02e678891dfb69db6c70 /cc3200/mods/modwlan.h
parent73aee8da54f847341d0fd9718d05ca964654a6dd (diff)
cc3200: Add power management framework. Add mpcallback class.
Supports suspend and hibernate modes. Waking is possible throug GPIO and WLAN. The mpcallback class is generic and can be reused by other classes.
Diffstat (limited to 'cc3200/mods/modwlan.h')
-rw-r--r--cc3200/mods/modwlan.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/cc3200/mods/modwlan.h b/cc3200/mods/modwlan.h
index 684708e64..da60d2690 100644
--- a/cc3200/mods/modwlan.h
+++ b/cc3200/mods/modwlan.h
@@ -32,6 +32,7 @@
******************************************************************************/
#define SIMPLELINK_SPAWN_TASK_PRIORITY 3
#define SIMPLELINK_TASK_STACK_SIZE 2048
+#define SL_STOP_TIMEOUT 35
/******************************************************************************
DEFINE TYPES
@@ -40,8 +41,7 @@ typedef enum {
MODWLAN_OK = 0,
MODWLAN_ERROR_INVALID_PARAMS = -1,
MODWLAN_ERROR_TIMEOUT = -2,
- MODWLAN_ERROR_UNKNOWN = -3
-
+ MODWLAN_ERROR_UNKNOWN = -3,
}modwlan_Status_t;
/******************************************************************************
@@ -60,7 +60,6 @@ extern void wlan_start (void);
extern SlWlanMode_t wlan_get_mode (void);
extern void wlan_get_mac (uint8_t *macAddress);
extern void wlan_get_ip (uint32_t *ip);
-extern void wlan_set_pm_policy (uint8_t policy);
extern void wlan_stop_servers (void);
#endif /* MODWLAN_H_ */