Make PERIOD and SERVER_REPLY configurable
This commit is contained in:
parent
912ea85199
commit
1c53807727
3 changed files with 13 additions and 1 deletions
|
@ -68,6 +68,7 @@ tcpip_handler(void)
|
|||
UIP_IP_BUF->srcipaddr.u8[sizeof(UIP_IP_BUF->srcipaddr.u8) - 1]);
|
||||
PRINTF("\n");
|
||||
#if SERVER_REPLY
|
||||
PRINTF("DATA sending reply\n");
|
||||
uip_ipaddr_copy(&server_conn->ripaddr, &UIP_IP_BUF->srcipaddr);
|
||||
uip_udp_packet_send(server_conn, "Reply", sizeof("Reply"));
|
||||
uip_create_unspecified(&server_conn->ripaddr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue