Home
last modified time | relevance | path

Searched refs:COAP_TOKEN_MAX_LEN (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dcoap_client.h89 uint8_t request_token[COAP_TOKEN_MAX_LEN];
100 uint8_t request_tag[COAP_TOKEN_MAX_LEN];
Dcoap.h205 #define COAP_TOKEN_MAX_LEN 8UL macro
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dtest.c23 uint8_t token[COAP_TOKEN_MAX_LEN]; in piggyback_get()
87 uint8_t token[COAP_TOKEN_MAX_LEN]; in test_del()
127 uint8_t token[COAP_TOKEN_MAX_LEN]; in test_put()
179 uint8_t token[COAP_TOKEN_MAX_LEN]; in test_post()
Dlarge.c25 uint8_t token[COAP_TOKEN_MAX_LEN]; in large_get()
103 uint8_t token[COAP_TOKEN_MAX_LEN]; in large_update_put()
183 uint8_t token[COAP_TOKEN_MAX_LEN]; in large_create_post()
Dcore.c22 uint8_t token[COAP_TOKEN_MAX_LEN]; in core_get()
Dlocation_query.c24 uint8_t token[COAP_TOKEN_MAX_LEN]; in location_query_post()
Dseparate.c21 uint8_t token[COAP_TOKEN_MAX_LEN]; in separate_get()
Dquery.c22 uint8_t token[COAP_TOKEN_MAX_LEN]; in query_get()
Dobserver.c92 uint8_t token[COAP_TOKEN_MAX_LEN]; in obs_get()
/Zephyr-latest/samples/net/sockets/coap_client/src/
Dcoap-client.c144 COAP_TOKEN_MAX_LEN, coap_next_token(), in send_simple_coap_request()
331 COAP_TOKEN_MAX_LEN, coap_next_token(), in send_large_coap_request()
503 COAP_TOKEN_MAX_LEN, coap_next_token(), in send_obs_coap_request()
/Zephyr-latest/tests/net/lib/coap_client/src/
Dmain.c37 static uint8_t last_token[2][COAP_TOKEN_MAX_LEN];
38 static const uint8_t empty_token[COAP_TOKEN_MAX_LEN] = {0};
104 memcpy(last_token[i], buf + TOKEN_OFFSET, COAP_TOKEN_MAX_LEN); in store_token()
114 memcpy(buf + TOKEN_OFFSET, last_token[i], COAP_TOKEN_MAX_LEN); in restore_token()
115 memset(last_token[i], 0, COAP_TOKEN_MAX_LEN); in restore_token()
423 uint8_t token[TOKEN_OFFSET + COAP_TOKEN_MAX_LEN]; in z_impl_zsock_recvfrom_custom_fake_duplicate_response()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_client.c212 internal_req->request_tkl = COAP_TOKEN_MAX_LEN & 0xf; in coap_client_init_request()
218 COAP_TOKEN_MAX_LEN, internal_req->request_token, req->method, in coap_client_init_request()
290 memcpy(internal_req->request_tag, tag, COAP_TOKEN_MAX_LEN); in coap_client_init_request()
302 COAP_TOKEN_MAX_LEN); in coap_client_init_request()
726 uint8_t response_token[COAP_TOKEN_MAX_LEN]; in get_request_with_token()
Dcoap.c225 uint8_t token[COAP_TOKEN_MAX_LEN]; in coap_ack_init()
439 static uint8_t token[COAP_TOKEN_MAX_LEN]; in coap_next_token()
441 sys_rand_get(token, COAP_TOKEN_MAX_LEN); in coap_next_token()
1000 if (tkl > COAP_TOKEN_MAX_LEN) { in coap_header_get_token()
1810 uint8_t token[COAP_TOKEN_MAX_LEN]; in coap_response_received()
1857 uint8_t token[COAP_TOKEN_MAX_LEN]; in coap_reply_init()
2012 if (token_len == 0U || token_len > COAP_TOKEN_MAX_LEN) { in coap_find_observer()
2050 if (token_len == 0U || token_len > COAP_TOKEN_MAX_LEN) { in coap_find_observer_by_token()
Dcoap_server.c175 uint8_t token[COAP_TOKEN_MAX_LEN]; in coap_server_process()
237 uint8_t ack_buf[COAP_TOKEN_MAX_LEN + 4U]; in coap_server_process()
606 uint8_t token[COAP_TOKEN_MAX_LEN]; in coap_resource_parse_observe()
Dcoap_link_format.c445 uint8_t token[COAP_TOKEN_MAX_LEN]; in coap_well_known_core_get_len()
644 uint8_t token[COAP_TOKEN_MAX_LEN]; in coap_well_known_core_get_len()
/Zephyr-latest/doc/connectivity/networking/api/
Dcoap_server.rst84 uint8_t token[COAP_TOKEN_MAX_LEN];
193 uint8_t token[COAP_TOKEN_MAX_LEN];
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c262 COAP_TOKEN_MAX_LEN, coap_next_token(), method, in send_request()
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c1644 COAP_TOKEN_MAX_LEN, coap_next_token(), in assert_coap_packet_set_path_query_options()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c292 uint8_t token[COAP_TOKEN_MAX_LEN]; in build_msg_block_for_send()