Search found 6 matches

by filimonic
Mon May 18, 2026 2:50 pm
Forum: General Discussion
Topic: [SOLVED] Catch "hit enter within 15 seconds from app start"
Replies: 4
Views: 84

Re: Catch "hit enter within 15 seconds from app start"

Thank you, missed this. This helped.


https://docs.espressif.com/projects/esp-idf/en/v6.0.1/esp32c6/api-guides/usb-serial-jtag-console.html#software-configuration

if you also want to input or use REPL with the console, please select CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG


And/or try the example ...
by filimonic
Mon May 18, 2026 8:09 am
Forum: General Discussion
Topic: [SOLVED] Catch "hit enter within 15 seconds from app start"
Replies: 4
Views: 84

Re: Catch "hit enter within 15 seconds from app start"

This way does not work.

bool startup_wait_for_console_command(uint8_t seconds)
{
static const char *tag = __func__;
vTaskDelay(pdMS_TO_TICKS(3000));
while (seconds > 0) {
ESP_LOGI(tag, "=== Hit ENTER to configure. %d left ===", seconds);
for(int i = 0; i < 10; i++)
{
int ch = fgetc(stdin ...
by filimonic
Mon May 18, 2026 12:16 am
Forum: General Discussion
Topic: [SOLVED] Catch "hit enter within 15 seconds from app start"
Replies: 4
Views: 84

[SOLVED] Catch "hit enter within 15 seconds from app start"

Hi. I have esp32c6 board and it has app running without "external" hw (it uses bt and wifi).
CONFIG_ESP_CONSOLE_UART_DEFAULT=y and it just uses ESP_LOGx to output logs.

I want to implement esp console on this serial in this way:
On app startup, it gives user 15 seconds to hit ENTER through ...
by filimonic
Fri Sep 26, 2025 7:10 pm
Forum: General Discussion
Topic: Can I disable ESP32 C3 \ C6 USB JTAG programmatically, leaving USB Serial only?
Replies: 1
Views: 1010

Can I disable ESP32 C3 \ C6 USB JTAG programmatically, leaving USB Serial only?

Can I disable ESP32 C3 \ C6 USB JTAG programmatically, leaving USB Serial only?
by filimonic
Wed Jun 19, 2019 7:20 pm
Forum: General Discussion
Topic: GATTC connect to multiple similar GATTS: Should I register GATT app for each server?
Replies: 0
Views: 2261

GATTC connect to multiple similar GATTS: Should I register GATT app for each server?

IDF has example of gattc_multI_connect only for situation connecting to different GATTS devices using diffirentiation on gattc_if
I need to connect GATT Client to 3 exactly same GATT Server devices (they differ only by bluetooth device address, bda )
Should I register apps for each one, or I can ...
by filimonic
Tue Jun 18, 2019 9:48 pm
Forum: General Discussion
Topic: [SOLVED] ESP_GATTC_CONNECT_EVT fired for each gattc_if when multiple apps registered
Replies: 1
Views: 4056

[SOLVED] ESP_GATTC_CONNECT_EVT fired for each gattc_if when multiple apps registered

I see something strange in ESP32 BLE GATTC:
If I register multiple apps, the ESP_GATTC_CONNECT_EVT is fired on each app with different interfaces gattc_if and same bda
Am I doing something wrong?
I see in example gattc_multi_connect.c information about thin behaviour, but isn't it a bug ?

I (1008 ...

Go to advanced search