Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TinyGsmClientUDP missing #2

Open
MC405Group opened this issue May 7, 2022 · 3 comments
Open

TinyGsmClientUDP missing #2

MC405Group opened this issue May 7, 2022 · 3 comments

Comments

@MC405Group
Copy link

I cannot find the source for TinyGsmClientUDP.

@capedra
Copy link

capedra commented Jan 18, 2023

@MC405Group
I hope you already solved this issue but you can see this typedef TinyGsmSim7020E::UDPClient TinyGsmClientUDP; on here: OloloevReal/TinyGSM@fa8c676

So, basically, you need to use the TinyGSM library from @OloloevReal : https://github.com/OloloevReal/TinyGSM/tree/SIM7020E

Good luck.

@capedra
Copy link

capedra commented Jan 22, 2023

@MC405Group

Also, it's important to remind everyone that we should use TinyGsmCoAPClient client; instead of TinyGsmClientUDP client; on TinyCoap.h file if we want to use the AT commands of SIM7020 Series CoAP Application Note (V1.02 or V1.03). By the way, the parsePackets function does not work whenever we use the TinyGsmCoAPClient though. And the limit of the received CoAP payload is limited to 255 characters, @OloloevReal

@capedra
Copy link

capedra commented Jan 22, 2023

You can increase some constant to #define TINY_GSM_RX_BUFFER 513 located in the TinyGsmClientSIM7020E.h file. 512 bytes of data is the limit of this module, according to its AT command manual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants