<trclass="memdesc:gac4a8e848f723536de1ae83651cd91d8d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">An ID number representing a network configuration. <ahref="#gac4a8e848f723536de1ae83651cd91d8d">More...</a><br/></td></tr>
<trclass="memdesc:ga1456945fe4303e08071b97571b20d807"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initialise the Auto Connect library. <ahref="#ga1456945fe4303e08071b97571b20d807">More...</a><br/></td></tr>
<trclass="memdesc:gaccea212848e9bdb550d734004f130102"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Cleanup the Auto Connect library. <ahref="#gaccea212848e9bdb550d734004f130102">More...</a><br/></td></tr>
<trclass="memdesc:gae0e6fe9fa1d5d34fcda301779032dfa8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Connects to a network, using the configuration represented by the given <aclass="el"href="group__nn__ac__c.html#gac4a8e848f723536de1ae83651cd91d8d">ACConfigId</a>. <ahref="#gae0e6fe9fa1d5d34fcda301779032dfa8">More...</a><br/></td></tr>
<trclass="memdesc:ga6902f96dba0239d580ad0eb9dd0d131f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the IP address assosciated with the currently active connection. <ahref="#ga6902f96dba0239d580ad0eb9dd0d131f">More...</a><br/></td></tr>
<p>An ID number representing a network configuration. </p>
<p>These are the same IDs as shown in System Settings' Connection List. </p>
<pclass="definition">Definition at line <aclass="el"href="ac__c_8h_source.html#l00020">20</a> of file <aclass="el"href="ac__c_8h_source.html">ac_c.h</a>.</p>
<p>Call this function before any other AC functions.</p>
<dlclass="section return"><dt>Returns</dt><dd>A <aclass="el"href="group__nn__result.html">Result</a> - see <aclass="el"href="group__nn__result.html#ga4160f94e09672fbf59c46cb8ef4b732b">NNResult_IsSuccess</a> and <aclass="el"href="group__nn__result.html#ga035e23b8947fe268f21b3a3f7c7edb3b">NNResult_IsFailure</a>.</dd></dl>
<p>Do not call any AC functions (other than <aclass="el"href="group__nn__ac__c.html#ga1456945fe4303e08071b97571b20d807">ACInitialize</a>) after calling this function.</p>
<p>Gets the default connection configuration id. </p>
<p>This is the default as marked in System Settings.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">configId</td><td>A pointer to an <aclass="el"href="group__nn__ac__c.html#gac4a8e848f723536de1ae83651cd91d8d">ACConfigId</a> to write the config ID to. Must not be <code>NULL</code>.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>A <aclass="el"href="group__nn__result.html">Result</a> - see <aclass="el"href="group__nn__result.html#ga4160f94e09672fbf59c46cb8ef4b732b">NNResult_IsSuccess</a> and <aclass="el"href="group__nn__result.html#ga035e23b8947fe268f21b3a3f7c7edb3b">NNResult_IsFailure</a>. </dd></dl>
<p>Connects to a network, using the configuration represented by the given <aclass="el"href="group__nn__ac__c.html#gac4a8e848f723536de1ae83651cd91d8d">ACConfigId</a>. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">configId</td><td>The <aclass="el"href="group__nn__ac__c.html#gac4a8e848f723536de1ae83651cd91d8d">ACConfigId</a> representing the network to connect to.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>A <aclass="el"href="group__nn__result.html">Result</a> - see <aclass="el"href="group__nn__result.html#ga4160f94e09672fbf59c46cb8ef4b732b">NNResult_IsSuccess</a> and <aclass="el"href="group__nn__result.html#ga035e23b8947fe268f21b3a3f7c7edb3b">NNResult_IsFailure</a>. </dd></dl>
<p>Gets the IP address assosciated with the currently active connection. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">ip</td><td>A pointer to write the IP address to, in <ahref="https://en.wikipedia.org/wiki/IPv4#Address_representations"target="_blank">numerical</a> form.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>A <aclass="el"href="group__nn__result.html">Result</a> - see <aclass="el"href="group__nn__result.html#ga4160f94e09672fbf59c46cb8ef4b732b">NNResult_IsSuccess</a> and <aclass="el"href="group__nn__result.html#ga035e23b8947fe268f21b3a3f7c7edb3b">NNResult_IsFailure</a>. </dd></dl>