Hi,
Has somebody found problem like me?
My project is using both PPP-Serial (GPRS) and HTTP-Server (Ethernet).
And it has ever worked well until I tested switch HTTPD to HTTPSRV.
I facing a problem that after I called HTTSRV_init,The PPP_initialze will always return error code 1203.
Or if I called PPP_initialze first, The HTTSRV_init will never return a value.
The error code means RTCSERR_PPP_CREATE_PKT_POOL_FAILED.
You need to increase the size of your message pool (_RTCS_msgpool_init, grow, max):
_RTCSPCB_init = 4;
_RTCSPCB_grow = 2;
_RTCSPCB_max = 20;
_RTCS_msgpool_init = 4;
_RTCS_msgpool_grow = 2;
_RTCS_msgpool_max = 20;
_RTCS_socket_part_init = 4;
_RTCS_socket_part_grow = 2;
_RTCS_socket_part_max = 20;
Hi Martin,
Thank you for suggestion.
Actually I've declared those codes in a project, It works with HTTPD but doesn't work with HTTPSRV.