|
|
@ -5,8 +5,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_LINE_LENGTH 2000
|
|
|
|
#define MAX_LINE_LENGTH 2000
|
|
|
|
|
|
|
|
|
|
|
|
extern long cm;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class WebServer {
|
|
|
|
class WebServer {
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
Stream& atSerial;
|
|
|
|
Stream& atSerial;
|
|
|
@ -15,6 +13,8 @@ private:
|
|
|
|
uint8_t bufferPosition = 0;
|
|
|
|
uint8_t bufferPosition = 0;
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
|
|
|
|
long cm;
|
|
|
|
|
|
|
|
|
|
|
|
// Constructor takes in two streams for AT command and debugging (over Serial), remember to use RP2040 as the board!
|
|
|
|
// Constructor takes in two streams for AT command and debugging (over Serial), remember to use RP2040 as the board!
|
|
|
|
WebServer(Stream& atSerial, Stream& debugSerial);
|
|
|
|
WebServer(Stream& atSerial, Stream& debugSerial);
|
|
|
|
|
|
|
|
|
|
|
|