You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And the response output I get is this (gps coords hidden) : +CGNSINF: 1,1,20241018103437.000,xx.yyyyyy,-x.yyyyyy,-11.900,0
or this: +CGNSINF: 1,1,20241018103421.000,xx.yyyyyy,-x.yyyyyy,95.000,0.
its seems the string length is of a fixed size, the whole string should be something like this: +CGNSINF: 1,1,20241018103758.000,xx.yyyyyyy,-x.yyyyyy,15.300,0.00,4.8,1,,1.1,1.5,0.9,,27,4,3,,37,,
is there a way to set the response buffer size?
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
esp_modem at_raw has the wrong length output string
esp_modem at_raw has the wrong length output string (IDFGH-13911)
Oct 18, 2024
@txf- Are your really calling the C++ API and not the esp_modem_at_raw() plain C wrapper? The C functions indeed have fixed output length parameter, but C++ use standard strings which could grow.
Isn't is possible that the response comes in chunks? Your pass criteria ("+CGNSINF:") are located in the beginning of the reply so that when the first chunk comes, all's good for returning OK with the partial response.
Answers checklist.
General issue report
Using a SIM7000 (on the lilygo Tsim7000), I'm executing the following function:
And the response output I get is this (gps coords hidden) :
+CGNSINF: 1,1,20241018103437.000,xx.yyyyyy,-x.yyyyyy,-11.900,0
or this:
+CGNSINF: 1,1,20241018103421.000,xx.yyyyyy,-x.yyyyyy,95.000,0.
its seems the string length is of a fixed size, the whole string should be something like this:
+CGNSINF: 1,1,20241018103758.000,xx.yyyyyyy,-x.yyyyyy,15.300,0.00,4.8,1,,1.1,1.5,0.9,,27,4,3,,37,,
is there a way to set the response buffer size?
The text was updated successfully, but these errors were encountered: