Microchip® Advanced Software Framework

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

MAIN configuration.

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

Macros

#define IPV4_BYTE(val, index)   ((val >> (index * 8)) & 0xFF)
 Using IP address. More...
 
#define MAIN_HOST_NAME   "www.google.com"
 All SSL defines. More...
 
#define MAIN_HOST_PORT   443
 
#define MAIN_WLAN_AUTH   M2M_WIFI_SEC_WPA_PSK
 Security manner. More...
 
#define MAIN_WLAN_PSK   "12345678"
 Password for Destination SSID. More...
 
#define MAIN_WLAN_SSID   "DEMO_AP"
 Wi-Fi Settings. More...
 

Enumerations

enum  eSocketStatus {
  SocketInit = 0,
  SocketConnect,
  SocketWaiting,
  SocketComplete,
  SocketError,
  SocketInit = 0,
  SocketConnect,
  SocketWaiting,
  SocketComplete,
  SocketError,
  SocketInit = 0,
  SocketConnect,
  SocketWaiting,
  SocketComplete,
  SocketError,
  SocketInit = 0,
  SocketConnect,
  SocketWaiting,
  SocketComplete,
  SocketError,
  SocketInit = 0,
  SocketConnect,
  SocketWaiting,
  SocketComplete,
  SocketError,
  SocketInit = 0,
  SocketConnect,
  SocketWaiting,
  SocketComplete,
  SocketError
}
 

#define IPV4_BYTE (   val,
  index 
)    ((val >> (index * 8)) & 0xFF)

Using IP address.

#define MAIN_HOST_NAME   "www.google.com"

All SSL defines.

Referenced by sslConnect(), and wifi_cb().

#define MAIN_HOST_PORT   443

Referenced by sslConnect().

#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"

Wi-Fi Settings.

Destination SSID

Enumerator
SocketInit 
SocketConnect 
SocketWaiting 
SocketComplete 
SocketError 
SocketInit 
SocketConnect 
SocketWaiting 
SocketComplete 
SocketError 
SocketInit 
SocketConnect 
SocketWaiting 
SocketComplete 
SocketError 
SocketInit 
SocketConnect 
SocketWaiting 
SocketComplete 
SocketError 
SocketInit 
SocketConnect 
SocketWaiting 
SocketComplete 
SocketError 
SocketInit 
SocketConnect 
SocketWaiting 
SocketComplete 
SocketError