Open leofabri opened 5 years ago
Hello, I tried to apply some changes to Adafruit_FONA.cpp to make it runnable (see pull between requests) and now it seems to compile just fine on my ESP32. Unfortunately, when I try to connect to the SIM7600/SIM7000G modules I experience the following problem:
Initializing connections....(May take several seconds)
Configuring to 9600 baud
Attempting to open comm with ATs
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<--- OK
---> AT
<---
---> AT
<--- OK
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<---
Timeout: No response to AT... last ditch attempt.
---> AT
<---
---> AT
<---
---> AT
<---
---> ATE0
<---
---> ATE0
<---
Couldn't find FONA
Something else was written here. Though I decided to clean my help request a little bit after playing around with the library for several hours without any result.
The only thing I can say about this is that if you upload the code using just the Arduino IDE without esp-idf everything works as it should. The sim module gets detected almost immediately and nothing bad seems to happen. However when you use esp-idf nothing works. The result is the one above. I cannot get the sim module connected because it's not seen by the board.
Please help. Thank you.
Sorry, I've never really used ESP-IDF with Arduino. Are you using it so that you can include the IDF commands inside Arduino IDE? Are you saying that simply installing ESP-IDF makes the code not compile in Arduino IDE, without even adding any IDF commands inside?
Hi @botletics, I'm facing compilation issues with your library when I try to compile it for my ESP32 when using express-if and Arduino as a module. I get the following errors:
It seems like the compiler is having issues with the way the comparisons are done (maybe the compiler is expecting strcmp?), but I don't understand why that is happening. I didn't test it with the bare Arduino IDE but I suppose that it works just fine. Thank you in advance for your support