iOS doesn’t switch back to home router + socket connect failure in AP mode

In iOS AP-mode onboarding for IOT devices, why does the iPhone sometimes stay stuck on the device Wi-Fi (no internet) and fail to route packets to the device’s local IP, even though SSID is correct?

Sub-questions to include: • Is this an iOS Wi-Fi auto-join priority issue? • Can AP networks become “sticky” after multiple joins? • How does iOS choose the active routing interface when Wi-Fi has no gateway? • Why does the packet never reach the device even though NWPath shows WiFi = satisfied?

Answered by DTS Engineer in 868920022

I’m not sure I understand your questions so lemme you start you out with some ‘light’ reading. Check out the various posts linked to from Extra-ordinary Networking. These give a lot of background to this issue and, specifically, Working with a Wi-Fi Accessory defines terminology that you can use in any follow-up questions you have.

Share and Enjoy

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

I’m not sure I understand your questions so lemme you start you out with some ‘light’ reading. Check out the various posts linked to from Extra-ordinary Networking. These give a lot of background to this issue and, specifically, Working with a Wi-Fi Accessory defines terminology that you can use in any follow-up questions you have.

Share and Enjoy

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

iOS doesn’t switch back to home router + socket connect failure in AP mode
 
 
Q