STM Lesson 93. LAN. W5500. HTTP Server. Sockets. Part 2
STM Lesson 93. LAN. W5500. HTTP Server. Sockets. Part 2
0
Project description
LAN. W5500. HTTP Server. Sockets B previous part lesson we got acquainted with the concept of sockets, and also made certain amendments to the code for working with them. In function http_request change the little output in the USART file name by adding the socket number there as well strcpy(httpsockprop[sn].fname,tmpbuf); } sprintf(str1,"S%d %srn",sn, httpsockprop[sn].fname); HAL_UART_Transmit(&huart2,(uint8_t*)str1,strlen(str1),0x1000); f_close(&httpsockprop[sn].MyFile); Here we also display the socket number sprintf(str1,"S%d f_open: %drn",sn,result)…
Keep reading with a free account
Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.