Search found 2210 matches

by chegewara
Fri Mar 22, 2024 1:03 am
Forum: General Discussion
Topic: Trouble with ESP32 BLE Mesh Provisioning and Communication.
Replies: 3
Views: 456

Re: Trouble with ESP32 BLE Mesh Provisioning and Communication.

Ok, so, you said you have 2x esp32 as a provisioner, but you didnt explain how you create NetKey and AppKeys on each of them. Because of that, i only tried to explain you that both esp32 have to share exactly the same NetKey and AppKeys, so the provisioned nodes are considered to be in the same mesh...
by chegewara
Fri Mar 22, 2024 12:53 am
Forum: ESP-IDF
Topic: Wifi: Changing Hostname
Replies: 3
Views: 296

Re: Wifi: Changing Hostname

Did you try to start wifi before _set_hostname?
by chegewara
Tue Mar 19, 2024 5:32 pm
Forum: ESP-IDF
Topic: ESP32-S3 Console + DFU using internal USB
Replies: 1
Views: 1609

Re: ESP32-S3 Console + DFU using internal USB

Hi, you dont have to change eFuse. All you need is to add tinyUSB into your app. This eFuse USB_PHY_SEL is to disable JTAG and enable USB OTG on esp32S3 reboot, before bootloader start (i dont remember from top of my head if DFU endpoint is included thou). When you are using DFU you dont have to wor...
by chegewara
Tue Mar 19, 2024 5:11 pm
Forum: ESP-IDF
Topic: TinyUSB: Create MSC storage device with custom FS callbacks
Replies: 1
Views: 330

Re: TinyUSB: Create MSC storage device with custom FS callbacks

In theory it should be possible, but may be very very slow.
You may see if you can find anything useful in this example
https://github.com/espressif/esp-usb/bl ... _storage.c
by chegewara
Tue Mar 19, 2024 5:08 pm
Forum: ESP32 Arduino
Topic: Increase the number of BLE Bluetooth connected devices for ESP32
Replies: 1
Views: 1071

Re: Increase the number of BLE Bluetooth connected devices for ESP32

With esp32 you can connect max 7 ble devices.
Arduino BLE library may have limit, which does not apply NimBLE library.
by chegewara
Tue Mar 19, 2024 4:57 pm
Forum: ESP-IDF
Topic: ESP-IDF: ESP32S3 DFU when USB CDC is active
Replies: 1
Views: 377

Re: ESP-IDF: ESP32S3 DFU when USB CDC is active

On arduino, when you have enabled DFU option, additional endpoint with descriptor is added.
In esp-idf tinyUSB you have to do it exclusively.
by chegewara
Tue Mar 19, 2024 4:35 pm
Forum: ESP-IDF
Topic: esp_sleep_enable_ext0_wakeup not working
Replies: 1
Views: 383

Re: esp_sleep_enable_ext0_wakeup not working

Code: Select all

        esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_ON);
        esp_sleep_enable_ext0_wakeup((gpio_num_t)BUTTON_PIN, 0);
        esp_deep_sleep_start();
        
by chegewara
Tue Mar 19, 2024 4:32 pm
Forum: Hardware
Topic: Esp32 Freezes
Replies: 1
Views: 586

Re: Esp32 Freezes

Code: Select all

smartDelay(0);
...
static void smartDelay(unsigned long ms) {
  unsigned long start = millis();
  do {
    while (Serial2.available())
      gps.encode(Serial2.read());
  } while (millis() - start < ms); <--- 
}
I believe this loop never exits.
by chegewara
Tue Mar 19, 2024 4:26 pm
Forum: ESP-IDF
Topic: ESP-IDF component to set a compilation flag globally
Replies: 1
Views: 616

Re: ESP-IDF component to set a compilation flag globally

Example:

Code: Select all

idf_component_register(SRCS ${SRC_FILES} 
                    INCLUDE_DIRS include )

        
target_compile_options(${COMPONENT_LIB} PUBLIC -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-unused-variable)
bear in mind the order and PUBLIC
by chegewara
Tue Mar 19, 2024 4:21 pm
Forum: General Discussion
Topic: cdc_acm_host_open(772): Could not find required interface
Replies: 1
Views: 1122

Re: cdc_acm_host_open(772): Could not find required interface

It looks like modem is not USB CDC device.