netxduo icon indicating copy to clipboard operation
netxduo copied to clipboard

Not able to get IP(CYW4373 (Type 2BC), STM32L4, ThreadX, and netXduo)

Open uttamsingh-kritikal opened this issue 1 year ago • 1 comments
trafficstars

I am writing to seek assistance regarding issues I am encountering with my project, specifically in connecting to an Access Point using the combination of CYW4373 (Type 2BC), STM32L4, ThreadX(2.0.0), netXduo(6.2.0) and Wi-Fi stack given by Murata.

We're experiencing issues with the DHCP client. We've found workarounds that seems to be effective, but we want to confirm that it's safe to use.

Bug 1/2 Not able to get IP. Root Cause: 24-byte difference in packet length compared to expected length. image

Workaround We've discovered a 24-byte difference, so we added an extra 24 bytes to the NX_IPv4_PACKET length, and this appears to be working. image

Bug 2/2 Not able to get IP (if DHCP offer packet have extra padding bytes). 24-byte difference in packet length compared to expected length. Screenshot (10)

Due to the extra padding bytes in the OFFER message, the DHCP client was failing the check and consequently releasing the DHCP offer packet. image

Workaround Commented out the length check, and now it’s processing the DHCP packets and successfully obtaining the IP address.

uttamsingh-kritikal avatar Sep 23 '24 16:09 uttamsingh-kritikal