vshymanskyy / TinyGSM

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

Can we make long polling? #525

Open roysG opened 3 years ago

roysG commented 3 years ago

I need to hold the connection open of 45 sec, can i doing it with this library?

SRGDamia1 commented 3 years ago

Yes, you can have a connection open for 45s or longer. The default connection timeout depends on the module, but I think they're all capable of long or indefinite connections.

roysG commented 3 years ago

Good news, can i get example or can you show me it in manual, how to do it?

SRGDamia1 commented 3 years ago

Have you tried just opening a connection and not closing it?

What module are you using?

gorghino commented 3 years ago

@roysG Did you get a infinite connection?