-
Notifications
You must be signed in to change notification settings - Fork 135
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
'OK' is tangling in the Receive Buffer (IDFGH-10582) #323
Comments
Log: https://gist.github.com/diplfranzhoepfinger/e7ba744e4f6ccc54e1119f9439e0ec86 we observe that this is NOT happening in Command Mode. only in CMUX Mode. |
@david-cermak any news ? SIMCOM side or Espressif side ? |
Those are probably leftovers from the previous command. Does it cause any trouble? We can flush the buffers before sending a new command. |
yes, as we get "Inquiring UE system information ERROR or TIMEOUT" because the "OK" is not coming.
that would not solve anything. as the Parser needs the OK to parse right, also it is Part of the Command. |
it was probably timeout, so the Clearing buffers before commands is probably the right thing to do, but wouldn't help much (just gives ~4 bytes to buffer size available) |
Thw Question is: in Command Mode we never see this Problem. in CMUX Mode we see this Problem even if we make a really long timeout to this Command, like 15s. and the OK comes once we issue a "AT" to the Modem. so we are unsure if this is a SIMCOM Modem or a esp-modem Problem. |
Could you please connect another UART-USB converter to modem Tx line and check if the |
ah, i will test immediately with #312 so we know. |
Again no IP: Test again: working: (it looks like not working, but this is because the Parser is not fully written) the OK is no more tangling. That is good. Write the Parser is just work. |
If I understand correctly the change in #312 fixed this issue, correct? If not please reopen |
i will test just now.
Am Mo., 9. Okt. 2023 um 18:04 Uhr schrieb david-cermak <
***@***.***>:
… If I understand correctly the change in #312
<#312> fixed this issue,
correct?
If not please reopen
—
Reply to this email directly, view it on GitHub
<#323 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJAHMXLRQIG7BC3A4CCHWLDX6QOAFAVCNFSM6AAAAAA2AN5WMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJTGI4DIMJYGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Diplom-Informatiker Franz Höpfinger e.K.
Reibersdorf 16a
84419 Schwindegg
|
Answers checklist.
General issue report
Code: https://github.com/diplfranzhoepfinger/esp-protocols-tree-master-components-esp_modem-examples-simple_cmux_client/tree/feature/AT_CPSI
Log: https://gist.github.com/diplfranzhoepfinger/dde959578cb954f23908c07fb10b463a
we observe the following:
the Command "AT+CPSI?" is sent out.
the Response is coming inside the 500ms Timeout.
but the OK is only received after we send out another "AT" with
dce->sync();
this happens in CMUX Mode.
is the receive Buffer not flushed while waiting for the OK ? Or what can be the Reason ?
The text was updated successfully, but these errors were encountered: