You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
433 B
25 lines
433 B
//
|
|
// Created by MightyPork on 2017/10/01.
|
|
//
|
|
|
|
#ifndef ESPTERM_CGI_D2D_H
|
|
#define ESPTERM_CGI_D2D_H
|
|
|
|
#include <esp8266.h>
|
|
#include <httpd.h>
|
|
|
|
#if DEBUG_D2D
|
|
#define d2d_warn warn
|
|
#define d2d_dbg dbg
|
|
#define d2d_info info
|
|
#else
|
|
#define d2d_warn(fmt, ...)
|
|
#define d2d_dbg(fmt, ...)
|
|
#define d2d_info(fmt, ...)
|
|
#endif
|
|
|
|
bool d2d_parse_command(char *msg);
|
|
|
|
httpd_cgi_state cgiD2DMessage(HttpdConnData *connData);
|
|
|
|
#endif //ESPTERM_CGI_D2D_H
|
|
|