code upload
This commit is contained in:
21
yoRadio/network.h
Normal file
21
yoRadio/network.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef network_h
|
||||
#define network_h
|
||||
|
||||
#define apSsid "yoRadioAP"
|
||||
#define apPassword "12345987"
|
||||
|
||||
enum n_Status_e { CONNECTED, SOFT_AP, FAILED };
|
||||
|
||||
class Network {
|
||||
public:
|
||||
n_Status_e status;
|
||||
public:
|
||||
Network() {};
|
||||
void begin();
|
||||
private:
|
||||
void raiseSoftAP();
|
||||
};
|
||||
|
||||
extern Network network;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user