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
{{ message }}
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
eelaix
changed the title
CoreMQTT mutual DEMO: connect OK. Receive ERROR: MQTTRecvFailed
CoreMQTT mutual DEMO: connect OK. Receive ERROR: MQTTRecvFailed blocked at prvWaitForPacket after MQTT_Subscribe
Aug 21, 2021
In your logs, it looks like the subscribe acknowledgment is received and the callback invoked around line 1177. Then, roughly 90 seconds later, line 1210 shows that the server sends a close-notify since 1.5 times the 60 second keep alive interval has elapsed. It looks like mbedtls is getting blocked on a receive call after the SUBACK is received.
In your logs, it looks like the subscribe acknowledgment is received and the callback invoked around line 1177. Then, roughly 90 seconds later, line 1210 shows that the server sends a close-notify since 1.5 times the 60 second keep alive interval has elapsed. It looks like mbedtls is getting blocked on a receive call after the SUBACK is received.
What hardware/network stack are you using?
Hi, thanks for your reply.
My hardware is based on STM32H750 MCU , and I configured both with RMII eth and UART LTE module,
when I using RMII ETH everything runs ok,
but when I change to UART LTE (software is X-CUBE-CELLULAR 6.0.0) shows this.
NOW, I am trying to run under FreeRTOS-Cellular API and MQTT-AGENT,
I am trying this solution to avoid this problem.
In your logs, it looks like the subscribe acknowledgment is received and the callback invoked around line 1177. Then, roughly 90 seconds later, line 1210 shows that the server sends a close-notify since 1.5 times the 60 second keep alive interval has elapsed. It looks like mbedtls is getting blocked on a receive call after the SUBACK is received.
What hardware/network stack are you using?
Hi, @muneebahmed10
When I integration CELLULAR API WITH FreeRTOS 2021.07,
I have found the SecureSocket abstraction library (202007, Branches->feature/cellular) does not work,
is there any solution ?
here is the log of secure socket library output: (blocked at the end)
9 19286 [iot_thread] [INFO ][xDEMO][19286] SIM card is READY
The Code blocked at Line 1177
when execute MQTT_Subscribe success and blocked at prvWaitForPacket function
return code is -0x7880
Log Output
The text was updated successfully, but these errors were encountered: