Tool/software: Code Composer Studio
Dear Sir or Madam,
I have made the enet_lwip example project run normally as following screenshot from PC.
But where is the data "101" from, I guess it is from the httpd_init() function as follows,
httpd_init(void)
{
struct altcp_pcb *pcb;
#if HTTPD_USE_MEM_POOL
LWIP_MEMPOOL_INIT(HTTPD_STATE);
#if LWIP_HTTPD_SSI
LWIP_MEMPOOL_INIT(HTTPD_SSI_STATE);
#endif
#endif
LWIP_DEBUGF(HTTPD_DEBUG, ("httpd_init\n"));
/* LWIP_ASSERT_CORE_LOCKED(); is checked by tcp_new() */
pcb = altcp_tcp_new_ip_type(IPADDR_TYPE_ANY);
LWIP_ASSERT("httpd_init: tcp_new failed", pcb != NULL);
httpd_init_pcb(pcb, HTTPD_SERVER_PORT);
}
I would like to work on this example project to implement data transmit and receive between PC and F28388.
And I guess there is supposed to be a txBuffer or rxBuffer function to transmit or receive the data.
But I can not find any clues in the httpd_init() function.
Could you please give some clues?
Thanks a lot!
zhou ping