I am successfull using the hotspot helper to provide passwords to hotspots that are protected with WPA2 passwords. However, I need to also be able to deliver automatic authentication for open network protected by a captive portal.
From researching on this forum and other sources I understand that to achieve this I provide the appropriate response to the .evaluate process. However, I believe I have identified conflicting guidance from various sources and wish to confirm.
1) What confidence response should be delivered in reponse to the .Evaluate process, none, low or high to cause transition to the authenticate process?
I would have expected High if this is the network myApp wishes to manage. Low if myApp is just one of many apps that could perform the management or None if it is not a Captive portal connection. Is this correct?
2) The reason I ask is that causing the transition to the .Authenticate process I do not seem to have network access to allow me to process the API calls necessary to perform authentication on the network. Is this because I am passing the wrong response to the .Evaluate or could this be another issue?
3) I have also seen that one possible solution to this would be to bind the (NEHotspotHelperCommand*)cmd from the .Authenticate process to the NSMutableURLRequest making the authentication API calls using [NSMutableURLRequest bindToHotspotHelperCommand:]
e.g. [NSMutableURLRequest bindToHotspotHelperCommand:cmd];
As this still does not seem to be working I believe I must be misunderstanding the process but have been unable to identify my error so welcome recommendations.
Graeme