diff --git a/configs/clicker2-stm32/README.txt b/configs/clicker2-stm32/README.txt index 45b594399f4..49b645204a9 100644 --- a/configs/clicker2-stm32/README.txt +++ b/configs/clicker2-stm32/README.txt @@ -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 & + + Where 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 diff --git a/configs/clicker2-stm32/mrf24j40-6lowpan/defconfig b/configs/clicker2-stm32/mrf24j40-6lowpan/defconfig index e004bdd853e..9619d02170a 100644 --- a/configs/clicker2-stm32/mrf24j40-6lowpan/defconfig +++ b/configs/clicker2-stm32/mrf24j40-6lowpan/defconfig @@ -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 diff --git a/configs/ntosd-dm320/udp/defconfig b/configs/ntosd-dm320/udp/defconfig index d1f3f7d39dd..fbaa76ca419 100644 --- a/configs/ntosd-dm320/udp/defconfig +++ b/configs/ntosd-dm320/udp/defconfig @@ -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