Search found 3 matches

by mano1979
Wed Oct 16, 2024 10:42 am
Forum: ESP-IDF
Topic: ESP32-C3 How to know if USB console (GPIO18, GPIO19) is plugged in?
Replies: 6
Views: 2983

Re: ESP32-C3 How to know if USB console (GPIO18, GPIO19) is plugged in?

For esp32-c3 returns zero if usb is not connected, otherwise returns a positive integer (10). int is_plugged_usb(void){ uint32_t *aa = USB_SERIAL_JTAG_FRAM_NUM_REG; uint32_t first = *aa; vTaskDelay(pdMS_TO_TICKS(10)); return (int) (*aa - first); } How to use this? I am trying to implement it in my ...
by mano1979
Tue Feb 27, 2018 8:30 pm
Forum: ESP-IDF
Topic: Help needed! ESP32-Alexa (A.I.) client
Replies: 2
Views: 5725

Re: Help needed! ESP32-Alexa (A.I.) client

Some additional links with code examples. I just don't know how to implement it.

ESP-idf Ping example (incl delay): viewtopic.php?

Alexa Voice Service Ping-Setup: https://developer.amazon.com/docs/alexa
by mano1979
Sat Feb 24, 2018 3:02 am
Forum: ESP-IDF
Topic: Help needed! ESP32-Alexa (A.I.) client
Replies: 2
Views: 5725

Help needed! ESP32-Alexa (A.I.) client

In this project i found on github https://github.com/MrBuddyCasino/ESP32_Alexa , there should be a function that sends a "ping" every 5 minutes to the server it is connected to (amazon's alexa server), to keep the connection alive and avoid the esp32 from beeing reset. This is not implemented yet. I...