Home
last modified time | relevance | path

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

/third_party/libcoap/src/
H A Dcoap_oscore.c716 coap_pdu_t *err_pdu = NULL; in build_and_send_error_pdu() local
722 err_pdu = coap_pdu_init(rcvd->type == COAP_MESSAGE_NON ? COAP_MESSAGE_NON : in build_and_send_error_pdu()
728 if (!err_pdu) in build_and_send_error_pdu()
730 coap_add_token(err_pdu, token.length, token.s); in build_and_send_error_pdu()
732 coap_add_option_internal(err_pdu, COAP_OPTION_ECHO, 8, echo_data); in build_and_send_error_pdu()
734 coap_add_option_internal(err_pdu, in build_and_send_error_pdu()
740 coap_add_data(err_pdu, strlen(diagnostic), (const uint8_t *)diagnostic); in build_and_send_error_pdu()
747 coap_oscore_new_pdu_encrypted(session, err_pdu, kid_context, in build_and_send_error_pdu()
753 coap_delete_pdu(err_pdu); in build_and_send_error_pdu()
754 err_pdu in build_and_send_error_pdu()
[all...]

Completed in 2 milliseconds