Home
last modified time | relevance | path

Searched refs:msg_info (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/samples/net/openthread/coap/src/
Dcoap_utils.c35 otMessageInfo msg_info; in coap_req_send() local
45 memset(&msg_info, 0, sizeof(msg_info)); in coap_req_send()
46 otIp6AddressFromString(addr, &msg_info.mPeerAddr); in coap_req_send()
47 msg_info.mPeerPort = OT_DEFAULT_COAP_PORT; in coap_req_send()
78 err = otCoapSendRequest(ot, msg, &msg_info, handler, ctx); in coap_req_send()
186 int coap_req_handler(void *ctx, otMessage *msg, const otMessageInfo *msg_info, in coap_req_handler() argument
207 ret = get_fn(ctx, msg, msg_info); in coap_req_handler()
214 return get_fn(ctx, msg, msg_info); in coap_req_handler()
Dbutton.c37 static int btn_handler_get(void *ctx, otMessage *msg, const otMessageInfo *msg_info) in btn_handler_get() argument
55 return coap_resp_send(msg, msg_info, buf, strlen(buf) + 1); in btn_handler_get()
58 static void btn_handler(void *ctx, otMessage *msg, const otMessageInfo *msg_info) in btn_handler() argument
60 coap_req_handler(ctx, msg, msg_info, NULL, btn_handler_get); in btn_handler()
140 static void coap_btn_get_state_cb(void *ctx, otMessage *msg, const otMessageInfo *msg_info, in coap_btn_get_state_cb() argument
Dcoap_utils.h17 typedef int (*coap_req_handler_get)(void *ctx, otMessage *msg, const otMessageInfo *msg_info);
20 int coap_req_handler(void *ctx, otMessage *msg, const otMessageInfo *msg_info,
Dled.c99 static int led_handler_get(void *ctx, otMessage *msg, const otMessageInfo *msg_info) in led_handler_get() argument
117 return coap_resp_send(msg, msg_info, buf, strlen(buf) + 1); in led_handler_get()
120 static void led_handler(void *ctx, otMessage *msg, const otMessageInfo *msg_info) in led_handler() argument
122 coap_req_handler(ctx, msg, msg_info, led_handler_put, led_handler_get); in led_handler()
158 static void coap_led_send_req_cb(void *ctx, otMessage *msg, const otMessageInfo *msg_info, in coap_led_send_req_cb() argument
178 static void coap_led_get_state_cb(void *ctx, otMessage *msg, const otMessageInfo *msg_info, in coap_led_get_state_cb() argument