what triggers auto join for wifi

I'm working on an application with a wifi module. We've set it up to have a DNSS. Each time I connect to an iPhone or iPad the first time, the log in screen pops up. I don't need the log in screen. I'm running an example from the wifi module vendor that doesn't have this log in screen pop up when it's first connected. I see that it doesn't have auto join or auto login on the information page about it's connection. My device has these. What triggers these to be used?

I’m having a hard time understanding your question. Let’s start with some basics. You wrote:

I'm working on an application with a wifi module.

Your application has a Wi-Fi module? I think not (-: It sounds like you’re working on an application that talks to some accessory and the accessory has a Wi-Fi module. Is that right?

We've set it up to have a DNSS.

What does DNSS mean? The Internet suggests Dub Narcotic Sound System but I suspect that’s wrong (-:

Each time I connect to an iPhone or iPad the first time, the log in screen pops up.

Are you referring to the captive network web sheet here?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

WWDC runs Mon, 5 Jun through to Fri, 9 Jun. During that time all of DTS will be at the conference, helping folks out face-to-face. http://developer.apple.com/wwdc/

We have an embedded device with a wifi module. An Apple device (iPhone, iPad) can connect to this device by connecting to it through Settings/Wi-Fi and selecting its network name from the list. Whenever we connect to this device the first time, i.e. after entering the password, the Log in screen pops up. DNSS means Domain Name System Server If we don't have DNSS enabled, i.e. only an address (192.168.1.1), the Log in screen doesn't pop up. Apple devices are the only ones that are doing this.

I would like to know what triggers the log in screen to appear. This only occurs on Apple devices.

Does your accessory provide access to the wider Internet? Or does it just provide an isolated network?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

WWDC runs Mon, 5 Jun through to Fri, 9 Jun. During that time all of DTS will be at the conference, helping folks out face-to-face. http://developer.apple.com/wwdc/

It's an isolated network.

It's an isolated network.

OK.

The following is based on the assumption that by “log in screen” you mean the captive network sheets.

The issue here is that iOS thinks that your device is vending a captive network. There’s no exact definition of what constitutes a captive network (either in the industry or from an iOS perspective) but the general idea is that the network must:

  • Look like it might provide access to the wider Internet (for example, provide a routable address, a default gateway, and a DNS configuration)

  • Return a weird response to a request for a known good URL (something on

    captive.apple.com
    IIRC)

Note By “weird” I mean that the request completes successfully and returns a response that is not what’s known to exist at that URL. In your case, your device does not provide access to the wider Internet and thus should just not respond to this probe.

It sounds like your accessory is vending a network that meets these criteria and thus triggers the captive network sheet. If you want to continue vending a DNS configuration, you’ll have to configure the device to not respond to iOS’s captive network probe.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

WWDC runs Mon, 5 Jun through to Fri, 9 Jun. During that time all of DTS will be at the conference, helping folks out face-to-face. http://developer.apple.com/wwdc/

what triggers auto join for wifi
 
 
Q