Home
last modified time | relevance | path

Searched refs:coap_packet_init (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/samples/net/sockets/coap_server/src/
Dtest.c45 r = coap_packet_init(&response, data, sizeof(data), in piggyback_get()
109 r = coap_packet_init(&response, data, sizeof(data), in test_del()
156 r = coap_packet_init(&response, data, sizeof(data), in test_put()
208 r = coap_packet_init(&response, data, sizeof(data), in test_post()
Dcore.c30 r = coap_packet_init(&response, data, sizeof(data), in core_get()
Dlocation_query.c46 r = coap_packet_init(&response, data, sizeof(data), in location_query_post()
Dseparate.c58 r = coap_packet_init(&response, data, sizeof(data), in separate_get()
Dquery.c61 r = coap_packet_init(&response, data, sizeof(data), in query_get()
Dobserver.c43 r = coap_packet_init(&response, data, sizeof(data), in send_notification_packet()
Dlarge.c51 r = coap_packet_init(&response, data, sizeof(data), in large_get()
/Zephyr-latest/samples/net/sockets/coap_client/src/
Dcoap-client.c142 r = coap_packet_init(&request, data, MAX_COAP_MSG_LEN, in send_simple_coap_request()
329 r = coap_packet_init(&request, data, MAX_COAP_MSG_LEN, in send_large_coap_request()
402 r = coap_packet_init(&request, data, MAX_COAP_MSG_LEN, in send_obs_reply_ack()
501 r = coap_packet_init(&request, data, MAX_COAP_MSG_LEN, in send_obs_coap_request()
551 r = coap_packet_init(&request, data, MAX_COAP_MSG_LEN, in send_obs_reset_coap_request()
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c86 r = coap_packet_init(&cpkt, data, COAP_BUF_SIZE, in ZTEST()
113 r = coap_packet_init(&cpkt, data, COAP_BUF_SIZE, in ZTEST()
510 r = coap_packet_init(req, data, COAP_BUF_SIZE, COAP_VERSION_1, in prepare_block1_request()
559 r = coap_packet_init(rsp, data, COAP_BUF_SIZE, COAP_VERSION_1, in prepare_block1_response()
649 r = coap_packet_init(req, data, COAP_BUF_SIZE, COAP_VERSION_1, in prepare_block2_request()
685 r = coap_packet_init(rsp, data, COAP_BUF_SIZE, COAP_VERSION_1, in prepare_block2_response()
786 r = coap_packet_init(&cpkt, data, COAP_BUF_SIZE, COAP_VERSION_1, in ZTEST()
804 r = coap_packet_init(&rsp, rsp_data, COAP_BUF_SIZE, in ZTEST()
882 r = coap_packet_init(&response, data, COAP_BUF_SIZE, in server_resource_1_get()
974 r = coap_packet_init(&req, data, COAP_BUF_SIZE, in ZTEST()
[all …]
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_link_format.c484 r = coap_packet_init(response, data, len, COAP_VERSION_1, COAP_TYPE_ACK, in coap_well_known_core_get_len()
668 r = coap_packet_init(response, data, data_len, COAP_VERSION_1, COAP_TYPE_ACK, in coap_well_known_core_get_len()
Dcoap.c169 int coap_packet_init(struct coap_packet *cpkt, uint8_t *data, uint16_t max_len, in coap_packet_init() function
231 return coap_packet_init(cpkt, data, max_len, ver, COAP_TYPE_ACK, tkl, in coap_ack_init()
244 return coap_packet_init(cpkt, data, max_len, ver, COAP_TYPE_RESET, 0, in coap_rst_init()
Dcoap_client.c216 ret = coap_packet_init(&internal_req->request, client->send_buf, MAX_COAP_MSG_LEN, in coap_client_init_request()
/Zephyr-latest/doc/connectivity/networking/api/
Dcoap_server.rst94 coap_packet_init(&response, data, sizeof(data), COAP_VERSION_1, type, tkl, token,
165 coap_packet_init(&response, data, sizeof(data), COAP_VERSION_1, type, tkl, token,
Dcoap.rst122 coap_packet_init(&request, data, sizeof(data),
/Zephyr-latest/include/zephyr/net/
Dcoap.h533 int coap_packet_init(struct coap_packet *cpkt, uint8_t *data, uint16_t max_len,
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c260 ret = coap_packet_init(&request_packet, data, MAX_PAYLOAD_SIZE, in send_request()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c656 r = coap_packet_init(&msg->cpkt, body_data, body_data_max_len, COAP_VERSION_1, msg->type, in lwm2m_init_message()
/Zephyr-latest/doc/releases/
Drelease-notes-2.5.rst81 * The :c:func:`coap_packet_init` function will now take a pointer to a constant