Lines Matching refs:response
21 struct coap_packet response; in piggyback_get() local
45 r = coap_packet_init(&response, data, sizeof(data), in piggyback_get()
52 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in piggyback_get()
58 r = coap_packet_append_payload_marker(&response); in piggyback_get()
70 r = coap_packet_append_payload(&response, (uint8_t *)payload, in piggyback_get()
76 r = coap_resource_send(resource, &response, addr, addr_len, NULL); in piggyback_get()
86 struct coap_packet response; in test_del() local
109 r = coap_packet_init(&response, data, sizeof(data), in test_del()
116 r = coap_resource_send(resource, &response, addr, addr_len, NULL); in test_del()
126 struct coap_packet response; in test_put() local
156 r = coap_packet_init(&response, data, sizeof(data), in test_put()
163 r = coap_resource_send(resource, &response, addr, addr_len, NULL); in test_put()
178 struct coap_packet response; in test_post() local
208 r = coap_packet_init(&response, data, sizeof(data), in test_post()
216 r = coap_packet_append_option(&response, in test_post()
224 r = coap_resource_send(resource, &response, addr, addr_len, NULL); in test_post()