Microchip® Advanced Software Framework

common/components/wifi/winc1500/power_save_mode_example/main.h File Reference

MAIN configuration.

Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define MAIN_PS_REQ_SLEEP   3
 
#define MAIN_PS_SLEEP   1
 
#define MAIN_PS_SLEEP_MODE   M2M_PS_MANUAL /* M2M_NO_PS / M2M_PS_DEEP_AUTOMATIC / M2M_PS_MANUAL */
 PowerSave mode Settings. More...
 
#define MAIN_PS_WAKE   0
 PowerSave status. More...
 
#define MAIN_REQUEST_SLEEP_TIME   1000
 Request sleep time for PowerSave manual mode. More...
 
#define MAIN_WLAN_AUTH   M2M_WIFI_SEC_WPA_PSK /* < Security manner */
 
#define MAIN_WLAN_PSK   "12345678" /* < Password for Destination SSID */
 
#define MAIN_WLAN_SSID   "DEMO_AP" /* < Destination SSID */
 Wi-Fi Settings. More...
 

#define MAIN_PS_REQ_SLEEP   3

Referenced by main(), and wifi_cb().

#define MAIN_PS_SLEEP   1

Referenced by main().

#define MAIN_PS_SLEEP_MODE   M2M_PS_MANUAL /* M2M_NO_PS / M2M_PS_DEEP_AUTOMATIC / M2M_PS_MANUAL */

PowerSave mode Settings.

Referenced by main().

#define MAIN_PS_WAKE   0

PowerSave status.

Referenced by wifi_cb().

#define MAIN_REQUEST_SLEEP_TIME   1000

Request sleep time for PowerSave manual mode.

Referenced by main().

#define MAIN_WLAN_AUTH   M2M_WIFI_SEC_WPA_PSK /* < Security manner */
#define MAIN_WLAN_PSK   "12345678" /* < Password for Destination SSID */
#define MAIN_WLAN_SSID   "DEMO_AP" /* < Destination SSID */

Wi-Fi Settings.