Microchip® Advanced Software Framework

winc3400/mode_sta_bypass_example/sta.h File Reference

STA Task.

Copyright (c) 2019 Microchip Technology Inc. and its subsidiaries.

Macros

#define STA_POST_BUFFER   "&appid=c592e14137c3471fa9627b44f6649db4&mode=xml&units=metric HTTP/1.1\r\nHost: api.openweathermap.org\r\nAccept: */*\r\n\r\n"
 
#define STA_PREFIX_BUFFER   "GET /data/2.5/weather?q="
 Send buffer of TCP socket. More...
 
#define STA_WEATHER_SERVER_NAME   "api.openweathermap.org"
 Weather information provider server. More...
 
#define STA_WLAN_AUTH   M2M_WIFI_SEC_WPA_PSK /* < Security type */
 
#define STA_WLAN_PSK   "12345678" /* < Password for Destination SSID */
 
#define STA_WLAN_SSID   "DEMO_AP" /* < Destination SSID */
 Wi-Fi Settings. More...
 

Functions

void sta_task (void *argument)
 STA task main function. More...
 

#define STA_POST_BUFFER   "&appid=c592e14137c3471fa9627b44f6649db4&mode=xml&units=metric HTTP/1.1\r\nHost: api.openweathermap.org\r\nAccept: */*\r\n\r\n"
#define STA_PREFIX_BUFFER   "GET /data/2.5/weather?q="

Send buffer of TCP socket.

#define STA_WEATHER_SERVER_NAME   "api.openweathermap.org"

Weather information provider server.

#define STA_WLAN_AUTH   M2M_WIFI_SEC_WPA_PSK /* < Security type */
#define STA_WLAN_PSK   "12345678" /* < Password for Destination SSID */
#define STA_WLAN_SSID   "DEMO_AP" /* < Destination SSID */

Wi-Fi Settings.