diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-08-06 16:14:02 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-08-06 16:14:02 +0000 |
commit | 0975e289539bfd54489dd72949e85c83e2d0e324 (patch) | |
tree | 93f6710c9b92f88741a0fac278d46207e8078f0c /nuttx/examples/README.txt | |
parent | 958240f1221c7457a12a55223c0e59295ee309c2 (diff) | |
download | px4-nuttx-0975e289539bfd54489dd72949e85c83e2d0e324.tar.gz px4-nuttx-0975e289539bfd54489dd72949e85c83e2d0e324.tar.bz2 px4-nuttx-0975e289539bfd54489dd72949e85c83e2d0e324.zip |
DHCP-related documentation updates/warning fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2824 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/README.txt')
-rw-r--r-- | nuttx/examples/README.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nuttx/examples/README.txt b/nuttx/examples/README.txt index 9b61d77b0..ad301dbab 100644 --- a/nuttx/examples/README.txt +++ b/nuttx/examples/README.txt @@ -22,6 +22,14 @@ examples/dhcpd make -f Makefile.host NuttX configuration settings: + + CONFIG_NET=y - Of course + CONFIG_NSOCKET_DESCRIPTORS - And, of course, you must allocate some + socket descriptors. + CONFIG_NET_UDP=y - UDP support is required for DHCP + (as well as various other UDP-related + configuration settings) + CONFIG_NET_BROADCAST=y - UDP broadcast support is needed. CONFIG_EXAMPLE_DHCPD_NOMAC - (May be defined to use software assigned MAC) CONFIG_EXAMPLE_DHCPD_IPADDR - Target IP address @@ -353,6 +361,21 @@ examples/uip CONFIG_EXAMPLE_UIP_NETMASK - Network mask CONFIG_EXAMPLE_UIP_DHCPC - Select to get IP address via DHCP + If you use DHCPC, then some special configuration network options are + required. These include: + + CONFIG_NET=y - Of course + CONFIG_NSOCKET_DESCRIPTORS - And, of course, you must allocate some + socket descriptors. + CONFIG_NET_UDP=y - UDP support is required for DHCP + (as well as various other UDP-related + configuration settings). + CONFIG_NET_BROADCAST=y - UDP broadcast support is needed. + CONFIG_NET_BUFSIZE=650 - Per RFC2131 (p. 9), the DHCP client must be + (or larger) prepared to receive DHCP messages of up to + 576 bytes (excluding Ethernet, IP, or UDP + headers and FCS). + Other configuration items apply also to the selected webserver net utility. Additional relevant settings for the uIP webserver net utility are: |