Microchip® Advanced Software Framework

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

MAIN configuration.

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

Data Structures

struct  low_power_test_param
 

Macros

#define AP_CONNECTION_TOGGLE   1
 
#define DEFAULT_DTIM_FLAG   1
 
#define DEFAULT_RX_POWER   PWR_HIGH /*Default RX sensitivity mode in the test*/
 
#define DEFAULT_TX_POWER   TX_PWR_HIGH /*Default TX power mode in the test*/
 
#define TCP_CONNECTION_TOGGLE   0
 
#define TCP_UPLOAD_TOGGLE   0
 
#define TEST_SSL_SERVER_PORT   443 /*SSL server port number*/
 
#define TEST_SSL_TCP_IP   "192.168.1.122" /*SSL or TCP IP address of the server*/
 
#define TEST_SSL_UPLOAD_SIZE   1 /*Number of time "TX_PACKET_SIZE" bytes are sent out*/
 
#define TEST_TCP_SERVER_PORT   6666 /*TCP server port number*/
 
#define TEST_WINC_RECEIVE_BUFFER   1460 /*Receive Buffer for WINC1500*/
 
#define TEST_WINC_SERVER_IP   "255.255.255.255" /*WINC1500 Listen IP address*/
 
#define TEST_WINC_SERVER_PORT   6666 /*WINC1500 Listen Port or destination port if UDP is used*/
 
#define TEST_WLAN_AUTH   M2M_WIFI_SEC_WPA_PSK /*Security Type*/
 
#define TEST_WLAN_PSK   "password" /* Password for SSID */
 
#define TEST_WLAN_SSID   "Demo_AP" /*Destination SSID */
 Wi-Fi Settings. More...
 
#define TX_DELAY_MS   100 /*Delay between packets in TX profiling*/
 
#define TX_PACKET_SIZE   64 /*Packet size used in profiling*/
 

Enumerations

enum  app_states {
  IDLE_STATE = 0,
  WIFI_CONNECTION_STATE,
  SOCKET_CONNECTION_STATE
}
 

#define AP_CONNECTION_TOGGLE   1
#define DEFAULT_DTIM_FLAG   1

Referenced by main().

#define DEFAULT_RX_POWER   PWR_HIGH /*Default RX sensitivity mode in the test*/
#define DEFAULT_TX_POWER   TX_PWR_HIGH /*Default TX power mode in the test*/

Referenced by main().

#define TCP_CONNECTION_TOGGLE   0
#define TCP_UPLOAD_TOGGLE   0
#define TEST_SSL_SERVER_PORT   443 /*SSL server port number*/

Referenced by connect_to_server().

#define TEST_SSL_TCP_IP   "192.168.1.122" /*SSL or TCP IP address of the server*/
#define TEST_SSL_UPLOAD_SIZE   1 /*Number of time "TX_PACKET_SIZE" bytes are sent out*/
#define TEST_TCP_SERVER_PORT   6666 /*TCP server port number*/

Referenced by connect_to_server().

#define TEST_WINC_RECEIVE_BUFFER   1460 /*Receive Buffer for WINC1500*/
#define TEST_WINC_SERVER_IP   "255.255.255.255" /*WINC1500 Listen IP address*/

Referenced by test_init().

#define TEST_WINC_SERVER_PORT   6666 /*WINC1500 Listen Port or destination port if UDP is used*/

Referenced by test_init().

#define TEST_WLAN_AUTH   M2M_WIFI_SEC_WPA_PSK /*Security Type*/

Referenced by test_init().

#define TEST_WLAN_PSK   "password" /* Password for SSID */

Referenced by test_init().

#define TEST_WLAN_SSID   "Demo_AP" /*Destination SSID */

Wi-Fi Settings.

Referenced by test_init().

#define TX_DELAY_MS   100 /*Delay between packets in TX profiling*/

Referenced by start_transmission_test().

#define TX_PACKET_SIZE   64 /*Packet size used in profiling*/

enum app_states
Enumerator
IDLE_STATE 
WIFI_CONNECTION_STATE 
SOCKET_CONNECTION_STATE