- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to obtain network address information. Linux has its own getAddrInfo() method. I am not sure if netdb.h is in the compilation path for WICED SDK. is there an alternative?
- Labels:
-
SDK 3.x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does wiced_hostname_lookup() work for you?
Or LwIP supports getaddrinfo() as lwip_getaddrinfo().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure, That seems a close function to linux's getaddrinfo. Can you tell me if I need to add this library(LWIP) explicitly in my project? if so, which directory? or an include of header would be ok, if this library is present in WICED SDK?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
wiced_hostname_lookup() is prepared as a part of normal WICED API.
So you can call it in your application.
LwIP is not used as default.
Adding -FreeRTOS-LwIP like below builds your application with LwIP.
make snip.scan-BCM943362WCD4--FreeRTOS-LwIP
Please refer <WICED-SDK>/Makefile for detail