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.
EDUVANCE_WIFI_SHIELD.h@3:a0b26799134f, 2016-05-29 (annotated)
- Committer:
- gauresh2798
- Date:
- Sun May 29 22:16:29 2016 +0000
- Revision:
- 3:a0b26799134f
- Parent:
- 1:52cad7057640
Final and working (goes to ap mode if no wifi server found, then sets ssid and password from user input, and finally joins the server to host page )(add ons: power cycle or reset will not remove the ssid stored in esp8266, connects automatically)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gauresh2798 | 0:c359fee24b6c | 1 | #ifndef EDUVANCE_WIFI_SHIELD_H |
gauresh2798 | 0:c359fee24b6c | 2 | #define EDUVANCE_WIFI_SHIELD_H |
gauresh2798 | 0:c359fee24b6c | 3 | #include<mbed.h> |
gauresh2798 | 1:52cad7057640 | 4 | |
gauresh2798 | 1:52cad7057640 | 5 | extern int modeselector; |
gauresh2798 | 0:c359fee24b6c | 6 | extern Serial pc; |
gauresh2798 | 0:c359fee24b6c | 7 | extern Serial esp; |
gauresh2798 | 0:c359fee24b6c | 8 | char* getname(char *strd,const char s[2],int part); |
gauresh2798 | 0:c359fee24b6c | 9 | void callback(void); |
gauresh2798 | 0:c359fee24b6c | 10 | void SendCMD(void); |
gauresh2798 | 0:c359fee24b6c | 11 | void getreply(void); |
gauresh2798 | 0:c359fee24b6c | 12 | void ReadWebData(void); |
gauresh2798 | 0:c359fee24b6c | 13 | void ReadWebData_register(void); |
gauresh2798 | 0:c359fee24b6c | 14 | int startserver(void); |
gauresh2798 | 0:c359fee24b6c | 15 | void sendpage(void); |
gauresh2798 | 0:c359fee24b6c | 16 | void sendpage_register(void); |
gauresh2798 | 0:c359fee24b6c | 17 | void SendWEB(void); |
gauresh2798 | 0:c359fee24b6c | 18 | void sendcheck(void); |
gauresh2798 | 3:a0b26799134f | 19 | void StationConfig_SSID_NEED(void); |
gauresh2798 | 3:a0b26799134f | 20 | void StationConfig_NO_SSID_NEED(void); |
gauresh2798 | 0:c359fee24b6c | 21 | void ApConfig(void); |
gauresh2798 | 0:c359fee24b6c | 22 | void newcre(char webstring[]); |
gauresh2798 | 0:c359fee24b6c | 23 | void ATcheck(void); |
gauresh2798 | 0:c359fee24b6c | 24 | void ATReset(void); |
gauresh2798 | 0:c359fee24b6c | 25 | void ListAccessPts(void); |
gauresh2798 | 0:c359fee24b6c | 26 | void StationModeSet(void); |
gauresh2798 | 0:c359fee24b6c | 27 | void ApModeSet(void); |
gauresh2798 | 0:c359fee24b6c | 28 | void ConnectWifiServer(void); |
gauresh2798 | 0:c359fee24b6c | 29 | void Commtype(void); |
gauresh2798 | 0:c359fee24b6c | 30 | void StartServer_AT(void); |
gauresh2798 | 0:c359fee24b6c | 31 | void getIP(void); |
gauresh2798 | 0:c359fee24b6c | 32 | void finishup(void); |
gauresh2798 | 0:c359fee24b6c | 33 | void get_ssid_pass(char *ssid_f,char *pass_f,int port_f); |
gauresh2798 | 0:c359fee24b6c | 34 | void setbaudrate(int baud_f); |
gauresh2798 | 0:c359fee24b6c | 35 | void request_fetch_station(void); |
gauresh2798 | 0:c359fee24b6c | 36 | void request_fetch_ap(void); |
gauresh2798 | 3:a0b26799134f | 37 | void verifyssid(void); |
gauresh2798 | 3:a0b26799134f | 38 | void disp_ssid(void); |
gauresh2798 | 3:a0b26799134f | 39 | void data_sep_ssid(char replyback[],char ch); |
gauresh2798 | 1:52cad7057640 | 40 | void closeserver_AT(void); |
gauresh2798 | 3:a0b26799134f | 41 | char* ltrim(char *string, char junk); |
gauresh2798 | 3:a0b26799134f | 42 | char* rtrim(char* string, char junk); |
gauresh2798 | 0:c359fee24b6c | 43 | #endif |