Xinyuan-LilyGO / LilyGo-T-Call-SIM800

https://www.aliexpress.com/item/33045221960.html
482 stars 239 forks source link

Only one Example works #109

Closed Sasch600xt closed 3 years ago

Sasch600xt commented 3 years ago

Hello, first i am sorry to open an "Issue" I think for sure i am the problem :)

Since one week i try to get my LILYGO T-Call SIM 800 to work. Only the example in here is working for me (downloading the TXT Logo File). No other example from the tinyGSM library is working for me like "Send SMS" or "Call Test" or "MQTT Client"

So any idea what i could probably doing wrong here ? Thank you so much for your help !!! Have a great day Sascha

lewisxhe commented 3 years ago

The phone and SMS demos are included in Arduino_TinyGSM.ino. The examples in TinyGSM cannot be used directly in T-Call, you need something like Arduino_TinyGSM.ino In the same way, initialize him in setup.

Sasch600xt commented 3 years ago

Thank you so much for your answere :) could you show me an example how i can get an TinyGSM example to work ? So where and how to "initialize him in setup" ? Thank you so much for your help !!!

lewisxhe commented 3 years ago

You have to refer to the example in the warehouse and initialize the Modem in the setup method https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800/blob/0d1a46fd31525ff9336a3353c11951e63760f116/examples/Arduino_TinyGSM/Arduino_TinyGSM.ino#L130

lewisxhe commented 3 years ago

In the Arduino_TinyGSM example, SMS and call examples are already included. Take a closer look.