Searched refs:COAP_TOKEN_MAX_LEN (Results 1 – 19 of 19) sorted by relevance
/Zephyr-latest/include/zephyr/net/ |
D | coap_client.h | 89 uint8_t request_token[COAP_TOKEN_MAX_LEN]; 100 uint8_t request_tag[COAP_TOKEN_MAX_LEN];
|
D | coap.h | 205 #define COAP_TOKEN_MAX_LEN 8UL macro
|
/Zephyr-latest/samples/net/sockets/coap_server/src/ |
D | test.c | 23 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()
|
D | large.c | 25 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()
|
D | core.c | 22 uint8_t token[COAP_TOKEN_MAX_LEN]; in core_get()
|
D | location_query.c | 24 uint8_t token[COAP_TOKEN_MAX_LEN]; in location_query_post()
|
D | separate.c | 21 uint8_t token[COAP_TOKEN_MAX_LEN]; in separate_get()
|
D | query.c | 22 uint8_t token[COAP_TOKEN_MAX_LEN]; in query_get()
|
D | observer.c | 92 uint8_t token[COAP_TOKEN_MAX_LEN]; in obs_get()
|
/Zephyr-latest/samples/net/sockets/coap_client/src/ |
D | coap-client.c | 144 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/ |
D | main.c | 37 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/ |
D | coap_client.c | 212 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()
|
D | coap.c | 225 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()
|
D | coap_server.c | 175 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()
|
D | coap_link_format.c | 445 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/ |
D | coap_server.rst | 84 uint8_t token[COAP_TOKEN_MAX_LEN]; 193 uint8_t token[COAP_TOKEN_MAX_LEN];
|
/Zephyr-latest/subsys/mgmt/updatehub/ |
D | updatehub.c | 262 COAP_TOKEN_MAX_LEN, coap_next_token(), method, in send_request()
|
/Zephyr-latest/tests/net/lib/coap/src/ |
D | main.c | 1644 COAP_TOKEN_MAX_LEN, coap_next_token(), in assert_coap_packet_set_path_query_options()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_message_handling.c | 292 uint8_t token[COAP_TOKEN_MAX_LEN]; in build_msg_block_for_send()
|