|
MeterLogger
|
#include "httpd.h"Go to the source code of this file.
Functions | |
| int | cgiWiFiScan (HttpdConnData *connData) |
| void | tplSetup (HttpdConnData *connData, char *token, void **arg) |
| int | cgiWiFi (HttpdConnData *connData) |
| int | cgiSetup (HttpdConnData *connData) |
| int | cgiWifiSetMode (HttpdConnData *connData) |
| int cgiSetup | ( | HttpdConnData * | connData | ) |
Definition at line 168 of file cgiwifi.c.
References cfg_save(), HttpdConnData::conn, HTTPD_CGI_DONE, httpdFindArg(), httpdRedirect(), INFO, kw_to_w_str(), NULL, os_strncpy, os_timer_arm, os_timer_disarm, os_timer_setfn, HttpdConnData::postBuff, resetTimer, resetTimerCb(), syscfg_t::sta_pwd, syscfg_t::sta_ssid, and sys_cfg.
| int cgiWiFi | ( | HttpdConnData * | connData | ) |
| int cgiWiFiScan | ( | HttpdConnData * | connData | ) |
Definition at line 108 of file cgiwifi.c.
References ScanResultData::apData, ApData::enc, HTTPD_CGI_DONE, httpdEndHeaders(), httpdHeader(), httpdSend(), httpdStartResponse(), ScanResultData::noAps, NULL, ApData::rssi, ScanResultData::scanInProgress, ApData::ssid, strlen, tfp_snprintf(), and wifiStartScan().
| int cgiWifiSetMode | ( | HttpdConnData * | connData | ) |
Definition at line 225 of file cgiwifi.c.
References HttpdConnData::conn, HttpdConnData::getArgs, HTTPD_CGI_DONE, httpdFindArg(), httpdRedirect(), INFO, NULL, system_restart(), and wifi_set_opmode().
| void tplSetup | ( | HttpdConnData * | connData, |
| char * | token, | ||
| void ** | arg | ||
| ) |
Definition at line 247 of file cgiwifi.c.
References cfg_load(), httpdSend(), NULL, os_strcmp, os_strcpy, syscfg_t::sta_pwd, syscfg_t::sta_ssid, sys_cfg, tfp_snprintf(), w_to_kw_str(), and wifi_get_opmode().
1.8.13