Good question! Seems like I will do something like this in the nearest future :)
didnt have adress from DHPC server
Do you mean that IP address is assigned by the ESP32 itself? I think that in general ESP32 will have IP address. Maybe I will also need to try multicast. As I understand, multicast ...
Search found 10 matches
- Thu Jun 03, 2021 6:26 am
- Forum: ESP-IDF
- Topic: Its possible to make UPD socket listen on 192.168.x.x?
- Replies: 1
- Views: 2192
- Thu Jun 03, 2021 6:17 am
- Forum: ESP-IDF
- Topic: ESP32 AP mode, get TCP client hostname for TLS
- Replies: 0
- Views: 2039
ESP32 AP mode, get TCP client hostname for TLS
Hi.
I want to implement ESP32 working in Access Point (AP) mode and create TLS-PSK TCP server on ESP32 side. I see that I need to use esp_tls_conn_new_async (or _sync, no matter). I see that hostname should be passed as a parameter.
1) Is it a hostname of the client connected to ESP32?
2) How can I ...
I want to implement ESP32 working in Access Point (AP) mode and create TLS-PSK TCP server on ESP32 side. I see that I need to use esp_tls_conn_new_async (or _sync, no matter). I see that hostname should be passed as a parameter.
1) Is it a hostname of the client connected to ESP32?
2) How can I ...
- Wed Jun 02, 2021 8:03 am
- Forum: ESP-IDF
- Topic: How to disconnect ESP32 bluetooth physical?
- Replies: 1
- Views: 2305
Re: How to disconnect ESP32 bluetooth physical?
Hi.
What stack do you use? Bluedroid? Nimble? I'm sure there is a disconnect method described near the "connect" method.
What stack do you use? Bluedroid? Nimble? I'm sure there is a disconnect method described near the "connect" method.
- Thu Feb 25, 2021 6:52 am
- Forum: ESP-IDF
- Topic: NVS, possibility of broken data
- Replies: 0
- Views: 1596
NVS, possibility of broken data
Hi all!
I see official NVS documentation, examples and component API in esp-idf. I see that it has several CRC values. For example in a page header and in NVS entry. As I understand, it is used to validate data. It can protect data against occasional bit changes. But I don't understand how to detect ...
I see official NVS documentation, examples and component API in esp-idf. I see that it has several CRC values. For example in a page header and in NVS entry. As I understand, it is used to validate data. It can protect data against occasional bit changes. But I don't understand how to detect ...
- Thu Dec 31, 2020 8:37 am
- Forum: ESP-IDF
- Topic: ESP32 JTAG log array
- Replies: 1
- Views: 2344
ESP32 JTAG log array
Hi!
As I see, ESP32 JTAG logging (trace to host) doesn't support sending strings from RAM, only from ROM. I can't see ESP_LOG_BUFFER_HEX output in my log file in case of JTAG logging (not UART). Seems like it's not a bug :) But how can I simply send binary data array? Currently I use:
esp_log_set ...
As I see, ESP32 JTAG logging (trace to host) doesn't support sending strings from RAM, only from ROM. I can't see ESP_LOG_BUFFER_HEX output in my log file in case of JTAG logging (not UART). Seems like it's not a bug :) But how can I simply send binary data array? Currently I use:
esp_log_set ...
- Thu Dec 24, 2020 12:50 pm
- Forum: ESP-IDF
- Topic: [Closed] ESP32 JTAG logging to host, empty log file
- Replies: 1
- Views: 3340
Re: ESP32 JTAG logging to host, empty log file
I forgot to use:
// Flush collected data to the host
esp_apptrace_flush(ESP_APPTRACE_DEST_TRAX, 100000);
I see only one mention of this function.
Of course I found function description and even this forum thread about the same problem.
So my problem has been solved. I hope that this thread will ...
// Flush collected data to the host
esp_apptrace_flush(ESP_APPTRACE_DEST_TRAX, 100000);
I see only one mention of this function.
Of course I found function description and even this forum thread about the same problem.
So my problem has been solved. I hope that this thread will ...
- Thu Dec 24, 2020 8:13 am
- Forum: ESP-IDF
- Topic: [Closed] ESP32 JTAG logging to host, empty log file
- Replies: 1
- Views: 3340
[Closed] ESP32 JTAG logging to host, empty log file
Hi.
I have wrover-kit v4.1. ESP-IDF version 4.1. Win10. I decided to get ESP_LOG* output via JTAG.
#
# Application Level Tracing
#
CONFIG_APPTRACE_DEST_TRAX=y
# CONFIG_APPTRACE_DEST_NONE is not set
CONFIG_APPTRACE_ENABLE=y
CONFIG_APPTRACE_LOCK_ENABLE=y
CONFIG_APPTRACE_ONPANIC_HOST_FLUSH_TMO=-1 ...
I have wrover-kit v4.1. ESP-IDF version 4.1. Win10. I decided to get ESP_LOG* output via JTAG.
#
# Application Level Tracing
#
CONFIG_APPTRACE_DEST_TRAX=y
# CONFIG_APPTRACE_DEST_NONE is not set
CONFIG_APPTRACE_ENABLE=y
CONFIG_APPTRACE_LOCK_ENABLE=y
CONFIG_APPTRACE_ONPANIC_HOST_FLUSH_TMO=-1 ...
- Mon Dec 21, 2020 6:48 am
- Forum: IDEs for ESP-IDF
- Topic: No module named pip, python idf environment.
- Replies: 2
- Views: 5327
Re: No module named pip, python idf environment.
Viktor,
I don't have ESP-IDF installed on Windows, but you might try using pip directly (since you say you have a pip.exe):
pip install pywin32
Good luck!
You are right, it works. Thank you. Now I have a different error message :)
To be honest, I thought that I have already tried to install ...
- Fri Dec 18, 2020 6:16 am
- Forum: IDEs for ESP-IDF
- Topic: No module named pip, python idf environment.
- Replies: 2
- Views: 5327
No module named pip, python idf environment.
Hi.
I use VSCode for building ESP32 firmware. I have vscode-esp-idf-extension. It builds, flashes and monitors successfully. But when I try to debug (pressing F5), is says:
ModuleNotFoundError: No module named 'win32api'
OK, I see that I need to install pywin32. But when I try to execute python -m ...
I use VSCode for building ESP32 firmware. I have vscode-esp-idf-extension. It builds, flashes and monitors successfully. But when I try to debug (pressing F5), is says:
ModuleNotFoundError: No module named 'win32api'
OK, I see that I need to install pywin32. But when I try to execute python -m ...
- Thu Dec 10, 2020 7:04 am
- Forum: ESP-IDF
- Topic: Compile C++14 and newer.
- Replies: 1
- Views: 5300
Compile C++14 and newer.
Hi.
I assume that it's possible to build with different compiler options. I see that my code is compiled with -std=gnu++11 by default.
I found some comments about changing c++ version: https://github.com/espressif/esp-idf/issues/2449#issuecomment-423867023
But both
CFLAGS += -std=c++14
and ...
I assume that it's possible to build with different compiler options. I see that my code is compiled with -std=gnu++11 by default.
I found some comments about changing c++ version: https://github.com/espressif/esp-idf/issues/2449#issuecomment-423867023
But both
CFLAGS += -std=c++14
and ...