cotestatnt / AsyncTelegram2

Powerful, flexible and secure Arduino Telegram BOT library. Hardware independent, it can be used with any MCU capable of handling an SSL connection.
MIT License
83 stars 25 forks source link

cannot connect to telegram server if used with sqlite3 for arduino #89

Open sharkyenergy opened 1 year ago

sharkyenergy commented 1 year ago

Hello!

I have the wifi data stored on a SD card inside a sqlite database. In order to connect to my wifi, i read that data from the database using the SQLITE3 for arduino library (https://github.com/siara-cc/esp32_arduino_sqlite3_lib)

The problem is that as soon as I run this:

rc = sqlite3_prepare_v2(db1, sql.c_str(), 1000, &res, &tail);

(sample code here: https://github.com/siara-cc/esp32_arduino_sqlite3_lib/blob/master/examples/sqlite3_webquery/sqlite3_webquery.ino)

your library stops working.. I cannot connect to telegram anymore. I get the error message "Unable to connect to Telegram, NOK" .

I am not able to figure out why.. what is going on here?

Any help is greatly appreciated.

best regards

sharkyenergy commented 1 year ago

is there any debugging I can enable that tells me more than "unable to connect"? to figure out what the cause is? thank you

cotestatnt commented 1 year ago

Hi @sharkyenergy, I'm sorry for the big late reply, but I've been very busy in recent months.

Do you still have this problem or did you manage to solve it?