Other Parts Discussed in Thread: CC3200
Please guide me how to add static IP through webpage in cc3200.
I saw application http_server in which we can add static ip and profile through webpage.
I changed the static ip through webpage and added profile of AP , i succesfully connected to the AP in the profile.
But i want to implement same in my custom webpage application.
for trail i am writing static ip config html code in "setup.html" of OOB application.
Below is the code for adding static ip in the setup.html file in oob application.
<form method="POST" name="SimpleLink Configuration" action="IP_config">
<input type="hidden" name="__SL_P_S.R" value="setup_new.html">
<table>
<tr><td colspan="2" class="tbl-header top">Access Point Configuration</td></tr>
<tr><td colspan="2"></td></tr>
<tr><td> DHCP Client:</td> <td><input type="radio" name="__SL_P_N.D" value="0" checked="">Disabled
<input type="radio" name="__SL_P_N.D" value="1">Enabled</td></tr>
<tr><td> IP Address</td><td><input type="text" maxlength="32" name="__SL_P_N.A" value="__SL_G_N.A"></td></tr>
<tr><td> Subnet Mask</td><td><input type="text" maxlength="32" name="__SL_P_N.B" value="__SL_G_N.B"></td></tr>
<tr><td> Default Gateway:</td><td><input type="text" maxlength="32" name="__SL_P_N.C" value="__SL_G_N.C"></td></tr>
<tr><td> DNS Server</td><td><input type="text" maxlength="32" name="__SL_P_N.H" value="__SL_G_N.H"></td></tr>
<tr><td colspan="2"></td></tr>
<tr><td colspan="2" align="center"><input type="submit" value="Apply"></td></tr>
<tr><td colspan="2"></td></tr>
</table>
</form>
i am not able to add static ip, eventhough i selected enable dhcp client, after clicking apply, it is get selected to disable.
please correct me if there is any wrong in the code.
is there anyway that i can get the ip config html file of http_server application, which i can directly use in my custom webpage.?