User Manual
GD32450I-EVAL
39
/
51
client:
Using Network assistant software, configure to use udp protocol, using 1025 port, and
when send something through the assistant, users can see the echo reply from the
board:
Open the DHCP function in main.h, using a router to connect the board with the pc,
users can see the automatic allocated ip address of the board from the HyperTerminal.
5.27.2
Raw_tcpudp
DEMO Purpose
This demo includes the following functions of GD32 MCU:
Learn to use Lwip stack
Learn to use raw API to handle with a task
Learn how to realize a tcp server
Learn how to realize a tcp client
Learn how to realize a udp server/client
Learn how to use DHCP to allocate ip address automatically
Learn to handle with received packet in polling mode and in interrupt mode