Search found 6 matches
- Sun May 30, 2021 9:02 am
- Forum: ESP-IDF
- Topic: driver/i2c adapted to AM2320 . Adding delay when sending frame.
- Replies: 1
- Views: 2039
driver/i2c adapted to AM2320 . Adding delay when sending frame.
In order to start communication with AM2320 sensor , it needs to be woken up. Using ESP32s2 as i2c master. Is it possible by i2c driver create delay in certain step of i2c communication ? So far I found only nice functions for creating packet but not how to change communication in detail. Before inv...
- Tue Apr 02, 2019 10:40 pm
- Forum: ESP-IDF
- Topic: Socket - TCP Server 500ms read time out
- Replies: 8
- Views: 12655
Re: Socket - TCP Server 500ms read time out
Hi Cermak. You are right ! 8-) Thank you very much. Also ESP_Sprite your guess was very right. Thanks guys ! Delay is very convenient now. Sometimes every 20-40th message gets delayed by 400ms-1s. Then CPU starts working fast again. I have set priority of task to 2. Still gets this issue. Am I missi...
- Mon Apr 01, 2019 6:36 pm
- Forum: ESP-IDF
- Topic: Socket - TCP Server 500ms read time out
- Replies: 8
- Views: 12655
Re: Socket - TCP Server 500ms read time out
Hard to say without code or more information about what you're trying to do, but perhaps you're running into a drawback of Nagles algorithm on either side? This is the code /* BSD Socket API Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by appl...
- Mon Apr 01, 2019 6:34 pm
- Forum: ESP-IDF
- Topic: Socket - TCP Server 500ms read time out
- Replies: 8
- Views: 12655
Re: Socket - TCP Server 500ms read time out
Hard to say without code or more information about what you're trying to do, but perhaps you're running into a drawback of Nagles algorithm on either side? It is not related to nagles algorithm. I have tried example esp-Idf TCP Client. Sending 128bytes long message from ESP32 to TCP server running ...
- Sun Mar 31, 2019 12:07 pm
- Forum: ESP-IDF
- Topic: Socket - TCP Server 500ms read time out
- Replies: 8
- Views: 12655
Re: Socket - TCP Server 500ms read time out
I have used example code from espressif socket tcp server. In my pc I run python socket client and send message “hello world” or 128 bytes message. Either way I get response 0.5s and unable to speed it up. I need to send frequent message like 100ms. Has anybody tried example code socket server clien...
- Sat Mar 30, 2019 11:09 pm
- Forum: ESP-IDF
- Topic: Socket - TCP Server 500ms read time out
- Replies: 8
- Views: 12655
Socket - TCP Server 500ms read time out
Recently I tried one of examples in IDF for Sockets - TCP Server. Once socket is binded, my python client is able to get write,read response every 500ms. Is it possible to speed it up ? No matter what size the buffer is. Response time is the same. I have checked all settings in menuconfig for TCP or...