zephyr/samples/net
Sergio Rodriguez de60e4c8cd samples/net/http: Add HTTP over TLS sample application
Add the HTTPS (HTTP over TLS) server sample application on top
of the current HTTP Parser Library and mbedTLS. This code uses
TLS to stablish a secure connection and HTTP parser to identify
the request and the proper response.

Jira: ZEP-799

Change-Id: Ifbbcd0347bec47d12158440e50a82dc2966334d3
Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2017-02-14 08:30:35 +02:00
..
coaps_client net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
coaps_server net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
common license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
dhcpv4_client samples/dhcpv4_client: Switch from private net_sprint_ipv4_addr to public net_addr_ntop 2017-02-09 14:27:09 +00:00
dns_client net/dns: Update QEMU prj file 2017-02-14 08:30:34 +02:00
echo_client samples: net: Add .conf file for qemu_cortex_m3 in echo_* 2017-02-14 08:30:34 +02:00
echo_server samples: net: Add .conf file for qemu_cortex_m3 in echo_* 2017-02-14 08:30:34 +02:00
http_client net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
http_server samples/net/http: Add HTTP over TLS sample application 2017-02-14 08:30:35 +02:00
ieee802154 drivers/net/ieee802154: Change configuration prefix 2017-02-08 10:12:35 +02:00
irc_bot net: samples: Unref net_buf using net_nbuf_unref 2017-02-09 12:29:29 +02:00
leds_demo net: remove obsolete CONFIG_NET_YAIP 2017-02-14 08:30:33 +02:00
mbedtls_dtlsclient samples/mbedtls_dtls_client: Fix wild write in entropy_source 2017-02-09 14:26:58 +00:00
mbedtls_dtlsserver samples/mbedtls_dtls_server: Use k_uptime_get_32() 2017-02-09 14:26:57 +00:00
mbedtls_sslclient mbedtls: add arduino 101 configuration to ssl client sample 2017-02-08 10:12:36 +02:00
mqtt_publisher net/mqtt: Add BT support to MQTT publisher sample 2017-02-14 08:30:35 +02:00
telnet tests: net: whitelist boards for telnet server 2017-02-11 07:00:39 +00:00
wpan_serial net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
wpanusb net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
zoap_client net: samples: Unref net_buf using net_nbuf_unref 2017-02-09 12:29:29 +02:00
zoap_server samples/zoap-server: Update docs with information about libcoap 2017-02-14 08:30:33 +02:00
zperf net: remove obsolete CONFIG_NET_YAIP 2017-02-14 08:30:33 +02:00
README samples/net: Update DNS client README file to RST format 2017-01-13 10:29:00 +01:00
net.rst doc: update networking with Qemu section 2017-02-03 15:59:19 +02:00

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-tools project README file [1]. This is the default
if you type "make run" 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-tools project README file [1]. This is the default
if you type "make run" 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.


zoap_server
-----------

The Zoap server application implements a trivial CoAP server
which exposes a single resource "a/light", that only provides the
GET method.

It can be run similar to the echo_server sample: using two terminals,
(1) for zoap_server, run 'make server' in its directory, (2) for
zoap_client, run 'make client' in the zoap_client test directory.


zoap_client
-----------

The Zoap client application does a single request against a 'a/light'
resource, which has the first response lost (so retransmissions are
basically verified).

Please refer to the section above about how to run these applications
together.

wpanusb
-------

The wpanusb application exports IEEE 802.15.4 radio over USB to be used in
other Operating Systems like Linux. In this scenario Linux SoftMAC driver
must be used implementing IEEE 802.15.4 stack inside Linux.

wpan_serial
-----------

The wpan_serial application implements IEEE 802.15.4 "serial-radio" protocol.
This is the protocol used in Contiki-based native border routers.

[1] https://gerrit.zephyrproject.org/r/gitweb?p=net-tools.git;a=summary