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.
ESP8266Webserver.h
00001 00002 #include "mbed.h" 00003 #include "string" 00004 #include "Einstellungen.h" 00005 00006 00007 00008 class ESP8266Webserver 00009 { 00010 private: 00011 int hs_count=0; 00012 Callback< void()> cbs[10]; 00013 char hs[10][20]; 00014 char recbuf[1000]; 00015 bool beinhaltet(char* suchstring); 00016 int port=80; 00017 bool dbg; 00018 int clientID[10]={0,0,0,0,0,0,0,0,0,0}; 00019 int clientIdx=0; 00020 char sendstring[1000]; 00021 BufferedSerial *_serial; 00022 char ipadr[100]; 00023 ATCmdParser *_parser; 00024 int Aufrufe=0; 00025 bool gefunden; 00026 string ipad=ip; 00027 00028 00029 00030 public: 00031 char suchergebnis[20]; 00032 00033 ESP8266Webserver(); 00034 int on(const char* handlestring,Callback< void()> func); 00035 int begin(void); 00036 int handleClient(void); 00037 int send(int HTTPStatus,const char* Mimetype, const char* webseite); 00038 int send(int HTTPStatus,const char* Mimetype, string webseite); 00039 const char* gibWert(const char* suchstring); 00040 string gibWertString(string suchstring); 00041 void debugOn(bool pD); 00042 void listAPs(); 00043 char* gibIP(); 00044 00045 00046 };
Generated on Mon Oct 10 2022 00:34:34 by
1.7.2