Home
last modified time | relevance | path

Searched refs:tcp (Results 1 – 25 of 45) sorted by relevance

12

/hal_espressif-3.4.0/components/tcp_transport/test/
Dtest_transport_connect.c42 esp_transport_handle_t tcp = esp_transport_tcp_init();
43 esp_transport_list_add(transport_list, tcp, "tcp");
45 tcp_transport_test_connection_timeout(tcp);
46 esp_transport_close(tcp);
54 esp_transport_handle_t tcp = esp_transport_tcp_init();
55 esp_transport_list_add(transport_list, tcp, "tcp");
60 esp_transport_close(tcp);
69 esp_transport_handle_t tcp = esp_transport_tcp_init();
70 esp_transport_list_add(transport_list, tcp, "tcp");
78 esp_transport_tcp_set_keep_alive(tcp, &keep_alive_cfg);
[all …]
Dtest_transport_basic.c13 esp_transport_handle_t tcp = esp_transport_tcp_init();
14 esp_transport_list_add(transport_list, tcp, "tcp");
26 esp_transport_handle_t tcp = esp_transport_tcp_init();
27 esp_transport_handle_t ws = esp_transport_ws_init(tcp);
29 TEST_ASSERT_EQUAL(ESP_OK, esp_transport_destroy(tcp));
35 esp_transport_handle_t tcp = esp_transport_tcp_init();
36 esp_transport_list_add(transport_list, tcp, "tcp");
39 esp_transport_handle_t ws = esp_transport_ws_init(tcp);
/hal_espressif-3.4.0/examples/protocols/asio/ssl_client_server/main/
Dasio_ssl_main.cpp34 using asio::ip::tcp;
42 const tcp::resolver::results_type &endpoints) in Client()
56 void connect(const tcp::resolver::results_type &endpoints) in connect()
60 const tcp::endpoint & /*endpoint*/) { in connect()
111 asio::ssl::stream<tcp::socket> socket_;
118 Session(tcp::socket socket, asio::ssl::context &context) in Session()
166 asio::ssl::stream<tcp::socket> socket_;
173 : acceptor_(io_context, tcp::endpoint(tcp::v4(), port)), in Server()
189 [this](const std::error_code & error, tcp::socket socket) { in do_accept()
198 tcp::acceptor acceptor_;
[all …]
/hal_espressif-3.4.0/examples/protocols/asio/tcp_echo_server/main/
Decho_server.cpp8 using asio::ip::tcp;
14 session(tcp::socket socket) in session()
53 tcp::socket socket_;
62 : acceptor_(io_context, tcp::endpoint(tcp::v4(), port)) in server()
71 [this](std::error_code ec, tcp::socket socket) in do_accept()
82 tcp::acceptor acceptor_;
/hal_espressif-3.4.0/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/
DREADME.md52 …throughput| Test the case of Wi-Fi tcp tx, which will create a tcp client that will continuously s…
53 …roughput| Test the case of Wi-Fi tcp rx, which will create a tcp server that will continuously rec…
58 ### Case 1: tcp tx + scan
64 ### Case 2: tcp rx + scan
69 ### Case 3: tcp tx + adv
75 ### Case 4: tcp rx + adv
/hal_espressif-3.4.0/examples/protocols/asio/asio_chat/main/
Dserver.hpp80 chat_session(asio::ip::tcp::socket socket, chat_room& room) in chat_session()
164 asio::ip::tcp::socket socket_;
176 const asio::ip::tcp::endpoint& endpoint) in chat_server()
187 [this](std::error_code ec, asio::ip::tcp::socket socket) in do_accept()
198 asio::ip::tcp::acceptor acceptor_;
Dclient.hpp24 const asio::ip::tcp::resolver::results_type& endpoints) in chat_client()
51 void do_connect(const asio::ip::tcp::resolver::results_type& endpoints) in do_connect()
54 [this](std::error_code ec, asio::ip::tcp::endpoint) in do_connect()
121 asio::ip::tcp::socket socket_;
Dasio_chat.cpp19 using asio::ip::tcp;
50 tcp::resolver resolver(io_context); in start_client()
96 …chat_server server(io_context, tcp::endpoint(tcp::v4(), std::atoi(CONFIG_EXAMPLE_CHAT_SERVER_BIND_… in app_main()
/hal_espressif-3.4.0/components/freemodbus/
DCMakeLists.txt15 "modbus/tcp/mbtcp.c"
16 "modbus/tcp/mbtcp_m.c"
51 modbus/rtu modbus/tcp modbus/include)
Dcomponent.mk3 COMPONENT_PRIV_INCLUDEDIRS += modbus/rtu modbus/tcp modbus/include
9 COMPONENT_SRCDIRS += modbus modbus/ascii modbus/functions modbus/rtu modbus/tcp
/hal_espressif-3.4.0/examples/protocols/static_ip/
DREADME.md65 I (653) wifi_init: tcp mbox: 6
66 I (653) wifi_init: tcp tx win: 5744
67 I (663) wifi_init: tcp rx win: 5744
68 I (663) wifi_init: tcp mss: 1440
/hal_espressif-3.4.0/examples/wifi/scan/
DREADME.md59 I (493) wifi_init: tcp mbox: 6
60 I (503) wifi_init: tcp tx win: 5744
61 I (503) wifi_init: tcp rx win: 5744
62 I (513) wifi_init: tcp mss: 1440
/hal_espressif-3.4.0/examples/protocols/modbus/mb_example_common/
DREADME.md9 * `examples/protocols/modbus/tcp/mb_tcp_slave` Modbus serial slave implementation (TCP)
10 * `examples/protocols/modbus/tcp/mb_tcp_master` Modbus serial master implementation (TCP)
/hal_espressif-3.4.0/examples/bluetooth/blufi/
DREADME.md64 I (768) wifi_init: tcp mbox: 6
65 I (768) wifi_init: tcp tx win: 5744
66 I (778) wifi_init: tcp rx win: 5744
67 I (778) wifi_init: tcp mss: 1440
/hal_espressif-3.4.0/examples/protocols/coap_client/
DREADME.md16 If the URI is prefixed with coap+tcp://, then the CoAP will try to use TCP for the communication.
18 NOTE: coaps+tcp:// is not currently supported, even though both libcoap and MbedTLS support it.
103 optional `path`, and begins with `coap://`, `coaps://` or `coap+tcp://`
105 (not all do including coap+tcp://californium.eclipseprojects.io).
/hal_espressif-3.4.0/examples/protocols/sockets/non_blocking/main/
DKconfig.projbuild7 This example will setup a tcp server, binds it to the specified address
30 This example will setup a tcp client, connects to the specified address
/hal_espressif-3.4.0/examples/wifi/fast_scan/
DREADME.md68 I (666) wifi_init: tcp mbox: 6
69 I (666) wifi_init: tcp tx win: 5744
70 I (676) wifi_init: tcp rx win: 5744
71 I (676) wifi_init: tcp mss: 1440
/hal_espressif-3.4.0/components/esp_websocket_client/
Desp_websocket_client.c335 esp_transport_handle_t tcp = esp_transport_tcp_init(); in esp_websocket_client_init() local
336 ESP_WS_CLIENT_MEM_CHECK(TAG, tcp, goto _websocket_init_fail); in esp_websocket_client_init()
338 esp_transport_set_default_port(tcp, WEBSOCKET_TCP_DEFAULT_PORT); in esp_websocket_client_init()
339 …esp_transport_list_add(client->transport_list, tcp, "_tcp"); // need to save to transport list, fo… in esp_websocket_client_init()
340 esp_transport_tcp_set_keep_alive(tcp, &client->keep_alive_cfg); in esp_websocket_client_init()
341 esp_transport_tcp_set_interface_name(tcp, client->if_name); in esp_websocket_client_init()
343 esp_transport_handle_t ws = esp_transport_ws_init(tcp); in esp_websocket_client_init()
/hal_espressif-3.4.0/tools/test_apps/peripherals/i2c_wifi/
DREADME.md85 I (439) wifi_init: tcp mbox: 6
86 I (449) wifi_init: tcp tx win: 5744
87 I (449) wifi_init: tcp rx win: 5744
88 I (459) wifi_init: tcp mss: 1440
/hal_espressif-3.4.0/docs/en/api-reference/protocols/
Dmqtt.rst21 * :example:`protocols/mqtt/tcp`: MQTT over tcp, default port 1883
22 * :example:`protocols/mqtt/ssl`: MQTT over tcp, default port 8883
23 …* :example:`protocols/mqtt/ssl_psk`: MQTT over tcp using pre-shared keys for authentication, defau…
/hal_espressif-3.4.0/components/esptool_py/esptool/docs/en/esptool/
Dremote-serial-ports.rst15 …ingle-port-tcp-ip-serial-bridge-rfc-2217>`__ and a `multi-port example <http://pyserial.readthedoc…
/hal_espressif-3.4.0/examples/protocols/sockets/tcp_client_multi_net/main/
DKconfig.projbuild20 By default example uses setsockopt() to bind the tcp-client's socket
/hal_espressif-3.4.0/examples/protocols/modbus/tcp/
DREADME.md12 * `examples/protocols/modbus/tcp/mb_tcp_master` - Modbus TCP master
13 * `examples/protocols/modbus/tcp/mb_tcp_slave` - Modbus TCP slave
/hal_espressif-3.4.0/components/lwip/
Dcomponent.mk58 lwip/src/core/tcp.o: CFLAGS += -Wno-type-limits
/hal_espressif-3.4.0/tools/test_apps/protocols/pppos/
DREADME.md49 Server side expects to run tcp server on port 2222

12