Microchip® Advanced Software Framework

components/wifi/winc3400/ssl_connect_example/main.h File Reference

MAIN configuration.

Copyright (c) 2017-2019 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 type. 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
}
 

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

Using IP address.

#define MAIN_HOST_NAME   "www.google.com"

All SSL defines.

#define MAIN_HOST_PORT   443
#define MAIN_WLAN_AUTH   M2M_WIFI_SEC_WPA_PSK

Security type.

#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