LOM2M  0.8.0
Macros | Functions | Variables
bsp-esp8266.h File Reference
#include <Arduino.h>
#include <ESP8266WebServer.h>
#include <detail/mimetable.h>
#include "bsp.h"

Go to the source code of this file.

Macros

#define PSTR(x)   x
 
#define PROGMEM
 

Functions

const String HTTPCode2Human (HTTPCode code)
 
void sendReply (HTTPCode code, const String &contentType, const String &message)
 
template<typename T >
const String & HTTPHeader (const T &attribute)
 
template<typename T >
const String & HTTPArg (const T &key)
 
template<typename T >
bool HTTPHasArg (const T &key)
 
const String & HTTPContent ()
 
const String & HTTPArgValueByIndex (int i)
 
const String & HTTPArgNameByIndex (int i)
 
const int ArgsNumber ()
 
HTTPMethod method ()
 

Variables

ESP8266WebServer om2msrv
 

Macro Definition Documentation

◆ PROGMEM

#define PROGMEM

◆ PSTR

#define PSTR (   x)    x

Function Documentation

◆ ArgsNumber()

const int ArgsNumber ( )
inline

◆ HTTPArg()

template<typename T >
const String& HTTPArg ( const T &  key)
inline

◆ HTTPArgNameByIndex()

const String& HTTPArgNameByIndex ( int  i)
inline

◆ HTTPArgValueByIndex()

const String& HTTPArgValueByIndex ( int  i)
inline

◆ HTTPCode2Human()

const String HTTPCode2Human ( HTTPCode  code)
inline

◆ HTTPContent()

const String& HTTPContent ( )
inline

◆ HTTPHasArg()

template<typename T >
bool HTTPHasArg ( const T &  key)
inline

◆ HTTPHeader()

template<typename T >
const String& HTTPHeader ( const T &  attribute)
inline

◆ method()

HTTPMethod method ( )
inline

◆ sendReply()

void sendReply ( HTTPCode  code,
const String &  contentType,
const String &  message 
)
inline

Variable Documentation

◆ om2msrv

ESP8266WebServer om2msrv
extern