/configs/clicker2-stm32/mrf24j40-6lowpan: Enables both client and server UDP tests on the target; Update a README file.

This commit is contained in:
Gregory Nutt 2017-06-19 13:28:48 -06:00
parent 476ca8238b
commit c5ae864624
3 changed files with 22 additions and 1 deletions

View File

@ -436,6 +436,23 @@ Configurations
nsh> ifup wpan0
6. examples/udp is enabled. This will allow two MRF24J40 nodes to
exchange UDP packets. Basic instructions:
On the server node:
nsh> ifconfig wpan0
nsh> udpserver &
The ifconfig command will show the IP address of the server. Then on
the client node use this IP address to start the client:
nsh> udpserver <server-ip> &
Where <server-ip> is the IP address of the server that you got above.
NOTE: There is no way to stop the UDP test once it has been started
other than by resetting the board.
nsh:
Configures the NuttShell (nsh) located at examples/nsh. This

View File

@ -1356,6 +1356,9 @@ CONFIG_EXAMPLES_UDP=y
# CONFIG_EXAMPLES_UDP_SERVER1 is not set
CONFIG_EXAMPLES_UDP_PRIORITY1=100
CONFIG_EXAMPLES_UDP_STACKSIZE1=2048
CONFIG_EXAMPLES_UDP_TARGET2=y
CONFIG_EXAMPLES_UDP_PRIORITY2=100
CONFIG_EXAMPLES_UDP_STACKSIZE2=2048
CONFIG_EXAMPLES_UDP_DEVNAME="wpan0"
# CONFIG_EXAMPLES_UDP_NETINIT is not set
CONFIG_EXAMPLES_UDP_IPv6=y
@ -1370,7 +1373,7 @@ CONFIG_EXAMPLES_UDP_SERVERIPv6ADDR_4=0x0000
CONFIG_EXAMPLES_UDP_SERVERIPv6ADDR_5=0x0000
CONFIG_EXAMPLES_UDP_SERVERIPv6ADDR_6=0x00ff
CONFIG_EXAMPLES_UDP_SERVERIPv6ADDR_7=0xfe00
CONFIG_EXAMPLES_UDP_SERVERIPv6ADDR_8=0x1034
CONFIG_EXAMPLES_UDP_SERVERIPv6ADDR_8=0x0d00
# CONFIG_EXAMPLES_UDPBLASTER is not set
# CONFIG_EXAMPLES_USBSERIAL is not set
# CONFIG_EXAMPLES_WATCHDOG is not set

View File

@ -847,6 +847,7 @@ CONFIG_EXAMPLES_UDP=y
# CONFIG_EXAMPLES_UDP_SERVER1 is not set
CONFIG_EXAMPLES_UDP_PRIORITY1=100
CONFIG_EXAMPLES_UDP_STACKSIZE1=2048
# CONFIG_EXAMPLES_UDP_TARGET2 is not set
CONFIG_EXAMPLES_UDP_DEVNAME="eth0"
CONFIG_EXAMPLES_UDP_NETINIT=y
CONFIG_EXAMPLES_UDP_IPv4=y