Searched refs:COAP_OPTION_BLOCK2 (Results 1 – 12 of 12) sorted by relevance
/third_party/libcoap/tests/ |
D | test_wellknown.c | 174 CU_ASSERT(coap_get_block(response, COAP_OPTION_BLOCK2, &block) != 0); in t_wellknown4() 194 if (!coap_add_option(pdu, COAP_OPTION_BLOCK2, in t_wellknown5() 207 CU_ASSERT(coap_get_block(response, COAP_OPTION_BLOCK2, &block) != 0); in t_wellknown5() 233 if (!pdu || !coap_add_option(pdu, COAP_OPTION_BLOCK2, in t_wellknown6() 246 CU_ASSERT(coap_get_block(response, COAP_OPTION_BLOCK2, &block) != 0); in t_wellknown6()
|
/third_party/libcoap/src/ |
D | block.c | 161 if (coap_get_block(request, COAP_OPTION_BLOCK2, &block2)) { in coap_add_data_blocked_response() 193 res = coap_write_block_opt(&block2, COAP_OPTION_BLOCK2, response, length); in coap_add_data_blocked_response() 230 coap_write_block_opt(&block2, COAP_OPTION_BLOCK2, response, length); in coap_add_data_blocked_response() 395 option = COAP_OPTION_BLOCK2; in coap_add_data_large_internal() 654 uint16_t block_opt = COAP_OPTION_BLOCK2; in coap_add_data_large_response() 661 if (coap_get_block(request, COAP_OPTION_BLOCK2, &block)) { in coap_add_data_large_response() 962 if (coap_get_block(pdu, COAP_OPTION_BLOCK2, &block)) { in coap_handle_request_send_block() 963 block_opt = COAP_OPTION_BLOCK2; in coap_handle_request_send_block() 1648 if (coap_get_block(rcvd, COAP_OPTION_BLOCK2, &block)) { in coap_handle_response_get_block() 1650 block_opt = COAP_OPTION_BLOCK2; in coap_handle_response_get_block() [all …]
|
D | coap_debug.c | 348 { COAP_OPTION_BLOCK2, "Block2" }, in msg_option_string() 608 case COAP_OPTION_BLOCK2: in coap_show_pdu()
|
D | resource.c | 932 if (coap_get_block(obs->pdu, COAP_OPTION_BLOCK2, &block)) { 934 coap_add_option(response, COAP_OPTION_BLOCK2,
|
D | net.c | 729 case COAP_OPTION_BLOCK2: in coap_option_check_critical() 1280 if (coap_check_option(pdu, COAP_OPTION_BLOCK2, &opt_iter) != NULL) { in coap_send_internal() 2228 if (coap_get_block(request, COAP_OPTION_BLOCK2, &block)) { in coap_wellknown_response() 2292 if (coap_write_block_opt(&block, COAP_OPTION_BLOCK2, resp, wkc_len) < 0) { in coap_wellknown_response() 2772 if (coap_get_block(pdu, COAP_OPTION_BLOCK2, &block)) { in handle_request()
|
D | pdu.c | 930 case COAP_OPTION_BLOCK2: if (len > 3) res = 0; break; in coap_pdu_parse_opt_base()
|
/third_party/libcoap/include/coap3/ |
D | pdu.h | 131 #define COAP_OPTION_BLOCK2 23 /* CU-_E_U, uint, 0-3 B, RFC7959 */ macro
|
/third_party/libcoap/examples/ |
D | coap-client.c | 369 block_opt = coap_check_option(received, COAP_OPTION_BLOCK2, &opt_iter); in message_handler() 758 opt = COAP_OPTION_BLOCK2; in set_blocksize() 1648 coap_register_option(ctx, COAP_OPTION_BLOCK2); in main()
|
D | coap-server.c | 1183 case COAP_OPTION_BLOCK2: in hnd_proxy_uri() 1686 case COAP_OPTION_BLOCK2: in proxy_message_handler() 2588 COAP_OPTION_BLOCK2, in main()
|
/third_party/libcoap/man/ |
D | coap_pdu_access.txt.in | 204 COAP_OPTION_BLOCK2 23 /* CU-_E_U, uint, 0-3 B, RFC7959 */
|
D | coap_cache.txt.in | 343 COAP_OPTION_BLOCK2 };
|
D | coap_pdu_setup.txt.in | 298 COAP_OPTION_BLOCK2 23 /* CU-_E_U, uint, 0-3 B, RFC7959 */
|