Removed everything but cleaning up the debugging

This commit is contained in:
SRGDamia1
2017-05-04 15:54:15 -04:00
parent 7b0c0217d5
commit d06031a89c
4 changed files with 12 additions and 21 deletions

View File

@@ -539,10 +539,8 @@ public:
}
private:
int modemConnect(const char* host, uint16_t port, uint8_t* mux, bool isUDP=false) {
int modemConnect(const char* host, uint16_t port, uint8_t* mux) {
sendAT(GF("+CIPSTART="), GF("\"TCP"), GF("\",\""), host, GF("\","), port);
if (isUDP) sendAT(GF("+CIPSTART="), GF("\"UDP"), GF("\",\""), host, GF("\","), port);
else sendAT(GF("+CIPSTART="), GF("\"TCP"), GF("\",\""), host, GF("\","), port);
if (waitResponse(75000L, GF(GSM_NL "+CIPNUM:")) != 1) {
return -1;