Skip to content
Snippets Groups Projects
Commit cf17883e authored by patacongo's avatar patacongo
Browse files

Add logic to assign IP address in apps/examples/wlan

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3530 42af7a65-404d-4744-a932-0658087f49c3
parent 5867444e
No related branches found
No related tags found
No related merge requests found
......@@ -37,3 +37,7 @@
CONFIGURED_APPS += examples/wlan
# Networking support
CONFIGURED_APPS += netutils/uiplib
......@@ -767,6 +767,15 @@ CONFIG_EXAMPLE_NETTEST_DRIPADDR=(10<<24|0<<16|0<<8|1)
CONFIG_EXAMPLE_NETTEST_NETMASK=(255<<24|255<<16|255<<8|0)
CONFIG_EXAMPLE_NETTEST_CLIENTIP=(10<<24|0<<16|0<<8|1)
#
# Settings for apps/examples/wlan
#
CONFIG_EXAMPLE_WLAN_DHCPC=n
CONFIG_EXAMPLE_WLAN_NOMAC=n
CONFIG_EXAMPLE_WLAN_IPADDR=(192<<24|168<<16|0<<8|201)
CONFIG_EXAMPLE_WLAN_DRIPADDR=(192<<24|168<<16|0<<8|1)
CONFIG_EXAMPLE_WLAN_NETMASK=(255<<24|255<<16|255<<8|0)
#
# Settings for examples/ostest
#
......
......@@ -37,7 +37,6 @@
CONFIGURED_APPS += examples/nettest
# Networking support
CONFIGURED_APPS += netutils/uiplib
......@@ -37,3 +37,6 @@
CONFIGURED_APPS += examples/wlan
# Networking support
CONFIGURED_APPS += netutils/uiplib
......@@ -766,6 +766,15 @@ CONFIG_EXAMPLE_NETTEST_DRIPADDR=(10<<24|0<<16|0<<8|1)
CONFIG_EXAMPLE_NETTEST_NETMASK=(255<<24|255<<16|255<<8|0)
CONFIG_EXAMPLE_NETTEST_CLIENTIP=(10<<24|0<<16|0<<8|1)
#
# Settings for apps/examples/wlan
#
CONFIG_EXAMPLE_WLAN_DHCPC=n
CONFIG_EXAMPLE_WLAN_NOMAC=n
CONFIG_EXAMPLE_WLAN_IPADDR=(192<<24|168<<16|0<<8|201)
CONFIG_EXAMPLE_WLAN_DRIPADDR=(192<<24|168<<16|0<<8|1)
CONFIG_EXAMPLE_WLAN_NETMASK=(255<<24|255<<16|255<<8|0)
#
# Settings for examples/ostest
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment