Home
last modified time | relevance | path

Searched refs:coap_packet_parse (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c159 r = coap_packet_parse(&cpkt, data, sizeof(pdu), NULL, 0); in ZTEST()
195 r = coap_packet_parse(&cpkt, data, sizeof(pdu), NULL, 0); in ZTEST()
238 r = coap_packet_parse(&cpkt, data, sizeof(pdu), NULL, 0); in ZTEST()
296 r = coap_packet_parse(&cpkt, NULL, sizeof(opt), NULL, 0); in ZTEST()
299 r = coap_packet_parse(&cpkt, data, 0, NULL, 0); in ZTEST()
303 r = coap_packet_parse(&cpkt, data, sizeof(opt), NULL, 0); in ZTEST()
316 r = coap_packet_parse(&cpkt, data, sizeof(opt), NULL, 0); in ZTEST()
330 r = coap_packet_parse(&cpkt, data, sizeof(opt), NULL, 0); in ZTEST()
344 r = coap_packet_parse(&cpkt, data, sizeof(opt), NULL, 0); in ZTEST()
358 r = coap_packet_parse(&cpkt, data, sizeof(opt), NULL, 0); in ZTEST()
[all …]
/Zephyr-latest/samples/net/sockets/coap_client/src/
Dcoap-client.c118 ret = coap_packet_parse(&reply, data, rcvd, NULL, 0); in process_simple_coap_reply()
287 ret = coap_packet_parse(&reply, data, rcvd, NULL, 0); in process_large_coap_reply()
473 ret = coap_packet_parse(&reply_msg, data, rcvd, NULL, 0); in process_obs_coap_reply()
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c435 if (coap_packet_parse(&response_packet, data, rcvd, NULL, 0) < 0) { in install_update_cb()
703 if (coap_packet_parse(&reply, tmp, rcvd, NULL, 0) < 0) { in probe_cb()
/Zephyr-latest/include/zephyr/net/
Dcoap.h504 int coap_packet_parse(struct coap_packet *cpkt, uint8_t *data, uint16_t len,
/Zephyr-latest/tests/net/lib/coap_client/src/
Dmain.c195 int ret = coap_packet_parse(&response, buf, len, NULL, 0); in z_impl_zsock_sendto_custom_fake_echo()
228 int ret = coap_packet_parse(&response, buf, len, NULL, 0); in z_impl_zsock_sendto_custom_fake_echo_next_req()
/Zephyr-latest/doc/connectivity/networking/api/
Dcoap.rst78 coap_packet_parse(&request, data, data_len, options, opt_num);
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_server.c152 ret = coap_packet_parse(&request, buf, received, options, opt_num); in coap_server_process()
Dcoap_client.c673 ret = coap_packet_parse(response, client->recv_buf, available_len, NULL, 0); in recv_response()
Dcoap.c745 int coap_packet_parse(struct coap_packet *cpkt, uint8_t *data, uint16_t len, in coap_packet_parse() function
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c2750 r = coap_packet_parse(&response, buf, buf_len, NULL, 0); in lwm2m_udp_receive()
/Zephyr-latest/doc/releases/
Drelease-notes-3.2.rst808 * Updated :c:func:`coap_packet_parse` and :c:func:`coap_handle_request` to
2066 * :github:`48960` - coap_packet_parse() should return different values based on error type