Search found 4 matches

by eowe27
Mon Jun 14, 2021 2:54 pm
Forum: ESP-IDF
Topic: Secure Socket StartUp
Replies: 1
Views: 1716

Secure Socket StartUp

Hi, I want esp32 and android to connect securely. I can set up a server in esp32 with tcp socket also android can connect as a client. Now I need to make it safe. TCP socket will still exist, but data will be encrypted with private key. This private key will be randomly generated on android i need t...
by eowe27
Fri Jul 03, 2020 5:57 am
Forum: ESP-IDF
Topic: Swithing between Ethernet and Wifi
Replies: 0
Views: 1534

Swithing between Ethernet and Wifi

I couldn't fully understand the "ESP-NETIF" library. Can we say "ESP-NETIF" is the lwIP library adapted to ESP? Algorithm expected from the software: let's say , At first ethernet cable is plugged in and I want to do all tcp / ip operations(socket, dhcp, mdns-query) from ethernet. It is also connect...
by eowe27
Fri Mar 06, 2020 1:23 pm
Forum: ESP-IDF
Topic: Maximum tcp client connection number does not increase
Replies: 0
Views: 3013

Maximum tcp client connection number does not increase

A tcp server is established in Esp32(station mode). I accept the clients with the code below. int sock = accept(listen_sock, (struct sockaddr *)&source_addr, &addr_len); if (sock < 0) { ESP_LOGE(TAG, "Unable to accept connection: errno %d", errno); break; } When 20 tcp clients send requests to conne...
by eowe27
Fri Feb 28, 2020 7:41 am
Forum: ESP-IDF
Topic: Change duty in microsecond
Replies: 0
Views: 1799

Change duty in microsecond

I have to change duty cycle at microseconds level. Once a full pwm duty is complete, it must switch to the other duty. I have to create a pwm like the figure. I need your help.

Image