How to exclude DNS, TCP when a application is compiled?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
SeKi_2184131
Level 2
Level 2
First like given

WICED-SDK project is set Symbols LWIP_DNS and LWIP_TCP,

but I want to use UDP and Socket Libraries only to develop app.

So I have erased LWIP_DNS and LWIP_TCP , but related DNS flash and static data are included in compile log,

and some DSN functions are included with udp libraries of LwIP,

How to set the function to be disable DSN and TCP?

0 Likes
1 Solution
Anonymous
Not applicable

Currently this is not possible. The WICED APIs do support both udp and tcp via the same source files, and so unless you modify the source by yourself this is not just a #define change.

Having said that - any particular reason why you need these to be disabled? Even if you are using just UDP - you would need DNS unless you plan to hard-code IP addresses.

And TCP support while it will take some room in Flash should not be significant i.e. not more than a few KB at max

View solution in original post

0 Likes
7 Replies