Hi @Wenhui Xie ,
Thank you for your reply and sorry for the delay in responding. I solved the problem by changing the #define HTTP_WINDOW_SIZE
.
Thank you
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I'm using [Web Http client functions][1] of NetXDuo with ST Microelectronics board [B-U585I-IOT02A][2] but, after the second call of nx_web_http_client_response_body_get() function, the system loops without any return. I try to change varible and memory size for thread stack and packet pool but there seems to be no effect.
This is my code
app_netxduo.h
/* Includes ------------------------------------------------------------------*/
#include "nx_api.h"
/* USER CODE BEGIN Includes */
#include
Hi @Wenhui Xie ,
Thank you for your reply and sorry for the delay in responding. I solved the problem by changing the #define HTTP_WINDOW_SIZE
.
Thank you
Could you modify the wait option of the nx_web_http_client_response_body_get(), from TX_WAIT_FOREVER to 5 *NX_IP_PERIODIC_RATE, and check the status of the second call? If the status is 0x01(NX_NO_PACKET), please check if the server did send the response and if the driver received the response correctly.
And from the code, you need to release the http_packet after printing the packet content.