Post by tmicro on Jul 11, 2022 6:29:14 GMT
Running into sketch compiling errors for ESP32_LTE_Demo...(using ESP32 D1 mini):
\Adafruit_FONA.cpp: In member function 'boolean Adafruit_FONA::getTime(char*, uint16_t)':
\Adafruit_FONA.cpp:998:33: error: call of overloaded 'getReply(const __FlashStringHelper*, unsigned int)' is ambiguous
getReply(F("AT+CCLK?"), 10000U);
^
In file included from \Adafruit_FONA.cpp:21:0:
\Adafruit_FONA.h:300:11: note: candidate: uint8_t Adafruit_FONA::getReply(FONAFlashStringPtr, uint16_t)
uint8_t getReply(FONAFlashStringPtr send, uint16_t timeout = FONA_DEFAULT_TIMEOUT_MS);
^
\Adafruit_FONA.h:302:11: note: candidate: uint8_t Adafruit_FONA::getReply(FONAFlashStringPtr, int32_t, uint16_t)
uint8_t getReply(FONAFlashStringPtr prefix, int32_t suffix, uint16_t timeout = FONA_DEFAULT_TIMEOUT_MS);
^
\Adafruit_FONA.cpp: In member function 'boolean Adafruit_FONA::readRTC(uint8_t*, uint8_t*, uint8_t*, uint8_t*, uint8_t*, uint8_t*, int8_t*)':
\Adafruit_FONA.cpp:1015:33: error: call of overloaded 'getReply(const __FlashStringHelper*, unsigned int)' is ambiguous
getReply(F("AT+CCLK?"), 10000U); //Get RTC timeout 10 sec
^
In file included from \Adafruit_FONA.cpp:21:0:
\Adafruit_FONA.h:300:11: note: candidate: uint8_t Adafruit_FONA::getReply(FONAFlashStringPtr, uint16_t)
uint8_t getReply(FONAFlashStringPtr send, uint16_t timeout = FONA_DEFAULT_TIMEOUT_MS);
^
\Adafruit_FONA.h:302:11: note: candidate: uint8_t Adafruit_FONA::getReply(FONAFlashStringPtr, int32_t, uint16_t)
uint8_t getReply(FONAFlashStringPtr prefix, int32_t suffix, uint16_t timeout = FONA_DEFAULT_TIMEOUT_MS);
any guidance much obliged!
\Adafruit_FONA.cpp: In member function 'boolean Adafruit_FONA::getTime(char*, uint16_t)':
\Adafruit_FONA.cpp:998:33: error: call of overloaded 'getReply(const __FlashStringHelper*, unsigned int)' is ambiguous
getReply(F("AT+CCLK?"), 10000U);
^
In file included from \Adafruit_FONA.cpp:21:0:
\Adafruit_FONA.h:300:11: note: candidate: uint8_t Adafruit_FONA::getReply(FONAFlashStringPtr, uint16_t)
uint8_t getReply(FONAFlashStringPtr send, uint16_t timeout = FONA_DEFAULT_TIMEOUT_MS);
^
\Adafruit_FONA.h:302:11: note: candidate: uint8_t Adafruit_FONA::getReply(FONAFlashStringPtr, int32_t, uint16_t)
uint8_t getReply(FONAFlashStringPtr prefix, int32_t suffix, uint16_t timeout = FONA_DEFAULT_TIMEOUT_MS);
^
\Adafruit_FONA.cpp: In member function 'boolean Adafruit_FONA::readRTC(uint8_t*, uint8_t*, uint8_t*, uint8_t*, uint8_t*, uint8_t*, int8_t*)':
\Adafruit_FONA.cpp:1015:33: error: call of overloaded 'getReply(const __FlashStringHelper*, unsigned int)' is ambiguous
getReply(F("AT+CCLK?"), 10000U); //Get RTC timeout 10 sec
^
In file included from \Adafruit_FONA.cpp:21:0:
\Adafruit_FONA.h:300:11: note: candidate: uint8_t Adafruit_FONA::getReply(FONAFlashStringPtr, uint16_t)
uint8_t getReply(FONAFlashStringPtr send, uint16_t timeout = FONA_DEFAULT_TIMEOUT_MS);
^
\Adafruit_FONA.h:302:11: note: candidate: uint8_t Adafruit_FONA::getReply(FONAFlashStringPtr, int32_t, uint16_t)
uint8_t getReply(FONAFlashStringPtr prefix, int32_t suffix, uint16_t timeout = FONA_DEFAULT_TIMEOUT_MS);
any guidance much obliged!