Unicast DHCP in NetX

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

cross mob
StKi_2157971
Level 3
Level 3
First like received

Hi all

Here is my environments.

- WICED SDK 2.4.0

- ThreadX/NetX Duo


In field test, I found that some DHCP server(DHCP proxy) replied DHCP-Offer with Unicast not Broadcast.

Then, WICED module(netx) can't go on anymore as below.

WICED-dhcp.jpg

I think that this is internal issue of ThreadX/NetX library.

(I can't use the lwip for some reason.)

Is any way to solve this problem?

Regards, Steve

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.

Hi,

Could you please try the attached patch and library for SDK-2.4.0?

Attached NetX_Duo.ARM_Cortex_M3.release.a replaces the .../Wiced/Network/NetX_Duo/NetX_Duo.ARM_Cortex_M4.release.a library.

Seyhan

View solution in original post

0 Likes
4 Replies
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi Steve,

Which platform are you using?

Seyhan

0 Likes

Hi sehyan

My platform is <BCMUSI11>, but I don't think that this problem is related to the platform.

I guess that this is about dhcp-client-library of NetX.

And, technically speaking, I think that if WICED module(NetX-dhcp-client) send a DHCP-Discover-with-Broadcast, DHCP Server should reply DHCP-Offer-with-Broadcast (not DHCP-Offer-with-Unicast).

Actually most DHCP-server reply DHCP-Offer-with-Broadcast.

But, "sometime-DHCP-server" would reply DHCP-Offer-with-Unicast, and in this case WICED module(NetX-dhcp-client) can't go to next-step.

In the same-conditions, Linux, smartphone, windowns and another dhcp-client can go to the next-step and get a IP from DHCP-serer.


Steve

0 Likes
lock attach
Attachments are accessible only for community members.

Hi,

Could you please try the attached patch and library for SDK-2.4.0?

Attached NetX_Duo.ARM_Cortex_M3.release.a replaces the .../Wiced/Network/NetX_Duo/NetX_Duo.ARM_Cortex_M4.release.a library.

Seyhan

0 Likes

Good.

Thanks seyhan.

0 Likes