zephyr/samples/net
Paul Sokolovsky 901d85bde0 samples: sntp_client: Elaborate sample to workable state
1. Output what steps the app performs, so it doesn't look to user
that it simply hanged.
2. Don't use infinite timeouts, because that will hang.
3. Clearly note which requests are for IPv4 vs IPv6 server.
4. Define IPv4 gateway. This sample is configured to run against
SNTP on local Linux host, but standard distros (e.g. Ubuntu) don't
run SNTP server by default, so usual outcome for running this sample
will be timeout. A realistic way to get successful output would be
to run it against a server on the Internet, for what a gateway is
required.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-04-24 12:50:12 +03:00
..
common license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
dhcpv4_client ethernet/eth_e1000.c: change to new PCI(e) functions 2019-04-22 09:34:00 -07:00
dns_resolve license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
eth_native_posix license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
google_iot_mqtt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
gptp license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
ipv4_autoconf license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
lldp license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
lwm2m_client license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
mdns_responder license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
mqtt_publisher license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
nats license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
promiscuous_mode license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
sockets samples: sntp_client: Elaborate sample to workable state 2019-04-24 12:50:12 +03:00
stats license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
syslog_net license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
telnet license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
vlan license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
wifi license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
wpan_serial license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
wpanusb usb: replace MAX_PACKET_SIZE0 with meaningful USB_MAX_CTRL_MPS 2019-04-11 13:35:24 -04:00
zperf samples: net: zperf: Add __packed for zperf_udp_datagram 2019-04-23 13:14:35 +03:00
net.rst