Home
last modified time | relevance | path

Searched refs:observe_action (Results 1 – 3 of 3) sorted by relevance

/third_party/libcoap/src/
Dcoap_net.c1045 int observe_action = -1; in coap_send() local
1139 observe_action = coap_decode_var_bytes(coap_opt_value(opt), in coap_send()
1157 if (observe_action != COAP_OBSERVE_CANCEL) { in coap_send()
1299 if (observe_action != -1 || have_block1 || in coap_send()
1315 if (observe_action == COAP_OBSERVE_CANCEL) { in coap_send()
2778 int observe_action = COAP_OBSERVE_CANCEL; in handle_request() local
3108 observe_action = in handle_request()
3112 if (observe_action == COAP_OBSERVE_ESTABLISH) { in handle_request()
3140 } else if (observe_action == COAP_OBSERVE_CANCEL) { in handle_request()
3143 coap_log_info("observe: unexpected action %d\n", observe_action); in handle_request()
Dcoap_subscribe.c70 int observe_action; in coap_persist_observe_add() local
130 observe_action = coap_decode_var_bytes(coap_opt_value(observe), in coap_persist_observe_add()
132 if (observe_action != COAP_OBSERVE_ESTABLISH) in coap_persist_observe_add()
Dcoap_block.c1895 int observe_action = -1; in track_fetch_observe() local
1898 observe_action = coap_decode_var_bytes(coap_opt_value(opt), in track_fetch_observe()
1900 if (observe_action == COAP_OBSERVE_ESTABLISH) { in track_fetch_observe()
1915 } else if (observe_action == COAP_OBSERVE_CANCEL) { in track_fetch_observe()