Home
last modified time | relevance | path

Searched refs:WS_BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/tcp_transport/
Dtransport_ws.c31 #define WS_BUFFER_SIZE CONFIG_WS_BUFFER_SIZE macro
161 int len = snprintf(ws->buffer, WS_BUFFER_SIZE, in ws_connect()
172 if (len <= 0 || len >= WS_BUFFER_SIZE) { in ws_connect()
173 …TAG, "Error in request generation, desired request len: %d, buffer size: %d", len, WS_BUFFER_SIZE); in ws_connect()
178 …int r = snprintf(ws->buffer + len, WS_BUFFER_SIZE - len, "Sec-WebSocket-Protocol: %s\r\n", ws->sub… in ws_connect()
180 if (r <= 0 || len >= WS_BUFFER_SIZE) { in ws_connect()
182 …ntf of subprotocol returned %d, desired request len: %d, buffer size: %d", r, len, WS_BUFFER_SIZE); in ws_connect()
188 int r = snprintf(ws->buffer + len, WS_BUFFER_SIZE - len, "%s", ws->headers); in ws_connect()
190 if (r <= 0 || len >= WS_BUFFER_SIZE) { in ws_connect()
192 …strncpy of headers returned %d, desired request len: %d, buffer size: %d", r, len, WS_BUFFER_SIZE); in ws_connect()
[all …]
DKconfig10 config WS_BUFFER_SIZE config