zephyr/samples/net
Flavio Santes 2df4a0f9e2 samples/net/mqtt: Update README file and code cleanup
Add instructions to download Paho's MQTT Library.
Simplify if statement.

Change-Id: Iba500c47a56896f9c9b726751933443a5318ced7
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-05-30 10:11:38 -05:00
..
coap_observe_client net: Enable TCP support 2016-04-25 09:40:32 +03:00
coap_server net: apps: Move Makefile.ipstack to common folder 2016-03-16 11:40:17 +00:00
common net: apps: Provide pcap support for echo apps 2016-05-27 13:13:47 +03:00
dhcp_client net: apps: Add DHCP client sample application 2016-05-27 11:09:31 +00:00
dtls_client net: apps: Move Makefile.ipstack to common folder 2016-03-16 11:40:17 +00:00
dtls_server net: apps: Move Makefile.ipstack to common folder 2016-03-16 11:40:17 +00:00
echo_client net: apps: Add IPv4 client support to echo-client 2016-05-17 09:57:29 +03:00
echo_server net: apps: Ignore multicast context get fails in echo-server 2016-05-27 06:15:22 +00:00
loopback_test samples/net/loopback: Add helper functions to handle app data 2016-05-16 14:54:24 +00:00
paho_mqtt_client samples/net/mqtt: Update README file and code cleanup 2016-05-30 10:11:38 -05:00
test/test_15_4 samples: get rid of obsolete usage of ARCH variable 2016-05-12 10:57:28 +00:00
test_15_4 samples: get rid of obsolete usage of ARCH variable 2016-05-12 10:57:28 +00:00
zperf net: apps: zperf - add TCP client 2016-05-26 00:47:01 +00:00
README

README

Description of various IP stack test applications
=================================================

echo_server
-----------

The echo server test implements a network server that listens
UDP sockets. If that socket receives data, the server reverses
the data and sends it back.

The echo client can be running in the host system in which
case you need to use SLIP to connect to qemu. This usage scenario
is described in net/ip/tools/README file. This is the default
if you type "make qemu" in echo_server test application directory.
The network IP stack hooks right under IP stack (network level)
and sends the IP packet to host using SLIP. The layer 2 is the
SLIP layer in this case, no radio layer is simulated or used.

The echo server qemu instance can also be running against echo
client that is running in another qemu. For this you need two
terminal windows. In terminal 1 go to echo_server directory
and type "make server". This will start the echo server and setup
qemu pipes in suitable way and it will also start monitor application
that will store the transferred network traffic into pcap file
for later analysis. Then in terminal 2 go to echo_client directory and
type "make client". This will start the echo client that will
start to send data to the server and verify that it has received
the data back correctly. In the two qemu case we are simulating
the whole radio network meaning that the saved pcap file will
contain 802.15.4 network packets.


echo_client
-----------

The echo client test implements a network client that will
send UDP data to the echo server. The client verifies that
it has received data to the sent message and that the data
is correct.

The echo server can be running in the host system in which case
you need to use SLIP to connect to qemu. This usage scenario
is described in net/ip/tools/README file. This is the default
if you type "make qemu" in echo_client test application directory.
The network IP stack hooks right under IP stack (network level)
and sends the IP packet to host using SLIP. The layer 2 is the
SLIP layer in this case, no radio layer is simulated or used.

The echo client qemu instance can also be running against echo
server that is running in another qemu. This test scenario is
described in echo_server chapter above.