Lines Matching +full:check +full:- +full:size

1 # OpenThread CLI - CoAPS Example
13 CoAPS uses DTLS to establish a secure, end-to-end connection.
17 - TLS_PSK_WITH_AES_128_CCM_8
20 > coaps psk <your-psk> <your-psk-id>
24 - TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8
33 On node 1, setup CoAPS server with resource `test-resource`.
38 > coaps resource test-resource
47 > coaps connect <peer-ip6-address>
50 > coaps get test-resource
53 > coaps put test-resource con payload
74 > openssl ecparam -genkey -name prime256v1 -noout -out ec_private.pem
80 > openssl req -x509 -new -key ec_private.pem -out x509_cert.pem -days 30
85 - [help](#help)
86 - [connect](#connect-address)
87 - [delete](#delete-uri-path-type-payload)
88 - [disconnect](#disconnect)
89 - [get](#get-uri-path-type)
90 - [isclosed](#isclosed)
91 - [isconnactive](#isconnactive)
92 - [isconnected](#isconnected)
93 - [post](#post-uri-path-type-payload)
94 - [psk](#psk-psk-pskid)
95 - [put](#put-uri-path-type-payload)
96 - [resource](#resource-uri-path)
97 - [set](#set-new-content)
98 - [start](#start)
99 - [stop](#stop)
100 - [x509](#x509)
132 - address: IPv6 address of the peer.
140 ### delete \<uri-path\> \[type\] \[payload\]
142 - uri-path: URI path of the resource.
143 - type: "con" for Confirmable or "non-con" for Non-confirmable (default).
144 - payload: CoAPS request payload.
147 > coaps delete test-resource con payload
159 ### get \<uri-path\> \[type\]
161 - uri-path: URI path of the resource.
162 - type: "con" for Confirmable or "non-con" for Non-confirmable (default). Use "block-<block-size>" …
165 > coaps get test-resource
170 > coaps get test-resource block-1024
174 ### post \<uri-path\> \[type\] \[payload\]
176 - uri-path: URI path of the resource.
177 - type: "con" for Confirmable or "non-con" for Non-confirmable (default). Use "block-<block-size>" …
178 - payload: CoAP request payload. If \[type\] is "block-<block-size>", the amount of blocks to be se…
181 > coaps post test-resource con payload
186 > coaps post test-resource block-1024 10
194 - psk: pre-shared key
195 - pskid: pre-shared key identifier
202 ### put \<uri-path\> \[type\] \[payload\]
204 - uri-path: URI path of the resource.
205 - type: "con" for Confirmable or "non-con" for Non-confirmable (default). Use "block-<block-size>" …
206 - payload: CoAP request payload. If \[type\] is "block-<block-size>", the amount of blocks to be se…
209 > coaps put test-resource con payload
214 > coaps put test-resource block-1024 10
218 ### resource \[uri-path\]
223 > coaps resource test-resource
226 test-resource
230 ### set \[new-content\]
239 ### start \[check-peer-cert\|max-conn-attempts\]
243check-peer-cert` parameter determines if the peer-certificate check is enabled (default) or disabl…
245 - No argument specified: Defaults are used.
246 - Setting `check-peer-cert` to `true`: Has the same effect as as omitting the argument, which is th…
247 - Setting `check-peer-cert` to `false`: `check-peer-cert` value is `false`, and the `max-conn-attem…
248 - Specifying a number: `check-peer-cert` is `true`, and the `max-conn-attempts` value is the number…