FreeRTOS / FreeRTOS-Cellular-Interface

FreeRTOS Cellular Interface implementation of the 3GPP TS v27.007 standard.
MIT License
85 stars 59 forks source link

How to set custom timeout for common AT Command functions? #100

Closed TunaBicim closed 2 years ago

TunaBicim commented 2 years ago

Hello all,

How do I set custom timeouts for common functions like Cellular_CommonGetModemInfo? I see that the send functions use PACKET_REQ_TIMEOUT_MS as the default value. My modem documentation recommends a longer timeout for some of the common AT commands. Since this define doesn't have #ifndef block around it there is no way to redefine it without modifying the Cellular Interface Files. I wanted to ask if setting a custom timeout is possible before asking for a feature request.

Thank you, Tuna Bicim

RichardBarry commented 2 years ago

Hi - thanks for your question. Our preference is to keep all support conversations on the support forum, so there is a single place for users to search for answers. I would be grateful if you can post your question to https://forums.freertos.org, where we will be happy to reply.