Home
last modified time | relevance | path

Searched refs:test_payload (Results 1 – 2 of 2) sorted by relevance

/net-tools-3.5.0/libcoap/examples/
Detsi_iot_01.c152 coap_payload_t *test_payload; in hnd_get_resource() local
155 test_payload = coap_find_payload(resource->key); in hnd_get_resource()
156 if (!test_payload) { in hnd_get_resource()
165 coap_encode_var_bytes(buf, test_payload->media_type), buf); in hnd_get_resource()
168 if (test_payload->flags & REQUIRE_ETAG) { in hnd_get_resource()
170 coap_hash(test_payload->data, test_payload->length, etag); in hnd_get_resource()
179 test_payload->length); in hnd_get_resource()
195 coap_add_block(response, test_payload->length, test_payload->data, in hnd_get_resource()
198 if (!coap_add_data(response, test_payload->length, test_payload->data)) { in hnd_get_resource()
203 test_payload->length); in hnd_get_resource()
[all …]
/net-tools-3.5.0/
Dcoap-client.c188 test_payload, test_payload_len, mid, confirmed) \ argument
196 .payload = test_payload, \
219 test_payload, test_payload_len, mid, confirmed) \ argument
227 .payload = test_payload, \