Home
last modified time | relevance | path

Searched refs:COAP_OPTION_BLOCK2 (Results 1 – 13 of 13) sorted by relevance

/third_party/libcoap/src/
Dcoap_block.c291 if (coap_get_block(request, COAP_OPTION_BLOCK2, &block2)) { in coap_add_data_blocked_response()
323 res = coap_write_block_opt(&block2, COAP_OPTION_BLOCK2, response, length); in coap_add_data_blocked_response()
360 coap_write_block_opt(&block2, COAP_OPTION_BLOCK2, response, length); in coap_add_data_blocked_response()
689 alt_option = COAP_OPTION_BLOCK2; in coap_add_data_large_internal()
691 option = COAP_OPTION_BLOCK2; in coap_add_data_large_internal()
698 option = COAP_OPTION_BLOCK2; in coap_add_data_large_internal()
1035 COAP_OPTION_Q_BLOCK2 : COAP_OPTION_BLOCK2; in coap_add_data_large_response()
1037 uint16_t block_opt = COAP_OPTION_BLOCK2; in coap_add_data_large_response()
1046 if (coap_get_block_b(session, request, COAP_OPTION_BLOCK2, &block)) { in coap_add_data_large_response()
2241 if (coap_get_block_b(session, pdu, COAP_OPTION_BLOCK2, &alt_block)) { in coap_handle_request_send_block()
[all …]
Dcoap_net.c696 case COAP_OPTION_BLOCK2: in coap_option_check_critical()
743 } else if (opt_iter.number == COAP_OPTION_BLOCK2 && in coap_option_check_critical()
1207 coap_insert_option(pdu, COAP_OPTION_BLOCK2, in coap_send()
1221 coap_update_option(&lg_xmit->pdu, COAP_OPTION_BLOCK2, in coap_send()
1535 if (coap_check_option(pdu, COAP_OPTION_BLOCK2, &opt_iter) != NULL) { in coap_send_internal()
1545 opt = coap_check_option(pdu, COAP_OPTION_BLOCK2, &opt_iter); in coap_send_internal()
3115 if (coap_get_block_b(session, pdu, COAP_OPTION_BLOCK2, &block)) { in handle_request()
Dcoap_debug.c535 { COAP_OPTION_BLOCK2, "Block2" }, in msg_option_string()
827 case COAP_OPTION_BLOCK2: in coap_show_pdu()
Dcoap_resource.c1071 if (coap_get_block_b(obs->session, obs->pdu, COAP_OPTION_BLOCK2,
1074 coap_add_option_internal(response, COAP_OPTION_BLOCK2,
Dcoap_pdu.c542 case COAP_OPTION_BLOCK2: in coap_option_check_repeatable()
1182 case COAP_OPTION_BLOCK2: in coap_pdu_parse_opt_base()
Dcoap_oscore.c862 case COAP_OPTION_BLOCK2: in coap_oscore_decrypt_pdu()
/third_party/libcoap/include/coap3/
Dcoap_pdu.h137 #define COAP_OPTION_BLOCK2 23 /* CU-_E_U, uint, 0-3 B, RFC7959 */ macro
/third_party/libcoap/man/
Dcoap_cache.txt.in184 previously been called with COAP_OPTION_BLOCK1 or COAP_OPTION_BLOCK2 to
383 COAP_OPTION_BLOCK2 };
Dcoap_pdu_access.txt.in228 COAP_OPTION_BLOCK2 23 /* CU-_E_U, uint, 0-3 B, RFC7959 */
Dcoap_pdu_setup.txt.in341 COAP_OPTION_BLOCK2 23 /* CU-_E_U, uint, 0-3 B, RFC7959 */
438 *COAP_OPTION_BLOCK1* and *COAP_OPTION_BLOCK2*
/third_party/libcoap/examples/
Doscore-interop-server.c586 COAP_OPTION_BLOCK2, in main()
Dcoap-client.c436 block_opt = coap_check_option(received, COAP_OPTION_BLOCK2, &opt_iter); in message_handler()
915 opt = COAP_OPTION_BLOCK2; in set_blocksize()
Dcoap-server.c1133 case COAP_OPTION_BLOCK2: in hnd_proxy_uri()
1683 case COAP_OPTION_BLOCK2: in proxy_response_handler()
2727 COAP_OPTION_BLOCK2, in main()