Arduino: 1.8.10 (Windows 10), Board: "EnviroDIY Mayfly 1284p" In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:23:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: c:\program files (x86)\arduino\hardware\tools\avr\avr\include\stdlib.h: In function 'void loop()': c:\program files (x86)\arduino\hardware\tools\avr\avr\include\stdlib.h:56:8: error: expected unqualified-id before string constant extern "C" { ^~~ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:25:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: c:\program files (x86)\arduino\hardware\tools\avr\avr\include\string.h:58:8: error: expected unqualified-id before string constant extern "C" { ^~~ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:26:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: c:\program files (x86)\arduino\hardware\tools\avr\avr\include\math.h:121:8: error: expected unqualified-id before string constant extern "C" { ^~~ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:116:8: error: expected unqualified-id before string constant extern "C" { ^~~ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38:0: C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:35:8: error: expected unqualified-id before string constant extern "C"{ ^~~ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:23:0, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:230, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: c:\program files (x86)\arduino\hardware\tools\avr\avr\include\ctype.h:48:8: error: expected unqualified-id before string constant extern "C" { ^~~ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:230:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:26:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isAlphaNumeric(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:27:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isAlpha(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:28:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isAscii(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:29:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isWhitespace(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:30:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isControl(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:31:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isDigit(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:32:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isGraph(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:33:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isLowerCase(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:34:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isPrintable(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:35:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isPunct(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:36:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isSpace(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:37:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isUpperCase(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:38:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isHexadecimalDigit(int c) __attribute__((always_inline)); ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:46:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isAlphaNumeric(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:54:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isAlpha(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:62:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isAscii(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:69:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isWhitespace(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:76:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isControl(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:83:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isDigit(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:90:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isGraph(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:97:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isLowerCase(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:104:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isPrintable(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:112:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isPunct(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:121:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isSpace(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:128:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isUpperCase(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:136:8: error: 'boolean' does not name a type; did you mean 'bool'? inline boolean isHexadecimalDigit(int c) ^~~~~~~ bool C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:145:1: error: a function-definition is not allowed here before '{' token { ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:157:1: error: a function-definition is not allowed here before '{' token { ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WCharacter.h:164:1: error: a function-definition is not allowed here before '{' token { ^ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:231:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:125:84: error: friend declaration 'loop()::StringSumHelper& operator+(const loop()::StringSumHelper&, const loop()::String&)' in local class without prior declaration friend StringSumHelper & operator + (const StringSumHelper &lhs, const String &rhs); ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:126:83: error: friend declaration 'loop()::StringSumHelper& operator+(const loop()::StringSumHelper&, const char*)' in local class without prior declaration friend StringSumHelper & operator + (const StringSumHelper &lhs, const char *cstr); ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:127:73: error: friend declaration 'loop()::StringSumHelper& operator+(const loop()::StringSumHelper&, char)' in local class without prior declaration friend StringSumHelper & operator + (const StringSumHelper &lhs, char c); ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:128:84: error: friend declaration 'loop()::StringSumHelper& operator+(const loop()::StringSumHelper&, unsigned char)' in local class without prior declaration friend StringSumHelper & operator + (const StringSumHelper &lhs, unsigned char num); ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:129:74: error: friend declaration 'loop()::StringSumHelper& operator+(const loop()::StringSumHelper&, int)' in local class without prior declaration friend StringSumHelper & operator + (const StringSumHelper &lhs, int num); ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:130:83: error: friend declaration 'loop()::StringSumHelper& operator+(const loop()::StringSumHelper&, unsigned int)' in local class without prior declaration friend StringSumHelper & operator + (const StringSumHelper &lhs, unsigned int num); ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:131:75: error: friend declaration 'loop()::StringSumHelper& operator+(const loop()::StringSumHelper&, long int)' in local class without prior declaration friend StringSumHelper & operator + (const StringSumHelper &lhs, long num); ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:132:84: error: friend declaration 'loop()::StringSumHelper& operator+(const loop()::StringSumHelper&, long unsigned int)' in local class without prior declaration friend StringSumHelper & operator + (const StringSumHelper &lhs, unsigned long num); ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:133:76: error: friend declaration 'loop()::StringSumHelper& operator+(const loop()::StringSumHelper&, float)' in local class without prior declaration friend StringSumHelper & operator + (const StringSumHelper &lhs, float num); ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:134:77: error: friend declaration 'loop()::StringSumHelper& operator+(const loop()::StringSumHelper&, double)' in local class without prior declaration friend StringSumHelper & operator + (const StringSumHelper &lhs, double num); ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:135:97: error: friend declaration 'loop()::StringSumHelper& operator+(const loop()::StringSumHelper&, const loop()::__FlashStringHelper*)' in local class without prior declaration friend StringSumHelper & operator + (const StringSumHelper &lhs, const __FlashStringHelper *rhs); ^ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Print.h:24:0, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:26, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/HardwareSerial.h:29, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:232, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: c:\program files (x86)\arduino\hardware\tools\avr\avr\include\stdio.h:399:8: error: expected unqualified-id before string constant extern "C" { ^~~ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:26:0, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/HardwareSerial.h:29, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:232, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Print.h: In member function 'size_t loop()::Print::write(const char*)': C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Print.h:54:42: error: 'strlen' was not declared in this scope return write((const uint8_t *)str, strlen(str)); ^~~~~~ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Print.h:54:42: note: suggested alternative: 'str' return write((const uint8_t *)str, strlen(str)); ^~~~~~ str In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/USBAPI.h:25:0, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:233, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\eeprom.h: In function 'void loop()': c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\eeprom.h:92:8: error: expected unqualified-id before string constant extern "C" { ^~~ In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\util\delay.h:45:0, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/USBAPI.h:27, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:233, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: c:\program files (x86)\arduino\hardware\tools\avr\avr\include\util\delay_basic.h:40:88: error: cannot declare static function inside another function static __inline__ void _delay_loop_1(uint8_t __count) __attribute__((__always_inline__)); ^ c:\program files (x86)\arduino\hardware\tools\avr\avr\include\util\delay_basic.h:41:89: error: cannot declare static function inside another function static __inline__ void _delay_loop_2(uint16_t __count) __attribute__((__always_inline__)); ^ c:\program files (x86)\arduino\hardware\tools\avr\avr\include\util\delay_basic.h:82:1: error: a function-definition is not allowed here before '{' token { ^ c:\program files (x86)\arduino\hardware\tools\avr\avr\include\util\delay_basic.h:104:1: error: a function-definition is not allowed here before '{' token { ^ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/USBAPI.h:27:0, from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:233, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: c:\program files (x86)\arduino\hardware\tools\avr\avr\include\util\delay.h:86:80: error: cannot declare static function inside another function static __inline__ void _delay_us(double __us) __attribute__((__always_inline__)); ^ c:\program files (x86)\arduino\hardware\tools\avr\avr\include\util\delay.h:87:80: error: cannot declare static function inside another function static __inline__ void _delay_ms(double __ms) __attribute__((__always_inline__)); ^ c:\program files (x86)\arduino\hardware\tools\avr\avr\include\util\delay.h:167:1: error: a function-definition is not allowed here before '{' token { ^ c:\program files (x86)\arduino\hardware\tools\avr\avr\include\util\delay.h:256:1: error: a function-definition is not allowed here before '{' token { ^ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38:0: C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:239:19: error: 'uint16_t makeWord' redeclared as different kind of symbol uint16_t makeWord(byte h, byte l); ^~~~ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:238:10: note: previous declaration 'uint16_t makeWord(uint16_t)' uint16_t makeWord(uint16_t w); ^~~~~~~~ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:239:19: error: 'byte' was not declared in this scope uint16_t makeWord(byte h, byte l); ^~~~ C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:239:19: note: suggested alternative: 'bit' uint16_t makeWord(byte h, byte l); ^~~~ bit C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:239:32: error: expected ')' before 'l' uint16_t makeWord(byte h, byte l); ^ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:39:0: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1200:40: error: a function-definition is not allowed here before '{' token void EI_SerialPrint_P(const char *str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1214:101: error: a function-definition is not allowed here before '{' token void enableInterrupt(uint8_t interruptDesignator, interruptFunctionType userFunction, uint8_t mode) { ^ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:39:0: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1394:53: error: a function-definition is not allowed here before '{' token void disableInterrupt (uint8_t interruptDesignator) { ^ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:30:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1502:1: error: expected unqualified-id before string constant ISR(INT0_vect) {/*{{{*/ ^ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:39:0: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1502:16: error: a function-definition is not allowed here before '{' token ISR(INT0_vect) {/*{{{*/ ^ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:30:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1563:1: error: expected unqualified-id before string constant ISR(INT1_vect) {/*{{{*/ ^ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:39:0: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1563:16: error: a function-definition is not allowed here before '{' token ISR(INT1_vect) {/*{{{*/ ^ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:30:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1605:1: error: expected unqualified-id before string constant ISR(INT2_vect) {/*{{{*/ ^ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:39:0: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1605:16: error: a function-definition is not allowed here before '{' token ISR(INT2_vect) {/*{{{*/ ^ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:30:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1750:1: error: expected unqualified-id before string constant ISR(PORTA_VECT) {/*{{{*/ ^ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:39:0: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1750:17: error: a function-definition is not allowed here before '{' token ISR(PORTA_VECT) {/*{{{*/ ^ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:30:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1801:1: error: expected unqualified-id before string constant ISR(PORTB_VECT) {/*{{{*/ ^ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:39:0: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1801:17: error: a function-definition is not allowed here before '{' token ISR(PORTB_VECT) {/*{{{*/ ^ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:30:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1867:1: error: expected unqualified-id before string constant ISR(PORTC_VECT) {/*{{{*/ ^ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:39:0: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1867:17: error: a function-definition is not allowed here before '{' token ISR(PORTC_VECT) {/*{{{*/ ^ In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:30:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:38: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1923:1: error: expected unqualified-id before string constant ISR(PORTD_VECT) {/*{{{*/ ^ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:39:0: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:1923:17: error: a function-definition is not allowed here before '{' token ISR(PORTD_VECT) {/*{{{*/ ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:23:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/ModSensorDebugger.h:31:15: error: expected identifier before '{' token namespace { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/ModSensorDebugger.h:32:9: error: a template declaration cannot appear at block scope template ^~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:26:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerModem.h:169:29: error: 'byte' is not a type uint32_t parseNISTBytes(byte nistBytes[4]); ^~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:35:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\power.h:1190:1: error: a function-definition is not allowed here before '{' token { ^ c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\power.h:1239:1: error: a function-definition is not allowed here before '{' token { ^ c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\power.h:1493:89: error: cannot declare static function inside another function static __inline__ void clock_prescale_set(clock_div_t) __attribute__((__always_inline__)); ^ c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\power.h:1510:1: error: a function-definition is not allowed here before '{' token { ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:31:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SysCall.h:51:29: error: a function-definition is not allowed here before '{' token inline uint16_t curTimeMS() { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SysCall.h:77:27: error: qualified-id in declaration before '(' token inline void SysCall::yield() { ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdCard/SdSpiCard.h:33:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/BlockDriver.h:32, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:32, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdCard/SdInfo.h:469:44: error: a function-definition is not allowed here before '{' token inline uint32_t sdCardCapacity(csd_t* csd) { ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdCard/SdSpiCard.h:35:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/BlockDriver.h:32, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:32, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h: In member function 'void loop()::SdSpiLibDriver::begin(uint8_t)': c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:122:5: error: 'digitalWrite' was not declared in this scope digitalWrite(csPin, HIGH); ^~~~~~~~~~~~ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:122:5: note: suggested alternative: 'bitWrite' digitalWrite(csPin, HIGH); ^~~~~~~~~~~~ bitWrite c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:123:5: error: 'pinMode' was not declared in this scope pinMode(csPin, OUTPUT); ^~~~~~~ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h: In member function 'void loop()::SdSpiLibDriver::select()': c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:166:5: error: 'digitalWrite' was not declared in this scope digitalWrite(m_csPin, LOW); ^~~~~~~~~~~~ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:166:5: note: suggested alternative: 'bitWrite' digitalWrite(m_csPin, LOW); ^~~~~~~~~~~~ bitWrite c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h: In member function 'void loop()::SdSpiLibDriver::unselect()': c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:177:5: error: 'digitalWrite' was not declared in this scope digitalWrite(m_csPin, HIGH); ^~~~~~~~~~~~ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:177:5: note: suggested alternative: 'bitWrite' digitalWrite(m_csPin, HIGH); ^~~~~~~~~~~~ bitWrite c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h: In member function 'void loop()::SdSpiAltDriver::select()': c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:240:6: error: 'digitalWrite' was not declared in this scope digitalWrite(m_csPin, LOW); ^~~~~~~~~~~~ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:240:6: note: suggested alternative: 'bitWrite' digitalWrite(m_csPin, LOW); ^~~~~~~~~~~~ bitWrite c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h: In member function 'void loop()::SdSpiAltDriver::unselect()': c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:251:5: error: 'digitalWrite' was not declared in this scope digitalWrite(m_csPin, HIGH); ^~~~~~~~~~~~ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:251:5: note: suggested alternative: 'bitWrite' digitalWrite(m_csPin, HIGH); ^~~~~~~~~~~~ bitWrite c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h: In function 'void loop()': c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:376:34: error: qualified-id in declaration before '(' token inline void SdSpiAltDriver::begin(uint8_t csPin) { ^ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:383:37: error: qualified-id in declaration before '(' token inline void SdSpiAltDriver::activate() { ^ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:387:39: error: qualified-id in declaration before '(' token inline void SdSpiAltDriver::deactivate() { ^ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:391:39: error: qualified-id in declaration before '(' token inline uint8_t SdSpiAltDriver::receive() { ^ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:397:39: error: qualified-id in declaration before '(' token inline uint8_t SdSpiAltDriver::receive(uint8_t* buf, size_t n) { ^ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:413:33: error: qualified-id in declaration before '(' token inline void SdSpiAltDriver::send(uint8_t data) { ^ c:\users\josh biddle\documents\arduino\libraries\sdfat\src\spidriver\sdspidriver.h:418:33: error: qualified-id in declaration before '(' token inline void SdSpiAltDriver::send(const uint8_t* buf , size_t n) { ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:36:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoFiles.h:33, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatLib.h:27, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:33, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatApiConstants.h:64:40: error: a function-definition is not allowed here before '{' token inline bool isWriteMode(oflag_t oflag) { ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:37:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoFiles.h:33, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatLib.h:27, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:33, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:712:53: error: a function-definition is not allowed here before '{' token static inline uint8_t DIR_IS_FILE(const dir_t* dir) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:720:63: error: a function-definition is not allowed here before '{' token static inline uint8_t DIR_IS_FILE_OR_SUBDIR(const dir_t* dir) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:728:58: error: a function-definition is not allowed here before '{' token static inline uint8_t DIR_IS_LONG_NAME(const dir_t* dir) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:736:55: error: a function-definition is not allowed here before '{' token static inline uint8_t DIR_IS_HIDDEN(const dir_t* dir) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:744:55: error: a function-definition is not allowed here before '{' token static inline uint8_t DIR_IS_SUBDIR(const dir_t* dir) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:752:55: error: a function-definition is not allowed here before '{' token static inline uint8_t DIR_IS_SYSTEM(const dir_t* dir) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:762:76: error: a function-definition is not allowed here before '{' token static inline uint16_t FAT_DATE(uint16_t year, uint8_t month, uint8_t day) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:770:51: error: a function-definition is not allowed here before '{' token static inline uint16_t FAT_YEAR(uint16_t fatDate) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:778:51: error: a function-definition is not allowed here before '{' token static inline uint8_t FAT_MONTH(uint16_t fatDate) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:786:49: error: a function-definition is not allowed here before '{' token static inline uint8_t FAT_DAY(uint16_t fatDate) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:796:79: error: a function-definition is not allowed here before '{' token static inline uint16_t FAT_TIME(uint8_t hour, uint8_t minute, uint8_t second) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:804:50: error: a function-definition is not allowed here before '{' token static inline uint8_t FAT_HOUR(uint16_t fatTime) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:812:52: error: a function-definition is not allowed here before '{' token static inline uint8_t FAT_MINUTE(uint16_t fatTime) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatStructs.h:822:52: error: a function-definition is not allowed here before '{' token static inline uint8_t FAT_SECOND(uint16_t fatTime) { ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoFiles.h:33:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatLib.h:27, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:33, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h: In member function 'int loop()::FatFile::write(const char*)': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:933:23: error: 'strlen' was not declared in this scope return write(str, strlen(str)); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:933:23: note: suggested alternative: 'str' return write(str, strlen(str)); ^~~~~~ str In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/FatLib.h:32:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:33, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/StdioStream.h: In function 'void loop()': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/StdioStream.h:453:3: error: invalid declaration of member template in local class template ^~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/StdioStream.h:498:3: error: invalid declaration of member template in local class template ^~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/StdioStream.h:596:3: error: invalid declaration of member template in local class template ^~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:31:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:31, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/fstream.h:32, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/sdios.h:31, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:36, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:221:43: error: a function-definition is not allowed here before '{' token inline ios_base& boolalpha(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:229:37: error: a function-definition is not allowed here before '{' token inline ios_base& dec(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:237:37: error: a function-definition is not allowed here before '{' token inline ios_base& hex(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:245:42: error: a function-definition is not allowed here before '{' token inline ios_base& internal(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:253:38: error: a function-definition is not allowed here before '{' token inline ios_base& left(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:261:45: error: a function-definition is not allowed here before '{' token inline ios_base& noboolalpha(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:269:44: error: a function-definition is not allowed here before '{' token inline ios_base& noshowbase(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:277:45: error: a function-definition is not allowed here before '{' token inline ios_base& noshowpoint(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:285:43: error: a function-definition is not allowed here before '{' token inline ios_base& noshowpos(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:293:42: error: a function-definition is not allowed here before '{' token inline ios_base& noskipws(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:301:45: error: a function-definition is not allowed here before '{' token inline ios_base& nouppercase(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:309:37: error: a function-definition is not allowed here before '{' token inline ios_base& oct(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:317:39: error: a function-definition is not allowed here before '{' token inline ios_base& right(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:325:42: error: a function-definition is not allowed here before '{' token inline ios_base& showbase(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:333:41: error: a function-definition is not allowed here before '{' token inline ios_base& showpos(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:341:43: error: a function-definition is not allowed here before '{' token inline ios_base& showpoint(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:349:40: error: a function-definition is not allowed here before '{' token inline ios_base& skipws(ios_base& str) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ios.h:357:43: error: a function-definition is not allowed here before '{' token inline ios_base& uppercase(ios_base& str) { ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:31:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/fstream.h:32, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/sdios.h:31, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:36, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:358:3: error: invalid declaration of member template in local class template void getNumber(T* value); ^~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h: In member function 'loop()::istream& loop()::istream::operator>>(short int&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:132:19: error: no matching function for call to 'loop()::istream::getNumber(short int*)' getNumber(&arg); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate: bool loop()::istream::getNumber(uint32_t, uint32_t, uint32_t*) bool getNumber(uint32_t posMax, uint32_t negMax, uint32_t* num); ^~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate expects 3 arguments, 1 provided C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h: In member function 'loop()::istream& loop()::istream::operator>>(short unsigned int&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:141:19: error: no matching function for call to 'loop()::istream::getNumber(short unsigned int*)' getNumber(&arg); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate: bool loop()::istream::getNumber(uint32_t, uint32_t, uint32_t*) bool getNumber(uint32_t posMax, uint32_t negMax, uint32_t* num); ^~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate expects 3 arguments, 1 provided C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h: In member function 'loop()::istream& loop()::istream::operator>>(int&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:150:19: error: no matching function for call to 'loop()::istream::getNumber(int*)' getNumber(&arg); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate: bool loop()::istream::getNumber(uint32_t, uint32_t, uint32_t*) bool getNumber(uint32_t posMax, uint32_t negMax, uint32_t* num); ^~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate expects 3 arguments, 1 provided C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h: In member function 'loop()::istream& loop()::istream::operator>>(unsigned int&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:159:19: error: no matching function for call to 'loop()::istream::getNumber(unsigned int*)' getNumber(&arg); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate: bool loop()::istream::getNumber(uint32_t, uint32_t, uint32_t*) bool getNumber(uint32_t posMax, uint32_t negMax, uint32_t* num); ^~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate expects 3 arguments, 1 provided C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h: In member function 'loop()::istream& loop()::istream::operator>>(long int&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:168:19: error: no matching function for call to 'loop()::istream::getNumber(long int*)' getNumber(&arg); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate: bool loop()::istream::getNumber(uint32_t, uint32_t, uint32_t*) bool getNumber(uint32_t posMax, uint32_t negMax, uint32_t* num); ^~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate expects 3 arguments, 1 provided C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h: In member function 'loop()::istream& loop()::istream::operator>>(long unsigned int&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:177:19: error: no matching function for call to 'loop()::istream::getNumber(long unsigned int*)' getNumber(&arg); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate: bool loop()::istream::getNumber(uint32_t, uint32_t, uint32_t*) bool getNumber(uint32_t posMax, uint32_t negMax, uint32_t* num); ^~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate expects 3 arguments, 1 provided C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h: In member function 'loop()::istream& loop()::istream::operator>>(void*&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:207:19: error: no matching function for call to 'loop()::istream::getNumber(uint32_t*)' getNumber(&val); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate: bool loop()::istream::getNumber(uint32_t, uint32_t, uint32_t*) bool getNumber(uint32_t posMax, uint32_t negMax, uint32_t* num); ^~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:359:8: note: candidate expects 3 arguments, 1 provided C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h: In function 'void loop()': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/istream.h:366:1: error: a template declaration cannot appear at block scope template ^~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/fstream.h:32:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/sdios.h:31, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:36, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:37:33: error: a function-definition is not allowed here before '{' token inline istream& ws(istream& is) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:45:8: error: 'ostream' does not name a type; did you mean 'istream'? inline ostream& endl(ostream& os) { ^~~~~~~ istream C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:56:8: error: 'ostream' does not name a type; did you mean 'istream'? inline ostream& flush(ostream& os) { ^~~~~~~ istream C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:78:8: error: 'ostream' does not name a type; did you mean 'istream'? inline ostream &operator<< (ostream &os, const setfill &arg) { ^~~~~~~ istream C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:87:62: error: a function-definition is not allowed here before '{' token inline istream &operator>>(istream &obj, const setfill &arg) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:108:8: error: 'ostream' does not name a type; did you mean 'istream'? inline ostream &operator<< (ostream &os, const setprecision &arg) { ^~~~~~~ istream C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:117:66: error: a function-definition is not allowed here before '{' token inline istream &operator>>(istream &is, const setprecision &arg) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:138:8: error: 'ostream' does not name a type; did you mean 'istream'? inline ostream &operator<< (ostream &os, const setw &arg) { ^~~~~~~ istream C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:147:58: error: a function-definition is not allowed here before '{' token inline istream &operator>>(istream &is, const setw &arg) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/iostream.h:156:49: error: expected class-name before '{' token class iostream : public istream, public ostream { ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/sdios.h:31:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:36, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/fstream.h:249:32: error: expected class-name before ',' token class ofstream : public ostream, FatStreamBase { ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoStream.h:33:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/sdios.h:32, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:36, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h: In member function 'void loop()::ibufstream::init(const char*)': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h:55:13: error: 'strlen' was not declared in this scope m_len = strlen(m_buf); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h:55:13: note: suggested alternative: 'm_len' m_len = strlen(m_buf); ^~~~~~ m_len C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h: In function 'void loop()': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h:101:35: error: expected class-name before '{' token class obufstream : public ostream { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h:146:16: error: 'off_type' has not been declared bool seekoff(off_type off, seekdir way) { ^~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h:146:30: error: 'seekdir' has not been declared bool seekoff(off_type off, seekdir way) { ^~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h:151:16: error: 'pos_type' has not been declared bool seekpos(pos_type pos) { ^~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h:163:3: error: 'pos_type' does not name a type; did you mean 'ios_base'? pos_type tellpos() { ^~~~~~~~ ios_base C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h: In member function 'void loop()::obufstream::putch(char)': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h:135:16: error: 'badbit' was not declared in this scope setstate(badbit); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h:135:16: note: suggested alternative: 'bpb_t' setstate(badbit); ^~~~~~ bpb_t C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/bufstream.h:135:7: error: 'setstate' was not declared in this scope setstate(badbit); ^~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/sdios.h:32:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:36, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoStream.h: In member function 'void loop()::ArduinoInStream::readline()': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoStream.h:58:7: error: 'yield' was not declared in this scope yield(); ^~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoStream.h:62:11: error: 'millis' was not declared in this scope t = millis(); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoStream.h:62:11: note: suggested alternative: 'fill' t = millis(); ^~~~~~ fill C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoStream.h: In function 'void loop()': C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoStream.h:109:41: error: expected class-name before '{' token class ArduinoOutStream : public ostream { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoStream.h:132:16: error: 'off_type' has not been declared bool seekoff(off_type off, seekdir way) { ^~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoStream.h:132:30: error: 'seekdir' has not been declared bool seekoff(off_type off, seekdir way) { ^~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoStream.h:137:16: error: 'pos_type' has not been declared bool seekpos(pos_type pos) { ^~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/FatLib/ArduinoStream.h:144:3: error: 'pos_type' does not name a type; did you mean 'ios_base'? pos_type tellpos() { ^~~~~~~~ ios_base In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:84:1: error: a template declaration cannot appear at block scope template ^~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:310:34: error: expected template-name before '<' token class SdFat : public SdFileSystem { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:310:34: error: expected '{' before '<' token C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:310:34: error: expected unqualified-id before '<' token C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:506:30: error: local variable 'SS' may not appear in this context bool begin(uint8_t csPin = SS, SPISettings settings = SD_SCK_MHZ(50)) { ^~ In file included from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40:0: C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:332:11: error: field 'sd' has incomplete type 'loop()::SdFat' SdFat sd; ^~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/LoggerBase.h:48:0, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:40: C:\Users\Josh Biddle\Documents\Arduino\libraries\SdFat\src/SdFat.h:310:7: note: forward declaration of 'class loop()::SdFat' class SdFat : public SdFileSystem { ^~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:31:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmFifo.h:4:1: error: a template declaration cannot appear at block scope template ^~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:83:1: error: a template declaration cannot appear at block scope template ^~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:95:1: error: a template declaration cannot appear at block scope template ^~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:142:44: error: a function-definition is not allowed here before '{' token String TinyGsmDecodeHex7bit(String &instr) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:168:44: error: a function-definition is not allowed here before '{' token String TinyGsmDecodeHex8bit(String &instr) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:181:45: error: a function-definition is not allowed here before '{' token String TinyGsmDecodeHex16bit(String &instr) { ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:57:11: error: 'TinyGsmFifo' does not name a type; did you mean 'TinyGsmFifo_h'? typedef TinyGsmFifo RxFifo; ^~~~~~~~~~~ TinyGsmFifo_h C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:122:3: error: 'RxFifo' does not name a type RxFifo rx; ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:733:3: error: 'boolean' does not name a type; did you mean 'bool'? boolean isValidNumber(String str) { ^~~~~~~ bool C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:742:23: error: 'byte' is not a type String ShowNTPError(byte error) { ^~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:761:3: error: 'byte' does not name a type; did you mean 'bit'? byte NTPServerSync(String server = "pool.ntp.org", byte TimeZone = 3) { ^~~~ bit In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:615:3: error: invalid declaration of member template in local class template \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:902:1: note: in expansion of macro 'TINY_GSM_MODEM_STREAM_UTILITIES' TINY_GSM_MODEM_STREAM_UTILITIES() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:620:3: error: invalid declaration of member template in local class template \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:902:1: note: in expansion of macro 'TINY_GSM_MODEM_STREAM_UTILITIES' TINY_GSM_MODEM_STREAM_UTILITIES() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:626:3: error: invalid declaration of member template in local class template \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:902:1: note: in expansion of macro 'TINY_GSM_MODEM_STREAM_UTILITIES' TINY_GSM_MODEM_STREAM_UTILITIES() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:906:43: error: local variable 'GSM_OK' may not appear in this context GsmConstStr r1=GFP(GSM_OK), GsmConstStr r2=GFP(GSM_ERROR), ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:47:49: note: in definition of macro 'GFP' #define GFP(x) (reinterpret_cast(x)) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:906:71: error: local variable 'GSM_ERROR' may not appear in this context GsmConstStr r1=GFP(GSM_OK), GsmConstStr r2=GFP(GSM_ERROR), ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:47:49: note: in definition of macro 'GFP' #define GFP(x) (reinterpret_cast(x)) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:986:43: error: local variable 'GSM_OK' may not appear in this context GsmConstStr r1=GFP(GSM_OK), GsmConstStr r2=GFP(GSM_ERROR), ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:47:49: note: in definition of macro 'GFP' #define GFP(x) (reinterpret_cast(x)) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:986:71: error: local variable 'GSM_ERROR' may not appear in this context GsmConstStr r1=GFP(GSM_OK), GsmConstStr r2=GFP(GSM_ERROR), ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:47:49: note: in definition of macro 'GFP' #define GFP(x) (reinterpret_cast(x)) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:993:43: error: local variable 'GSM_OK' may not appear in this context uint8_t waitResponse(GsmConstStr r1=GFP(GSM_OK), GsmConstStr r2=GFP(GSM_ERROR), ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:47:49: note: in definition of macro 'GFP' #define GFP(x) (reinterpret_cast(x)) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:993:71: error: local variable 'GSM_ERROR' may not appear in this context uint8_t waitResponse(GsmConstStr r1=GFP(GSM_OK), GsmConstStr r2=GFP(GSM_ERROR), ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:47:49: note: in definition of macro 'GFP' #define GFP(x) (reinterpret_cast(x)) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'virtual int loop()::TinyGsmSim800::GsmClient::connect(const char*, uint16_t, int)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:38:30: error: 'delay' was not declared in this scope #define TINY_GSM_YIELD() { delay(TINY_GSM_YIELD_MS); } ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:84:5: note: in expansion of macro 'TINY_GSM_YIELD' TINY_GSM_YIELD(); ^~~~~~~~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:85:5: error: 'rx' was not declared in this scope rx.clear(); ^~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'virtual void loop()::TinyGsmSim800::GsmClient::stop(uint32_t)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:38:30: error: 'delay' was not declared in this scope #define TINY_GSM_YIELD() { delay(TINY_GSM_YIELD_MS); } ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:405:5: note: in expansion of macro 'TINY_GSM_YIELD' TINY_GSM_YIELD(); \ ^~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:93:5: note: in expansion of macro 'TINY_GSM_CLIENT_DUMP_MODEM_BUFFER' TINY_GSM_CLIENT_DUMP_MODEM_BUFFER() ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:406:5: error: 'rx' was not declared in this scope rx.clear(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:93:5: note: in expansion of macro 'TINY_GSM_CLIENT_DUMP_MODEM_BUFFER' TINY_GSM_CLIENT_DUMP_MODEM_BUFFER() ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:408:33: error: 'millis' was not declared in this scope unsigned long startMillis = millis(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:93:5: note: in expansion of macro 'TINY_GSM_CLIENT_DUMP_MODEM_BUFFER' TINY_GSM_CLIENT_DUMP_MODEM_BUFFER() ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:410:21: error: 'TinyGsmMin' was not declared in this scope at->modemRead(TinyGsmMin((uint16_t)rx.free(), sock_available), mux); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:93:5: note: in expansion of macro 'TINY_GSM_CLIENT_DUMP_MODEM_BUFFER' TINY_GSM_CLIENT_DUMP_MODEM_BUFFER() ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:410:21: note: suggested alternative: 'TinyGsmSim800' at->modemRead(TinyGsmMin((uint16_t)rx.free(), sock_available), mux); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:93:5: note: in expansion of macro 'TINY_GSM_CLIENT_DUMP_MODEM_BUFFER' TINY_GSM_CLIENT_DUMP_MODEM_BUFFER() ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:94:9: error: 'class loop()::TinyGsmSim800' has no member named 'sendAT'; did you mean 'testAT'? at->sendAT(GF("+CIPCLOSE="), mux, GF(",1")); // Quick close ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:96:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined at->waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:96:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'virtual size_t loop()::TinyGsmSim800::GsmClient::write(const uint8_t*, size_t)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:38:30: error: 'delay' was not declared in this scope #define TINY_GSM_YIELD() { delay(TINY_GSM_YIELD_MS); } ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:231:5: note: in expansion of macro 'TINY_GSM_YIELD' TINY_GSM_YIELD(); \ ^~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:101:1: note: in expansion of macro 'TINY_GSM_CLIENT_WRITE' TINY_GSM_CLIENT_WRITE() ^~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'virtual size_t loop()::TinyGsmSim800::GsmClient::write(const char*)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:242:40: error: 'strlen' was not declared in this scope return write((const uint8_t *)str, strlen(str)); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:101:1: note: in expansion of macro 'TINY_GSM_CLIENT_WRITE' TINY_GSM_CLIENT_WRITE() ^~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:242:40: note: suggested alternative: 'stream' return write((const uint8_t *)str, strlen(str)); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:101:1: note: in expansion of macro 'TINY_GSM_CLIENT_WRITE' TINY_GSM_CLIENT_WRITE() ^~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'virtual int loop()::TinyGsmSim800::GsmClient::available()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:38:30: error: 'delay' was not declared in this scope #define TINY_GSM_YIELD() { delay(TINY_GSM_YIELD_MS); } ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:251:5: note: in expansion of macro 'TINY_GSM_YIELD' TINY_GSM_YIELD(); \ ^~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:103:1: note: in expansion of macro 'TINY_GSM_CLIENT_AVAILABLE_WITH_BUFFER_CHECK' TINY_GSM_CLIENT_AVAILABLE_WITH_BUFFER_CHECK() ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:252:10: error: 'rx' was not declared in this scope if (!rx.size()) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:103:1: note: in expansion of macro 'TINY_GSM_CLIENT_AVAILABLE_WITH_BUFFER_CHECK' TINY_GSM_CLIENT_AVAILABLE_WITH_BUFFER_CHECK() ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:256:11: error: 'millis' was not declared in this scope if (millis() - prev_check > 500) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:103:1: note: in expansion of macro 'TINY_GSM_CLIENT_AVAILABLE_WITH_BUFFER_CHECK' TINY_GSM_CLIENT_AVAILABLE_WITH_BUFFER_CHECK() ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:262:12: error: 'rx' was not declared in this scope return rx.size() + sock_available; \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:103:1: note: in expansion of macro 'TINY_GSM_CLIENT_AVAILABLE_WITH_BUFFER_CHECK' TINY_GSM_CLIENT_AVAILABLE_WITH_BUFFER_CHECK() ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'virtual int loop()::TinyGsmSim800::GsmClient::read(uint8_t*, size_t)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:38:30: error: 'delay' was not declared in this scope #define TINY_GSM_YIELD() { delay(TINY_GSM_YIELD_MS); } ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:304:5: note: in expansion of macro 'TINY_GSM_YIELD' TINY_GSM_YIELD(); \ ^~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:105:1: note: in expansion of macro 'TINY_GSM_CLIENT_READ_WITH_BUFFER_CHECK' TINY_GSM_CLIENT_READ_WITH_BUFFER_CHECK() ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:308:43: error: 'rx' was not declared in this scope size_t chunk = TinyGsmMin(size-cnt, rx.size()); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:105:1: note: in expansion of macro 'TINY_GSM_CLIENT_READ_WITH_BUFFER_CHECK' TINY_GSM_CLIENT_READ_WITH_BUFFER_CHECK() ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:308:22: error: 'TinyGsmMin' was not declared in this scope size_t chunk = TinyGsmMin(size-cnt, rx.size()); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:105:1: note: in expansion of macro 'TINY_GSM_CLIENT_READ_WITH_BUFFER_CHECK' TINY_GSM_CLIENT_READ_WITH_BUFFER_CHECK() ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:308:22: note: suggested alternative: 'TinyGsmSim800' size_t chunk = TinyGsmMin(size-cnt, rx.size()); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:105:1: note: in expansion of macro 'TINY_GSM_CLIENT_READ_WITH_BUFFER_CHECK' TINY_GSM_CLIENT_READ_WITH_BUFFER_CHECK() ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:318:11: error: 'millis' was not declared in this scope if (millis() - prev_check > 500) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:105:1: note: in expansion of macro 'TINY_GSM_CLIENT_READ_WITH_BUFFER_CHECK' TINY_GSM_CLIENT_READ_WITH_BUFFER_CHECK() ^ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'virtual int loop()::TinyGsmSim800::GsmClientSecure::connect(const char*, uint16_t, int)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:38:30: error: 'delay' was not declared in this scope #define TINY_GSM_YIELD() { delay(TINY_GSM_YIELD_MS); } ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:140:5: note: in expansion of macro 'TINY_GSM_YIELD' TINY_GSM_YIELD(); ^~~~~~~~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:141:5: error: 'rx' was not declared in this scope rx.clear(); ^~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In constructor 'loop()::TinyGsmSim800::TinyGsmSim800(loop()::Stream&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:153:5: error: 'memset' was not declared in this scope memset(sockets, 0, sizeof(sockets)); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::init(const char*)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:176:5: error: 'sendAT' was not declared in this scope sendAT(GF("E0")); // Echo Off ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:176:5: note: suggested alternative: 'testAT' sendAT(GF("E0")); // Echo Off ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:177:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined if (waitResponse() != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:177:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:185:44: error: 'strlen' was not declared in this scope if (ret != SIM_READY && pin != NULL && strlen(pin) > 0) { ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:185:44: note: suggested alternative: 'stream' if (ret != SIM_READY && pin != NULL && strlen(pin) > 0) { ^~~~~~ stream C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::String loop()::TinyGsmSim800::getModemName()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:207:5: error: 'sendAT' was not declared in this scope sendAT(GF("+GMM")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:207:5: note: suggested alternative: 'testAT' sendAT(GF("+GMM")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:209:33: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, loop()::String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined if (waitResponse(1000L, res2) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:209:33: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, loop()::String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 4, which is not yet defined In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'void loop()::TinyGsmSim800::setBaud(long unsigned int)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:434:5: error: 'sendAT' was not declared in this scope sendAT(GF("+IPR="), baud); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:221:1: note: in expansion of macro 'TINY_GSM_MODEM_SET_BAUD_IPR' TINY_GSM_MODEM_SET_BAUD_IPR() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:434:5: note: suggested alternative: 'testAT' sendAT(GF("+IPR="), baud); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:221:1: note: in expansion of macro 'TINY_GSM_MODEM_SET_BAUD_IPR' TINY_GSM_MODEM_SET_BAUD_IPR() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::testAT(long unsigned int)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:441:32: error: 'millis' was not declared in this scope for (unsigned long start = millis(); millis() - start < timeout_ms; ) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:223:1: note: in expansion of macro 'TINY_GSM_MODEM_TEST_AT' TINY_GSM_MODEM_TEST_AT() ^~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:442:7: error: 'sendAT' was not declared in this scope sendAT(GF("")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:223:1: note: in expansion of macro 'TINY_GSM_MODEM_TEST_AT' TINY_GSM_MODEM_TEST_AT() ^~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:442:7: note: suggested alternative: 'testAT' sendAT(GF("")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:223:1: note: in expansion of macro 'TINY_GSM_MODEM_TEST_AT' TINY_GSM_MODEM_TEST_AT() ^~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:443:27: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(200) == 1) return true; \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:223:1: note: in expansion of macro 'TINY_GSM_MODEM_TEST_AT' TINY_GSM_MODEM_TEST_AT() ^~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:443:27: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined if (waitResponse(200) == 1) return true; \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:223:1: note: in expansion of macro 'TINY_GSM_MODEM_TEST_AT' TINY_GSM_MODEM_TEST_AT() ^~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:444:7: error: 'delay' was not declared in this scope delay(100); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:223:1: note: in expansion of macro 'TINY_GSM_MODEM_TEST_AT' TINY_GSM_MODEM_TEST_AT() ^~~~~~~~~~~~~~~~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::factoryDefault()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:228:5: error: 'sendAT' was not declared in this scope sendAT(GF("&FZE0&W")); // Factory + Reset + Echo Off + Write ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:228:5: note: suggested alternative: 'testAT' sendAT(GF("&FZE0&W")); // Factory + Reset + Echo Off + Write ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:229:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:229:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:231:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:231:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:233:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:233:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:235:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:235:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:237:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:237:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:239:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined return waitResponse() == 1; ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:239:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::String loop()::TinyGsmSim800::getModemInfo()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:479:5: error: 'sendAT' was not declared in this scope sendAT(GF("I")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:242:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_INFO_ATI' TINY_GSM_MODEM_GET_INFO_ATI() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:479:5: note: suggested alternative: 'testAT' sendAT(GF("I")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:242:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_INFO_ATI' TINY_GSM_MODEM_GET_INFO_ATI() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:481:32: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, loop()::String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined if (waitResponse(1000L, res) != 1) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:242:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_INFO_ATI' TINY_GSM_MODEM_GET_INFO_ATI() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:481:32: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, loop()::String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 4, which is not yet defined if (waitResponse(1000L, res) != 1) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:242:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_INFO_ATI' TINY_GSM_MODEM_GET_INFO_ATI() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::hasSSL()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:248:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CIPSSL=?")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:248:5: note: suggested alternative: 'testAT' sendAT(GF("+CIPSSL=?")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:249:43: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "+CIPSSL:")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:252:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined return waitResponse() == 1; ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:252:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::restart()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:274:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CLTS=1")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:274:5: note: suggested alternative: 'testAT' sendAT(GF("+CLTS=1")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:275:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(10000L) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:275:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:279:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:279:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:281:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(10000L) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:281:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:285:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(10000L) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:285:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:288:5: error: 'delay' was not declared in this scope delay(3000); ^~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::poweroff()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:293:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CPOWD=1")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:293:5: note: suggested alternative: 'testAT' sendAT(GF("+CPOWD=1")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:294:56: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined return waitResponse(10000L, GF("NORMAL POWER DOWN")) == 1; ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::radioOff()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:298:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CFUN=0")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:298:5: note: suggested alternative: 'testAT' sendAT(GF("+CFUN=0")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:299:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(10000L) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:299:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:302:5: error: 'delay' was not declared in this scope delay(3000); ^~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::sleepEnable(bool)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:312:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CSCLK="), enable); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:312:5: note: suggested alternative: 'testAT' sendAT(GF("+CSCLK="), enable); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:313:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined return waitResponse() == 1; ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:313:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::simUnlock(const char*)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:494:16: error: 'strlen' was not declared in this scope if (pin && strlen(pin) > 0) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:320:1: note: in expansion of macro 'TINY_GSM_MODEM_SIM_UNLOCK_CPIN' TINY_GSM_MODEM_SIM_UNLOCK_CPIN() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:494:16: note: suggested alternative: 'stream' if (pin && strlen(pin) > 0) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:320:1: note: in expansion of macro 'TINY_GSM_MODEM_SIM_UNLOCK_CPIN' TINY_GSM_MODEM_SIM_UNLOCK_CPIN() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:495:7: error: 'sendAT' was not declared in this scope sendAT(GF("+CPIN=\""), pin, GF("\"")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:320:1: note: in expansion of macro 'TINY_GSM_MODEM_SIM_UNLOCK_CPIN' TINY_GSM_MODEM_SIM_UNLOCK_CPIN() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:495:7: note: suggested alternative: 'testAT' sendAT(GF("+CPIN=\""), pin, GF("\"")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:320:1: note: in expansion of macro 'TINY_GSM_MODEM_SIM_UNLOCK_CPIN' TINY_GSM_MODEM_SIM_UNLOCK_CPIN() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:496:27: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined return waitResponse() == 1; \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:320:1: note: in expansion of macro 'TINY_GSM_MODEM_SIM_UNLOCK_CPIN' TINY_GSM_MODEM_SIM_UNLOCK_CPIN() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:496:27: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined return waitResponse() == 1; \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:320:1: note: in expansion of macro 'TINY_GSM_MODEM_SIM_UNLOCK_CPIN' TINY_GSM_MODEM_SIM_UNLOCK_CPIN() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::String loop()::TinyGsmSim800::getSimCCID()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:505:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CCID")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:322:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_SIMCCID_CCID' TINY_GSM_MODEM_GET_SIMCCID_CCID() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:505:5: note: suggested alternative: 'testAT' sendAT(GF("+CCID")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:322:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_SIMCCID_CCID' TINY_GSM_MODEM_GET_SIMCCID_CCID() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:506:41: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "+CCID:")) != 1) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:322:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_SIMCCID_CCID' TINY_GSM_MODEM_GET_SIMCCID_CCID() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:510:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:322:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_SIMCCID_CCID' TINY_GSM_MODEM_GET_SIMCCID_CCID() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:510:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined waitResponse(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:322:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_SIMCCID_CCID' TINY_GSM_MODEM_GET_SIMCCID_CCID() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::String loop()::TinyGsmSim800::getIMEI()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:519:5: error: 'sendAT' was not declared in this scope sendAT(GF("+GSN")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:324:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_IMEI_GSN' TINY_GSM_MODEM_GET_IMEI_GSN() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:519:5: note: suggested alternative: 'testAT' sendAT(GF("+GSN")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:324:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_IMEI_GSN' TINY_GSM_MODEM_GET_IMEI_GSN() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:520:32: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL)) != 1) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:324:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_IMEI_GSN' TINY_GSM_MODEM_GET_IMEI_GSN() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:524:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:324:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_IMEI_GSN' TINY_GSM_MODEM_GET_IMEI_GSN() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:524:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined waitResponse(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:324:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_IMEI_GSN' TINY_GSM_MODEM_GET_IMEI_GSN() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::SimStatus loop()::TinyGsmSim800::getSimStatus(long unsigned int)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:327:32: error: 'millis' was not declared in this scope for (unsigned long start = millis(); millis() - start < timeout_ms; ) { ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:328:7: error: 'sendAT' was not declared in this scope sendAT(GF("+CPIN?")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:328:7: note: suggested alternative: 'testAT' sendAT(GF("+CPIN?")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:329:43: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "+CPIN:")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:330:9: error: 'delay' was not declared in this scope delay(1000); ^~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:334:20: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:334:20: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::RegStatus loop()::TinyGsmSim800::getRegistrationStatus()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:536:5: error: 'sendAT' was not declared in this scope sendAT(GF("+" #regCommand "?")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:345:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_REGISTRATION_XREG' TINY_GSM_MODEM_GET_REGISTRATION_XREG(CREG) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:536:5: note: suggested alternative: 'testAT' sendAT(GF("+" #regCommand "?")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:345:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_REGISTRATION_XREG' TINY_GSM_MODEM_GET_REGISTRATION_XREG(CREG) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:537:52: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "+" #regCommand ":")) != 1) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:345:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_REGISTRATION_XREG' TINY_GSM_MODEM_GET_REGISTRATION_XREG(CREG) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:542:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:345:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_REGISTRATION_XREG' TINY_GSM_MODEM_GET_REGISTRATION_XREG(CREG) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:542:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined waitResponse(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:345:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_REGISTRATION_XREG' TINY_GSM_MODEM_GET_REGISTRATION_XREG(CREG) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::String loop()::TinyGsmSim800::getOperator()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:550:5: error: 'sendAT' was not declared in this scope sendAT(GF("+COPS?")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:347:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_OPERATOR_COPS' TINY_GSM_MODEM_GET_OPERATOR_COPS() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:550:5: note: suggested alternative: 'testAT' sendAT(GF("+COPS?")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:347:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_OPERATOR_COPS' TINY_GSM_MODEM_GET_OPERATOR_COPS() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:551:41: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "+COPS:")) != 1) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:347:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_OPERATOR_COPS' TINY_GSM_MODEM_GET_OPERATOR_COPS() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:556:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:347:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_OPERATOR_COPS' TINY_GSM_MODEM_GET_OPERATOR_COPS() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:556:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined waitResponse(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:347:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_OPERATOR_COPS' TINY_GSM_MODEM_GET_OPERATOR_COPS() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'int16_t loop()::TinyGsmSim800::getSignalQuality()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:593:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CSQ")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:353:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_CSQ' TINY_GSM_MODEM_GET_CSQ() ^~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:593:5: note: suggested alternative: 'testAT' sendAT(GF("+CSQ")); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:353:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_CSQ' TINY_GSM_MODEM_GET_CSQ() ^~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:594:40: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "+CSQ:")) != 1) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:353:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_CSQ' TINY_GSM_MODEM_GET_CSQ() ^~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:598:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:353:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_CSQ' TINY_GSM_MODEM_GET_CSQ() ^~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:598:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined waitResponse(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:353:1: note: in expansion of macro 'TINY_GSM_MODEM_GET_CSQ' TINY_GSM_MODEM_GET_CSQ() ^~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::waitForNetwork(long unsigned int)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:564:32: error: 'millis' was not declared in this scope for (unsigned long start = millis(); millis() - start < timeout_ms; ) { \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:360:1: note: in expansion of macro 'TINY_GSM_MODEM_WAIT_FOR_NETWORK' TINY_GSM_MODEM_WAIT_FOR_NETWORK() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:568:7: error: 'delay' was not declared in this scope delay(250); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:360:1: note: in expansion of macro 'TINY_GSM_MODEM_WAIT_FOR_NETWORK' TINY_GSM_MODEM_WAIT_FOR_NETWORK() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::gprsConnect(const char*, const char*, const char*)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:370:5: error: 'sendAT' was not declared in this scope sendAT(GF("+SAPBR=3,1,\"Contype\",\"GPRS\"")); // Set the connection type to GPRS ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:370:5: note: suggested alternative: 'testAT' sendAT(GF("+SAPBR=3,1,\"Contype\",\"GPRS\"")); // Set the connection type to GPRS ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:371:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:371:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:374:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:374:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:376:17: error: 'strlen' was not declared in this scope if (user && strlen(user) > 0) { ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:376:17: note: suggested alternative: 'stream' if (user && strlen(user) > 0) { ^~~~~~ stream C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:378:20: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:378:20: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:380:16: error: 'strlen' was not declared in this scope if (pwd && strlen(pwd) > 0) { ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:380:16: note: suggested alternative: 'stream' if (pwd && strlen(pwd) > 0) { ^~~~~~ stream C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:382:20: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:382:20: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:387:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:387:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:391:24: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined waitResponse(60000L); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:391:24: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:395:24: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined waitResponse(85000L); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:395:24: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:398:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(30000L) != 1) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:398:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:403:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(60000L) != 1) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:403:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:410:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined if (waitResponse() != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:410:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:416:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined if (waitResponse() != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:416:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:422:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined if (waitResponse() != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:422:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:428:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(60000L) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:428:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:434:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(60000L) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:434:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:440:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(10000L) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:440:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:446:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined if (waitResponse() != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:446:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::gprsDisconnect()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:456:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CIPSHUT")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:456:5: note: suggested alternative: 'testAT' sendAT(GF("+CIPSHUT")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:457:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(60000L) != 1) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:457:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:461:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(60000L) != 1) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:461:28: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::isGprsConnected()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:468:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CGATT?")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:468:5: note: suggested alternative: 'testAT' sendAT(GF("+CGATT?")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:469:42: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "+CGATT:")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:473:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:473:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:478:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined if (waitResponse() != 1) ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:478:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::String loop()::TinyGsmSim800::getLocalIP()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:489:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CIFSR;E0")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:489:5: note: suggested alternative: 'testAT' sendAT(GF("+CIFSR;E0")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:491:33: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, loop()::String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined if (waitResponse(10000L, res) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:491:33: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, loop()::String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 4, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::IPAddress loop()::TinyGsmSim800::localIP()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:501:12: error: 'TinyGsmIpFromString' was not declared in this scope return TinyGsmIpFromString(getLocalIP()); ^~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::setGsmBusy(bool)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:509:5: error: 'sendAT' was not declared in this scope sendAT(GF("+GSMBUSY="), busy ? 1 : 0); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:509:5: note: suggested alternative: 'testAT' sendAT(GF("+GSMBUSY="), busy ? 1 : 0); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:510:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined return waitResponse() == 1; ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:510:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::callAnswer()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:514:5: error: 'sendAT' was not declared in this scope sendAT(GF("A")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:514:5: note: suggested alternative: 'testAT' sendAT(GF("A")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:515:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined return waitResponse() == 1; ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:515:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::callNumber(const loop()::String&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:521:7: error: 'sendAT' was not declared in this scope sendAT(GF("DL")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:521:7: note: suggested alternative: 'testAT' sendAT(GF("DL")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:523:7: error: 'sendAT' was not declared in this scope sendAT(GF("D"), number, ";"); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:523:7: note: suggested alternative: 'testAT' sendAT(GF("D"), number, ";"); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::callHangup()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:539:5: error: 'sendAT' was not declared in this scope sendAT(GF("H")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:539:5: note: suggested alternative: 'testAT' sendAT(GF("H")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:540:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined return waitResponse() == 1; ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:540:25: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::dtmfSend(char, int)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:547:5: error: 'sendAT' was not declared in this scope sendAT(GF("+VTD="), duration_ms / 100); // VTD accepts in 1/10 of a second ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:547:5: note: suggested alternative: 'testAT' sendAT(GF("+VTD="), duration_ms / 100); // VTD accepts in 1/10 of a second ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:548:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:548:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:551:31: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined return waitResponse(10000L) == 1; ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:551:31: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::String loop()::TinyGsmSim800::sendUSSD(const loop()::String&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:559:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CMGF=1")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:559:5: note: suggested alternative: 'testAT' sendAT(GF("+CMGF=1")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:560:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:560:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:562:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:562:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:564:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined if (waitResponse() != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:564:22: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:567:49: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined if (waitResponse(10000L, GF(GSM_NL "+CUSD:")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:576:14: error: 'TinyGsmDecodeHex8bit' was not declared in this scope return TinyGsmDecodeHex8bit(hex); ^~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:578:14: error: 'TinyGsmDecodeHex16bit' was not declared in this scope return TinyGsmDecodeHex16bit(hex); ^~~~~~~~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::sendSMS(const loop()::String&, const loop()::String&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:585:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CMGF=1")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:585:5: note: suggested alternative: 'testAT' sendAT(GF("+CMGF=1")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:586:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:586:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:589:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:589:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:591:29: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(">")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:597:31: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined return waitResponse(60000L) == 1; ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:597:31: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::sendSMS_UTF16(const loop()::String&, const void*, size_t)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:601:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CMGF=1")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:601:5: note: suggested alternative: 'testAT' sendAT(GF("+CMGF=1")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:602:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:602:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:604:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:604:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:606:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:606:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:609:29: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(">")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:624:31: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined return waitResponse(60000L) == 1; ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:624:31: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::String loop()::TinyGsmSim800::getGsmLocation()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:633:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CIPGSMLOC=1,1")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:633:5: note: suggested alternative: 'testAT' sendAT(GF("+CIPGSMLOC=1,1")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:634:54: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined if (waitResponse(10000L, GF(GSM_NL "+CIPGSMLOC:")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:638:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:638:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::String loop()::TinyGsmSim800::getGSMDateTime(loop()::TinyGSMDateTimeFormat)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:648:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CCLK?")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:648:5: note: suggested alternative: 'testAT' sendAT(GF("+CCLK?")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:649:51: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 3, which is not yet defined if (waitResponse(2000L, GF(GSM_NL "+CCLK: \"")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'uint16_t loop()::TinyGsmSim800::getBattVoltage()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:676:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CBC")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:676:5: note: suggested alternative: 'testAT' sendAT(GF("+CBC")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:677:40: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "+CBC:")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:685:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:685:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'int8_t loop()::TinyGsmSim800::getBattPercent()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:690:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CBC")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:690:5: note: suggested alternative: 'testAT' sendAT(GF("+CBC")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:691:40: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "+CBC:")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:698:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:698:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'uint8_t loop()::TinyGsmSim800::getBattChargeState()': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:703:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CBC?")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:703:5: note: suggested alternative: 'testAT' sendAT(GF("+CBC?")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:704:40: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "+CBC:")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:710:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:710:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::getBattStats(uint8_t&, int8_t&, uint16_t&)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:715:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CBC?")); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:715:5: note: suggested alternative: 'testAT' sendAT(GF("+CBC?")); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:716:40: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "+CBC:")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:723:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:723:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'loop()::String loop()::TinyGsmSim800::ShowNTPError(int)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:757:34: error: no match for 'operator+' (operand types are 'const char [16]' and 'loop()::String') return "Unknown error: " + String(error); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::modemConnect(const char*, uint16_t, uint8_t, bool, int)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:799:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CIPSSL="), ssl); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:799:5: note: suggested alternative: 'testAT' sendAT(GF("+CIPSSL="), ssl); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:800:24: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined rsp = waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:800:24: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'int16_t loop()::TinyGsmSim800::modemSend(const void*, size_t, uint8_t)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:817:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CIPSEND="), mux, ',', (uint16_t)len); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:817:5: note: suggested alternative: 'testAT' sendAT(GF("+CIPSEND="), mux, ',', (uint16_t)len); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:818:29: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(">")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:823:47: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF(GSM_NL "DATA ACCEPT:")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'size_t loop()::TinyGsmSim800::modemRead(size_t, uint8_t)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:837:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CIPRXGET=2,"), mux, ',', (uint16_t)size); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:837:5: note: suggested alternative: 'testAT' sendAT(GF("+CIPRXGET=2,"), mux, ',', (uint16_t)size); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:838:38: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF("+CIPRXGET:")) != 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:851:30: error: 'millis' was not declared in this scope uint32_t startMillis = millis(); ^~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:38:30: error: 'delay' was not declared in this scope #define TINY_GSM_YIELD() { delay(TINY_GSM_YIELD_MS); } ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:859:90: note: in expansion of macro 'TINY_GSM_YIELD' while (!stream.available() && (millis() - startMillis < sockets[mux]->_timeout)) { TINY_GSM_YIELD(); } ^~~~~~~~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:862:21: error: 'class loop()::TinyGsmSim800::GsmClient' has no member named 'rx' sockets[mux]->rx.put(c); ^~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:867:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:867:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'size_t loop()::TinyGsmSim800::modemGetAvailable(uint8_t)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:872:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CIPRXGET=4,"), mux); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:872:5: note: suggested alternative: 'testAT' sendAT(GF("+CIPRXGET=4,"), mux); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:874:38: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined if (waitResponse(GF("+CIPRXGET:")) == 1) { ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:878:20: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:878:20: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::modemGetConnected(uint8_t)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:888:5: error: 'sendAT' was not declared in this scope sendAT(GF("+CIPSTATUS="), mux); ^~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:888:5: note: suggested alternative: 'testAT' sendAT(GF("+CIPSTATUS="), mux); ^~~~~~ testAT C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:889:34: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined waitResponse(GF("+CIPSTATUS")); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:892:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 1, which is not yet defined waitResponse(); ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:892:18: error: call to 'uint8_t loop()::TinyGsmSim800::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uses the default argument for parameter 2, which is not yet defined In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'bool loop()::TinyGsmSim800::streamSkipUntil(char, long unsigned int)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:635:33: error: 'millis' was not declared in this scope unsigned long startMillis = millis(); \ ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:902:1: note: in expansion of macro 'TINY_GSM_MODEM_STREAM_UTILITIES' TINY_GSM_MODEM_STREAM_UTILITIES() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:38:30: error: 'delay' was not declared in this scope #define TINY_GSM_YIELD() { delay(TINY_GSM_YIELD_MS); } ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:638:9: note: in expansion of macro 'TINY_GSM_YIELD' TINY_GSM_YIELD(); \ ^~~~~~~~~~~~~~ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:902:1: note: in expansion of macro 'TINY_GSM_MODEM_STREAM_UTILITIES' TINY_GSM_MODEM_STREAM_UTILITIES() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h: In member function 'uint8_t loop()::TinyGsmSim800::waitResponse(uint32_t, loop()::String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)': C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:917:33: error: 'millis' was not declared in this scope unsigned long startMillis = millis(); ^~~~~~ In file included from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:22:0, from C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:15, from C:\Users\Josh Biddle\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src/modems/Sodaq2GBeeR6.h:47, from C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:97: C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:38:30: error: 'delay' was not declared in this scope #define TINY_GSM_YIELD() { delay(TINY_GSM_YIELD_MS); } ^ C:\Users\Josh Biddle\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM800.h:919:7: note: in expansion of macro 'TINY_GSM_YIELD' TINY_GSM_YIELD(); ^~~~~~~~~~~~~~ C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino: In function 'void loop()': sketch_jan07a:222:5: error: expected initializer before 'for' for (uint8_t i = 0; i < numFlash; i++) { ^~~ sketch_jan07a:222:25: error: 'i' was not declared in this scope for (uint8_t i = 0; i < numFlash; i++) { ^ sketch_jan07a:222:29: error: 'numFlash' was not declared in this scope for (uint8_t i = 0; i < numFlash; i++) { ^~~~~~~~ sketch_jan07a:230:5: error: 'digitalWrite' was not declared in this scope digitalWrite(redLED, LOW); ^~~~~~~~~~~~ C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino:230:5: note: suggested alternative: 'bitWrite' digitalWrite(redLED, LOW); ^~~~~~~~~~~~ bitWrite C:\Users\Josh Biddle\Desktop\sketch_jan07a\sketch_jan07a.ino: At global scope: sketch_jan07a:238:5: error: expected initializer before 'if' if (mcuBoard.sensorValues[0] == -9999) mcuBoard.update(); ^~ sketch_jan07a:239:5: error: expected unqualified-id before 'return' return mcuBoard.sensorValues[0]; ^~~~~~ sketch_jan07a:240:1: error: expected declaration before '}' token } ^ Multiple libraries were found for "Adafruit_ADS1015.h" Used: C:\Users\Josh Multiple libraries were found for "Adafruit_Sensor.h" Used: C:\Users\Josh Multiple libraries were found for "OneWire.h" Used: C:\Users\Josh Multiple libraries were found for "Adafruit_INA219.h" Used: C:\Users\Josh Multiple libraries were found for "YosemitechModbus.h" Used: C:\Users\Josh Multiple libraries were found for "Wire.h" Used: C:\Program Multiple libraries were found for "PubSubClient.h" Used: C:\Users\Josh Multiple libraries were found for "Adafruit_BME280.h" Used: C:\Users\Josh Multiple libraries were found for "Adafruit_MPL115A2.h" Used: C:\Users\Josh Multiple libraries were found for "KellerModbus.h" Used: C:\Users\Josh Multiple libraries were found for "DallasTemperature.h" Used: C:\Users\Josh Multiple libraries were found for "EnableInterrupt.h" Used: C:\Users\Josh Multiple libraries were found for "Sodaq_DS3231.h" Used: C:\Users\Josh Multiple libraries were found for "DHT.h" Used: C:\Users\Josh Multiple libraries were found for "SensorModbusMaster.h" Used: C:\Users\Josh Multiple libraries were found for "LoggerBase.h" Used: C:\Users\Josh Multiple libraries were found for "Adafruit_AM2315.h" Used: C:\Users\Josh Multiple libraries were found for "TinyGsmClient.h" Used: C:\Users\Josh Multiple libraries were found for "SDI12_ExtInts.h" Used: C:\Users\Josh Multiple libraries were found for "MS5803.h" Used: C:\Users\Josh Multiple libraries were found for "SdFat.h" Used: C:\Users\Josh Multiple libraries were found for "SPI.h" Used: C:\Program exit status 1 expected initializer before 'for' Invalid library found in C:\Users\Josh Biddle\Documents\Arduino\libraries\libraries: no headers files (.h) found in C:\Users\Josh Biddle\Documents\Arduino\libraries\libraries Invalid library found in C:\Users\Josh Biddle\Documents\Arduino\libraries\libraries_EDIY: no headers files (.h) found in C:\Users\Josh Biddle\Documents\Arduino\libraries\libraries_EDIY This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.