Lines Matching refs:req
28 struct coap_client_request req = { 0 };
32 req.method = COAP_METHOD_GET;
33 req.confirmable = true;
34 req.path = "test";
35 req.fmt = COAP_CONTENT_FORMAT_TEXT_PLAIN;
36 req.cb = response_cb;
37 req.payload = NULL;
38 req.len = 0;
43 ret = coap_client_req(&client, sock, &address, &req, -1);
90 struct coap_client_request req = { 0 };
98 req.method = COAP_METHOD_GET;
99 req.confirmable = true;
100 req.path = "test";
101 req.fmt = COAP_CONTENT_FORMAT_TEXT_PLAIN;
102 req.cb = response_cb;
103 req.options = &block2_option;
104 req.num_options = 1;
105 req.payload = NULL;
106 req.len = 0;
108 ret = coap_client_req(&client, sock, &address, &req, -1);