Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: ATCmdParserTest_V1_0_F103
Diff: ESP8266Webserver.h
- Revision:
- 16:b09391fb73b4
- Parent:
- 15:e710f0431920
--- a/ESP8266Webserver.h Fri Jun 18 15:33:21 2021 +0000
+++ b/ESP8266Webserver.h Tue Jun 22 07:45:32 2021 +0000
@@ -1,10 +1,9 @@
#include "mbed.h"
-#include "string"
+//#include "string"
#include "Einstellungen.h"
-
class ESP8266Webserver
{
private:
@@ -21,7 +20,7 @@
BufferedSerial *_serial;
char ipadr[100];
ATCmdParser *_parser;
- int Aufrufe=0;
+
bool gefunden;
string ipad=ip;
@@ -29,15 +28,16 @@
public:
char suchergebnis[20];
-
+ int Aufrufe=0;
+
ESP8266Webserver();
int on(const char* handlestring,Callback< void()> func);
int begin(void);
int handleClient(void);
int send(int HTTPStatus,const char* Mimetype, const char* webseite);
- int send(int HTTPStatus,const char* Mimetype, string webseite);
+ int send(int HTTPStatus,const char* Mimetype, std::string webseite);
const char* gibWert(const char* suchstring);
- string gibWertString(string suchstring);
+ const char* gibWert(std::string suchstring);
void debugOn(bool pD);
void listAPs();
char* gibIP();