Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

iPhone failure to get IP from DHCP on WiFi model RN171

I have written an App which extracts data, over WiFi, from an instrument that creates its own WiFi Hotspot.

The instrument provides no internet connection. The iPad version of this App is connects fine and is assigned an IP address by DHCP server running on a MicroChip RN171 wifi module.

iOS assigns an obscure IP address on a completely different subnet. I understand this is iOS' way of "Complaining" that is wasn't assigned an IP address.

Consequently in the case of the iPhone I am forced to manually assign an IP address for the iPhone, the mask and the gateway. Only then is the connection successful.

Anyone know why the iPhone won't talk DHCP to a WiFi module not connected to the internet? Are there perhaps some parameters that I need to adjust on either the iPhone or WiFi module?

It's not clear why DHCP shouldn't work in this case.

Can you capture a sysdiagnose from the iPhone while it's not working? Please attach the sysdiagnose to a feedback assistant report.

Feedback assistant report, just sent.

What was that bug number?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

The number that appears below the description of the issue in the feedback assistant app is FB17236811 So hope this is what your are looking for.

Is it possible to say if this has been found to be a bug? and if so when might a fix be delivered?

Given that you filed FB17236811, you can use Feedback Assistant to see its current state.

if so when might a fix be delivered?

We can’t answer questions like that. See tip 3 in Quinn’s Top Ten DevForums Tips.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thanks for the sysdiagnose output.

The logs tell us that the DHCP client is sending multiple DISCOVERs but does not get a response from the server.

Are there any diagnostics available on the MicroChip RN171 hardware?

WireShark logs have been uploaded for both iPad and iPhone, for the case FB17236811

In the case of the former a DORA cycle runs to completion.

In the of the iPhone there is a corresponding "Offer", from the RN171, for each iPhone "Discovery" however it is not matched with a "Request". Either the iPhone doesn't see or silently rejects the "Offer".

Interesting!

iPhone failure to get IP from DHCP on WiFi model RN171
 
 
Q