Search found 2 matches
- Fri Feb 18, 2022 12:03 pm
- Forum: General Discussion
- Topic: ESP-IDF TCP Socket Serial Bridge.
- Replies: 2
- Views: 5442
Re: ESP-IDF TCP Socket Serial Bridge.
Problem was, a blocking code and the fact the message apparently waits for a receive or send depending on if you set it up as a server or client. this was solved through making the sockets non-blocking sorta like this.. fcntl(socket, F_SETFL, O_NONBLOCK); and using the MSG_DONTWAIT as follows. recv(...
- Mon Feb 14, 2022 8:28 am
- Forum: General Discussion
- Topic: ESP-IDF TCP Socket Serial Bridge.
- Replies: 2
- Views: 5442
ESP-IDF TCP Socket Serial Bridge.
I am trying to recreate the Arduino wi-fi Serial bridge using BSD sockets in ESP-IDF. If anyone has a working example that would be amazing as so far my google searches have led me nowhere. /* WiFiTelnetToSerial - Example Transparent UART to Telnet Server for ESP32 Copyright (c) 2017 Hristo Gochkov....