EnigmaIOT  0.9.8
Secure sensor and gateway platform based on ESP8266 and ESP32
Functions | Variables
GatewayAPI.cpp File Reference

API web server to control EnigmaIOT Gateway. More...

#include "GatewayAPI.h"
#include <functional>

Go to the source code of this file.

Functions

String methodToString (WebRequestMethodComposite method)
 

Variables

const char * getNodeNumberUri = "/api/gw/nodenumber"
 
const char * getMaxNodesUri = "/api/gw/maxnodes"
 
const char * getNodesUri = "/api/gw/nodes"
 
const char * getNodeUri = "/api/node/node"
 
const char * getGwInfoUri = "/api/gw/info"
 
const char * getGwRestartUri = "/api/gw/restart"
 
const char * getGwResettUri = "/api/gw/reset"
 
const char * getNodeRestartUri = "/api/node/restart"
 
const char * nodeIdParam = "nodeid"
 
const char * nodeNameParam = "nodename"
 
const char * nodeAddrParam = "nodeaddr"
 
const char * confirmParam = "confirm"
 
GatewayAPI GwAPI
 API instance. More...
 

Detailed Description

API web server to control EnigmaIOT Gateway.

Version
0.9.8
Date
15/07/2021
Author
German Martin

Definition in file GatewayAPI.cpp.

Function Documentation

◆ methodToString()

String methodToString ( WebRequestMethodComposite  method)

Definition at line 358 of file GatewayAPI.cpp.

Variable Documentation

◆ confirmParam

const char* confirmParam = "confirm"

Definition at line 26 of file GatewayAPI.cpp.

◆ getGwInfoUri

const char* getGwInfoUri = "/api/gw/info"

Definition at line 19 of file GatewayAPI.cpp.

◆ getGwResettUri

const char* getGwResettUri = "/api/gw/reset"

Definition at line 21 of file GatewayAPI.cpp.

◆ getGwRestartUri

const char* getGwRestartUri = "/api/gw/restart"

Definition at line 20 of file GatewayAPI.cpp.

◆ getMaxNodesUri

const char* getMaxNodesUri = "/api/gw/maxnodes"

Definition at line 16 of file GatewayAPI.cpp.

◆ getNodeNumberUri

const char* getNodeNumberUri = "/api/gw/nodenumber"

Definition at line 15 of file GatewayAPI.cpp.

◆ getNodeRestartUri

const char* getNodeRestartUri = "/api/node/restart"

Definition at line 22 of file GatewayAPI.cpp.

◆ getNodesUri

const char* getNodesUri = "/api/gw/nodes"

Definition at line 17 of file GatewayAPI.cpp.

◆ getNodeUri

const char* getNodeUri = "/api/node/node"

Definition at line 18 of file GatewayAPI.cpp.

◆ GwAPI

GatewayAPI GwAPI

API instance.

Definition at line 391 of file GatewayAPI.cpp.

◆ nodeAddrParam

const char* nodeAddrParam = "nodeaddr"

Definition at line 25 of file GatewayAPI.cpp.

◆ nodeIdParam

const char* nodeIdParam = "nodeid"

Definition at line 23 of file GatewayAPI.cpp.

◆ nodeNameParam

const char* nodeNameParam = "nodename"

Definition at line 24 of file GatewayAPI.cpp.