| Electronic Components Datasheet Search |
|
UM0248 Datasheet(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0248 Datasheet(HTML) 23 Page - STMicroelectronics |
|
23 / 26 page ![]() UM0248 Webserver demo with uIP TCP/IP stack 23/26 3 Webserver demo with uIP TCP/IP stack 3.1 uIP overview uIP is a free TCP-IP stack designed originally for 8-bit/16-bit microcontrollers, it needs only a few kilobytes of RAM and less than 100 Kbytes for code. The uIP stack provides support for several applications like web server and client applica- tions, ICMP , telnet,... For more details about the uIP stack please refer to: www.sics.se/~adam/uip/ 3.2 ENET driver interfacing with the uIP stack The webserver demo in the uIP stack is based on a main loop as shown in Figure 3. Figure 3. uIP main loop In order to interface with the uIP stack, you just need to provide driver functions to receive and send IP packets. The driver functions used here are: ● ENET_HandleTxPkt : sends an IP packet. ● ENET_HandleRxPkt: checks for a received packet and copies it to the stack buffer. For implementation details please refer to uIP stack file: uIPMain.c file Check for timeout Check for packet Process packet Application Output packets Output packets Application AProcess timeout ENET_HandleTxPkt ENET_HandleRxPkt |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |