vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.91k stars 709 forks source link

Lilygo TTGO T-Call V1.4 - SIM800_SslSetCer Example not working #544

Open LairdTurner opened 3 years ago

LairdTurner commented 3 years ago

Hello!

I'm usig a Lilygo TTGO T-Call V1.4 and I'm trying to upload a certificate to the 800L chip. For this I want to use the more/SIM800_SslSetCert.ino example from the example library.

But the ESP-32 comes up with this error

Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled. Memory dump at 0x400d1338: b103ad00 1110fb55 64444576 Core 1 register dump: PC : 0x400d133e PS : 0x00060330 A0 : 0x800d2229 A1 : 0x3ffb1f70
A2 : 0x0001c200 A3 : 0x3ffc0028 A4 : 0x0800001c A5 : 0x00004e20
A6 : 0x3ffc02d8 A7 : 0x00060a23 A8 : 0x800d1339 A9 : 0x3ffb1f50
A10 : 0x3ffc0028 A11 : 0x3f4001a2 A12 : 0x0800001c A13 : 0x00000009
A14 : 0x00000009 A15 : 0x00000000 SAR : 0x00000016 EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000

ELF file SHA256: 0000000000000000

Backtrace: 0x400d133e:0x3ffb1f70 0x400d2226:0x3ffb1fb0 0x40089dc1:0x3ffb1fd0

Rebooting... ets Jun 8 2016 00:22:57

Any idea what's going wrong?

kind regards

  René
SRGDamia1 commented 3 years ago

No idea. Are you using the example exactly; if not, can you paste your code? Can you parse the dump?

Kromtar commented 3 years ago

You could try this alternative. It is based on a wrapper for handling SSL. Works perfectly with my board LilyGo T-Call SIM800 (v1.3). Your version is 1.4, so you may have to change the definition of pins to the corresponding ones.

fbi1671 commented 2 years ago

You could try this alternative. It is based on a wrapper for handling SSL. Works perfectly with my board LilyGo T-Call SIM800 (v1.3). Your version is 1.4, so you may have to change the definition of pins to the corresponding ones.

Yup - I tried the alternative and it worked. tested with my MySQL server and Telegram. Both working fine.

fbi1671 commented 2 years ago

use this library, dont use the one installed in Library Manager. That one is by OpenS Lab, does not work with TinyGSM

https://github.com/govorox/SSLClient

Thank you,

Best regards, Ahmad Firdaus Idris Mobile:

On Wed, Oct 13, 2021 at 1:49 AM Madhav Rawal @.***> wrote:

@fbi1671 https://github.com/fbi1671 How did you make it work? I am getting an error like "no matching function for call to 'SSLClient::SSLClient(TinyGsmClient*)'". Could you help me out?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/544#issuecomment-941234935, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5JVZPLFPZ5QKWBWH4V5F3UGRYJRANCNFSM45HXK7YQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.