Search found 10 matches

by halilarkl07
Wed Feb 01, 2023 1:16 pm
Forum: ESP-IDF
Topic: IDF V5.0 TCP Socket Client Memory Leak
Replies: 10
Views: 6382

Re: IDF V5.0 TCP Socket Client Memory Leak

You need first enable CONFIG_LWIP_SO_LINGER by menuconfig. While I was testing the code, CONFIG_LWIP_SO_LINGER was enabled in both IDF4.4 and IDF5.0. Thanks for your attention to the issue. But when i enable `CONFIG_LWIP_SO_LINGER `, it works normal in IDF v5.0. If not enable it, the momery will re...
by halilarkl07
Tue Jan 31, 2023 8:25 am
Forum: ESP-IDF
Topic: IDF V5.0 TCP Socket Client Memory Leak
Replies: 10
Views: 6382

Re: IDF V5.0 TCP Socket Client Memory Leak

ESP_YJM wrote:
Tue Jan 31, 2023 5:55 am
You need first enable CONFIG_LWIP_SO_LINGER by menuconfig.
While I was testing the code, CONFIG_LWIP_SO_LINGER was enabled in both IDF4.4 and IDF5.0.

Thanks for your attention to the issue.
by halilarkl07
Mon Jan 30, 2023 12:00 pm
Forum: ESP-IDF
Topic: IDF V5.0 TCP Socket Client Memory Leak
Replies: 10
Views: 6382

IDF V5.0 TCP Socket Client Memory Leak

Hi, In IDF V5.0, When I create this task more than 1, my heap starts to leak dramatically. In IDF V4.4 there is no such leak. Works great. My purpose; create socket->do job->close socket; but it should be asynchronous. typedef struct { int tv_sec; int tv_usec; }timeval_t; #define HOST_IP_ADDR "192.1...
by halilarkl07
Mon Jan 18, 2021 7:39 am
Forum: General Discussion
Topic: Need help in interfacing DP83848 Phy controller with ESP32
Replies: 1
Views: 4000

Re: Need help in interfacing DP83848 Phy controller with ESP32

Hi,
Did you solve your problem?
Can you share your connections between esp32 and dp83848?
by halilarkl07
Mon Nov 30, 2020 11:51 am
Forum: Hardware
Topic: Issue with programming/flashing ESP32
Replies: 9
Views: 22322

Re: Issue with programming/flashing ESP32

Hi,
I have a similar problem, could you share your solution pls?
by halilarkl07
Mon Nov 30, 2020 10:08 am
Forum: Hardware
Topic: Flashing Bare Esp32 WROOM
Replies: 1
Views: 2502

Flashing Bare Esp32 WROOM

Hi people, I tried to flash the program bare ESP32 but failed. After that, I tried to flash the ESP32 DOIT kit but the same problems occurred like bare ESP32. I am using the doit kit's TX0, RX0 pins. I connect these pins to MAX3232 and I saw data on the serial monitor via rs232/usb converter. So eve...
by halilarkl07
Mon Nov 30, 2020 9:20 am
Forum: Hardware
Topic: Flashing DevKitC without the micro USB
Replies: 5
Views: 6406

Re: Flashing DevKitC without the micro USB

Hi Gabriela, I have the same problem. I have a DOIT kit with an esp32 WROOM. Like you are, monitor the esp32 over max3232, with boot and enable buttons I can enter the boot mode but the problem starts from here, I can see over serial monitor "waiting for download" but not the right way. Most of the ...
by halilarkl07
Thu Aug 06, 2020 11:28 am
Forum: ESP-IDF
Topic: ESP32 Socket Client
Replies: 0
Views: 1923

ESP32 Socket Client

Hello, I am connecting wifi and ethernet on the same network. When I am trying to open a socket, they both ethernet and wifi connecting to the socket server. If I want to separate their network, How can I disable one of them connecting to the socket. I want to manage the wifi socket and the wired et...
by halilarkl07
Mon May 11, 2020 7:31 pm
Forum: ESP-IDF
Topic: gettimeofday not working with timeval [IDFGH-3263]
Replies: 3
Views: 5277

Re: gettimeofday not working with timeval [IDFGH-3263]

Problem solved,
  1. #include <sys/param>
Somehow this header cause the problem with timeval.
while this written, tv_sec was long long int, but when I erase the "#include <sys/param>" tv_sec become long int.

Now everything okay,

Thank you for helping me @Konstantin,
Have a great day.
by halilarkl07
Thu May 07, 2020 9:44 am
Forum: ESP-IDF
Topic: gettimeofday not working with timeval [IDFGH-3263]
Replies: 3
Views: 5277

gettimeofday not working with timeval [IDFGH-3263]

Hi guys, I have a problem with getting time. I need to get the current time in millisecond resolution. I know that gettimeofday can get in microsecond resolution based on: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/system_time.html I am using; struct timeval tv_...