![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
#include "lwip/opt.h"
#include <stdio.h>
#include <string.h>
#include "lwip/netif.h"
#include "lwip/sys.h"
#include "lwip/arch.h"
#include "lwip/api.h"
#include "lwip/tcpip.h"
#include "netif/etharp.h"
#include "fsl_clock_manager.h"
#include "fsl_os_abstraction.h"
#include "ethernetif.h"
#include "board.h"
#include "index_html.h"
#include "hvac_html.h"
#include "hvac_input_html.h"
#include "hvac.h"
#include "hvac_public.h"
#include "hvac_private.h"
Macros | |
#define | HTTPD_DEBUG |
#define | HTTPD_STACKSIZE |
#define | HTTPD_PRIORITY |
#define | HVAC_TASK_STACK |
#define | HVAC_PRIORITY |
#define | HEARTBEAT_TASK_STACK |
#define | HEARTBEAT_PRIORITY |
#define | REPLY_MSG |
Functions | |
OSA_TASK_DEFINE (hvac, HVAC_TASK_STACK) | |
OSA_TASK_DEFINE (heart_beat, HEARTBEAT_TASK_STACK) | |
bool | index_address (const char *buf, const char *sub_str) |
int32_t | parse_configs (const char *buf, char *name, char *var_in, int32_t var_in_len) |
static void | handle_request (struct netconn *conn, const char *buf_in) |
static void | http_server_netconn_serve (struct netconn *conn) |
Serve one HTTP connection accepted in the http thread. More... | |
static void | http_server_netconn_thread (void *arg) |
The main function containing server thread. More... | |
void | http_server_netconn_init () |
Initialize the HTTP server. More... | |
static void | app_low_level_init (void) |
Initialize hardware. More... | |
int | main (void) |
Main function. More... | |
Variables | |
static const char | http_html_hdr [] |
char | feedback_msg [50] |
struct netif | fsl_netif0 |
#define HEARTBEAT_PRIORITY |
#define HEARTBEAT_TASK_STACK |
#define HTTPD_DEBUG |
#define HTTPD_PRIORITY |
#define HTTPD_STACKSIZE |
#define HVAC_PRIORITY |
#define HVAC_TASK_STACK |
#define REPLY_MSG |
|
static |
|
static |
void http_server_netconn_init | ( | void | ) |
|
static |
|
static |
bool index_address | ( | const char * | buf, |
const char * | sub_str | ||
) |
int main | ( | void | ) |
Function prototype for main function.
receiveBuff | Buffer used to hold received data |
OSA_TASK_DEFINE | ( | hvac | , |
HVAC_TASK_STACK | |||
) |
OSA_TASK_DEFINE | ( | heart_beat | , |
HEARTBEAT_TASK_STACK | |||
) |
int32_t parse_configs | ( | const char * | buf, |
char * | name, | ||
char * | var_in, | ||
int32_t | var_in_len | ||
) |
char feedback_msg[50] |
struct netif fsl_netif0 |
|
static |