You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/net/coap_client/README.rst
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,8 @@ Overview
30
30
31
31
The CoAP Client sample performs the following actions:
32
32
33
-
#. Connect to the configured public CoAP test server (specified by the Kconfig option :ref:`CONFIG_COAP_SERVER_HOSTNAME <CONFIG_COAP_SERVER_HOSTNAME>`).
34
-
#. Send periodic GET request for a test resource (specified by the Kconfig option :ref:`CONFIG_COAP_RESOURCE <CONFIG_COAP_RESOURCE>`) that is available on the server.
33
+
#. Connect to the configured public CoAP test server (specified by the Kconfig option :ref:`CONFIG_COAP_SAMPLE_SERVER_HOSTNAME <CONFIG_COAP_SAMPLE_SERVER_HOSTNAME>`).
34
+
#. Send periodic GET request for a test resource (specified by the Kconfig option :ref:`CONFIG_COAP_SAMPLE_RESOURCE <CONFIG_COAP_SAMPLE_RESOURCE>`) that is available on the server.
35
35
#. Display the received data about the resource on a terminal emulator.
36
36
37
37
The public CoAP server used in this sample is Californium CoAP server (``coap://californium.eclipseprojects.io:5683``).
@@ -40,7 +40,7 @@ This server runs Eclipse Californium, which is an open source implementation of
40
40
This sample uses the resource **obs** (Californium observable resource) in the communication between the CoAP client and the public CoAP server.
41
41
The communication follows the standard request/response pattern and is based on the change in the state of the value of the resource.
42
42
The sample queries one resource at a time.
43
-
To configure other resources, use the Kconfig option :ref:`CONFIG_COAP_RESOURCE <CONFIG_COAP_RESOURCE>`.
43
+
To configure other resources, use the Kconfig option :ref:`CONFIG_COAP_SAMPLE_RESOURCE <CONFIG_COAP_SAMPLE_RESOURCE>`.
44
44
45
45
Configuration
46
46
*************
@@ -52,19 +52,19 @@ Configuration options
52
52
53
53
Check and configure the following Kconfig options in the :file:`coap_client/prj.conf` file:
0 commit comments