Lines Matching +full:enable +full:- +full:sample

1 .. zephyr:code-sample:: sockets-http-get
3 :relevant-api: bsd_sockets tls_credentials secure_sockets_options
10 The sockets/http_get sample application for Zephyr implements a simple
12 sample is to show how it's possible to develop a sockets application
16 The source code for this sample application can be found at:
22 - :ref:`networking_with_host`
23 - or, a board with hardware networking
24 - NAT/routing should be set up to allow connections to the Internet
25 - DNS server should be available on the host to resolve domain names
32 .. zephyr-app-commands::
33 :zephyr-app: samples/net/sockets/http_get
38 After the sample starts, it issues HTTP GET request to "google.com:80"
47 Enable TLS support in the sample by building the project with the
48 ``overlay-tls.conf`` overlay file enabled, for example, using these commands:
50 .. zephyr-app-commands::
51 :zephyr-app: samples/net/sockets/http_get
53 :conf: "prj.conf overlay-tls.conf"
57 An alternative way is to specify ``-DEXTRA_CONF_FILE=overlay-tls.conf`` when
61 ``overlay-tls-offload.conf`` instead of ``overlay-tls.conf``.
63 The certificate used by the sample can be found in the sample's ``src``
64 directory. The certificate was selected to enable access to the default website
65 configured in the sample (https://google.com). To access a different web page
68 Note, that TLS support in the sample depends on non-posix, TLS socket
69 functionality. Therefore, it is only possible to run TLS in this sample
72 Wi-Fi
75 The IPv4 Wi-Fi support can be enabled in the sample with
76 :ref:`Wi-Fi snippet <snippet-wifi-ipv4>`.
87 .. code-block:: console
89 $ make -f Makefile.host
93 .. code-block:: console