Searched refs:MAX_COAP_MSG_LEN (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/samples/net/sockets/coap_client/src/ |
D | coap-client.c | 24 #define MAX_COAP_MSG_LEN 256 macro 95 data = (uint8_t *)k_malloc(MAX_COAP_MSG_LEN); in process_simple_coap_reply() 100 rcvd = recv(sock, data, MAX_COAP_MSG_LEN, MSG_DONTWAIT); in process_simple_coap_reply() 137 data = (uint8_t *)k_malloc(MAX_COAP_MSG_LEN); in send_simple_coap_request() 142 r = coap_packet_init(&request, data, MAX_COAP_MSG_LEN, in send_simple_coap_request() 264 data = (uint8_t *)k_malloc(MAX_COAP_MSG_LEN); in process_large_coap_reply() 269 rcvd = recv(sock, data, MAX_COAP_MSG_LEN, MSG_DONTWAIT); in process_large_coap_reply() 324 data = (uint8_t *)k_malloc(MAX_COAP_MSG_LEN); in send_large_coap_request() 329 r = coap_packet_init(&request, data, MAX_COAP_MSG_LEN, in send_large_coap_request() 397 data = (uint8_t *)k_malloc(MAX_COAP_MSG_LEN); in send_obs_reply_ack() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | coap_client.h | 28 #define MAX_COAP_MSG_LEN (CONFIG_COAP_CLIENT_MESSAGE_HEADER_SIZE + \ macro 112 uint8_t send_buf[MAX_COAP_MSG_LEN]; 113 uint8_t recv_buf[MAX_COAP_MSG_LEN];
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_client.c | 216 ret = coap_packet_init(&internal_req->request, client->send_buf, MAX_COAP_MSG_LEN, in coap_client_init_request() 687 ret = coap_ack_init(&ack, req, client->send_buf, MAX_COAP_MSG_LEN, response_code); in send_ack() 707 ret = coap_rst_init(&rst, req, client->send_buf, MAX_COAP_MSG_LEN); in send_rst()
|