Home
last modified time | relevance | path

Searched refs:COAP_BLOCK_USE_LIBCOAP (Results 1 - 8 of 8) sorted by relevance

/third_party/libcoap/include/coap3/
H A Dcoap_block.h61 #define COAP_BLOCK_USE_LIBCOAP 0x01 /* Use libcoap to do block requests */ macro
320 * Note: COAP_BLOCK_USE_LIBCOAP must be set by coap_context_set_block_mode()
370 * Note: COAP_BLOCK_USE_LIBCOAP must be set by coap_context_set_block_mode()
414 * Note: COAP_BLOCK_USE_LIBCOAP must be set if libcoap is to do all the
/third_party/libcoap/examples/lwip/
H A Dclient-coap.c174 coap_context_set_block_mode(main_coap_context, COAP_BLOCK_USE_LIBCOAP); in client_coap_init()
/third_party/libcoap/examples/riot/examples_libcoap_client/
H A Dclient-coap.c164 coap_context_set_block_mode(main_coap_context, COAP_BLOCK_USE_LIBCOAP); in client_coap_init()
/third_party/libcoap/examples/
H A Doscore-interop-server.c74 static uint32_t block_mode = COAP_BLOCK_USE_LIBCOAP;
425 "\t \t\thandling methods. Default is 1 (COAP_BLOCK_USE_LIBCOAP)\n" in usage()
624 if (!(block_mode & COAP_BLOCK_USE_LIBCOAP)) { in main()
625 fprintf(stderr, "Block mode must include COAP_BLOCK_USE_LIBCOAP (1)\n"); in main()
H A Dcoap-client.c89 static uint32_t block_mode = COAP_BLOCK_USE_LIBCOAP;
550 "\t \t\thandling methods. Default is 1 (COAP_BLOCK_USE_LIBCOAP)\n" in usage()
1653 if (!(block_mode & COAP_BLOCK_USE_LIBCOAP)) { in main()
1654 fprintf(stderr, "Block mode must include COAP_BLOCK_USE_LIBCOAP (1)\n"); in main()
H A Dcoap-server.c126 static uint32_t block_mode = COAP_BLOCK_USE_LIBCOAP;
2183 "\t \t\thandling methods. Default is 1 (COAP_BLOCK_USE_LIBCOAP)\n" in usage()
2807 if (!(block_mode & COAP_BLOCK_USE_LIBCOAP)) { in main()
2808 fprintf(stderr, "Block mode must include COAP_BLOCK_USE_LIBCOAP (1)\n"); in main()
/third_party/libcoap/src/
H A Dcoap_net.c1129 if (!(session->block_mode & COAP_BLOCK_USE_LIBCOAP)) { in coap_send()
2529 if (!(session->block_mode & COAP_BLOCK_USE_LIBCOAP)) { in hnd_get_wellknown()
3084 if (session->block_mode & COAP_BLOCK_USE_LIBCOAP) { in handle_request()
3245 if (session->block_mode & COAP_BLOCK_USE_LIBCOAP && in handle_request()
3402 if (session->block_mode & COAP_BLOCK_USE_LIBCOAP) { in handle_response()
H A Dcoap_block.c381 context->block_mode = (block_mode & (COAP_BLOCK_USE_LIBCOAP | in coap_context_set_block_mode()
388 if (!(block_mode & COAP_BLOCK_USE_LIBCOAP)) in coap_context_set_block_mode()
413 if (!(session->block_mode & COAP_BLOCK_USE_LIBCOAP)) { in coap_cancel_observe()
414 coap_log_debug("** %s: coap_cancel_observe: COAP_BLOCK_USE_LIBCOAP not enabled\n", in coap_cancel_observe()
631 if (!(session->block_mode & COAP_BLOCK_USE_LIBCOAP)) { in coap_add_data_large_internal()
632 coap_log_debug("** %s: coap_add_data_large: COAP_BLOCK_USE_LIBCOAP not enabled\n", in coap_add_data_large_internal()

Completed in 22 milliseconds