Searched refs:websocket (Results 1 – 25 of 25) sorted by relevance
55 if (client->transport.websocket.config.url == NULL) { in mqtt_client_websocket_connect()56 client->transport.websocket.config.url = "/mqtt"; in mqtt_client_websocket_connect()59 if (client->transport.websocket.config.host == NULL) { in mqtt_client_websocket_connect()60 client->transport.websocket.config.host = "localhost"; in mqtt_client_websocket_connect()69 client->transport.websocket.config.optional_headers = extra_headers; in mqtt_client_websocket_connect()71 client->transport.websocket.sock = websocket_connect( in mqtt_client_websocket_connect()73 &client->transport.websocket.config, in mqtt_client_websocket_connect()74 client->transport.websocket.timeout, in mqtt_client_websocket_connect()76 if (client->transport.websocket.sock < 0) { in mqtt_client_websocket_connect()78 client->transport.websocket.sock); in mqtt_client_websocket_connect()[all …]
1 .. zephyr:code-sample:: sockets-websocket-client3 :relevant-api: bsd_sockets websocket28 Build websocket-client sample application like this:57 Running websocket-server in Linux Host60 You can run this ``websocket-client`` sample application in QEMU61 and run the ``zephyr-websocket-server.py`` (from net-tools) on a Linux host.71 $ ./zephyr-websocket-server.py79 Run ``websocket-client`` application in QEMU:89 Note that ``zephyr-websocket-server.py`` or ``websocketd`` must be running in90 the Linux host terminal window before you start the ``websocket-client``[all …]
10 Send console messages to websocket console.19 Maximum size of the output string that is sent via websocket.34 bool "Automatically start websocket backend"37 When enabled automatically start the websocket backend on41 backend-str = websocket
5 project(websocket) project8 ${ZEPHYR_BASE}/subsys/net/lib/websocket)
52 bool "Enable websocket service"56 int "How many websocket connections to serve at the same time"60 Each websocket connection is served by a thread which needs64 int "Interval in milliseconds to send network stats over websocket"
124 import websocket126 websocket.enableTrace(True)127 ws = websocket.WebSocket()
7 websocket.c
20 websocket.rst
78 .. doxygengroup:: websocket
348 client->transport.websocket.config.host = SERVER_ADDR; in client_init()349 client->transport.websocket.config.url = "/mqtt"; in client_init()350 client->transport.websocket.config.tmp_buf = temp_ws_rx_buf; in client_init()351 client->transport.websocket.config.tmp_buf_len = in client_init()353 client->transport.websocket.timeout = 5 * MSEC_PER_SEC; in client_init()
81 SHELL_SUBCMD_ADD((net), websocket, NULL,
38 zephyr_library_sources_ifdef(CONFIG_NET_SHELL_WEBSOCKET_SUPPORTED websocket.c)
37 add_subdirectory_ifdef(CONFIG_WEBSOCKET_CLIENT websocket)
20 source "subsys/net/lib/websocket/Kconfig"
94 Enable this flag, if you are interested to enable websocket console.95 You can use the overlay-ws-console.conf to set websocket options.
454 } websocket; member
157 * Minimal server side websocket support.449 * :github:`6635` - tests/net/websocket/test doesnt build on qemu_xtensa464 * :github:`6669` - [Coverity CID: 183063] Null pointer dereferences in /tests/net/websocket/src/ser…469 …:`6675` - [Coverity CID: 183057] Memory - illegal accesses in /subsys/net/lib/websocket/websocket.c473 …:`6682` - [Coverity CID: 183050] Memory - illegal accesses in /subsys/net/lib/websocket/websocket.c482 * :github:`6691` - [Coverity CID: 183041] Memory - corruptions in /tests/net/websocket/src/server.c487 * :github:`6698` - [Coverity CID: 183034] Error handling issues in /tests/net/websocket/src/main.c489 * :github:`6700` - [Coverity CID: 183032] Error handling issues in /tests/net/websocket/src/main.c499 * :github:`6779` - websocket API documentation missing
850 …2444` - [Coverity CID :207963] Argument cannot be negative in tests/net/socket/websocket/src/main.c855 * :github:`22438` - [Coverity CID :207973] Out-of-bounds access in tests/net/socket/websocket/src/m…856 * :github:`22437` - [Coverity CID :207974] Out-of-bounds read in tests/net/socket/websocket/src/mai…860 * :github:`22433` - [Coverity CID :207980] Untrusted loop bound in tests/net/socket/websocket/src/m…862 …22430` - [Coverity CID :207985] Argument cannot be negative in subsys/net/lib/websocket/websocket.c916 * :github:`21989` - websocket: recv_msg always returns full message length on last call
556 …:`20513` - [Coverity CID :205621]Memory - illegal accesses in /subsys/net/lib/websocket/websocket.c561 …overity CID :205634]Code maintainability issues in /samples/net/sockets/websocket\_client/src/main…
1149 * Reimplemented websocket receive routine to fix several issues.1150 * Implemented proper websocket close procedure.1151 * Fixed a bug where websocket would overwrite the mutex used by underlying TCP2997 * :github:`53942` - Websocket: No close message on websocket close3111 * :github:`53129` - Build fails on ESP32 when enabling websocket client API3239 * :github:`52327` - websocket: websocket_recv_msg breaks when there is no data after header
1156 * :github:`40256` - websocket: the size of a websocket payload is limited
339 * :github:`9617` - tests/net/websocket/ - passed on QEMUx86 but the target crashed after that
842 * Fixed websocket build with :kconfig:option:`CONFIG_POSIX_API`.
196 needed by websocket console are set.
594 Note that if you have only one HTTP endpoint for the websocket console,626 This option is used to configure on which port websocket is going