Search found 28 matches

by gomez9656
Thu Jun 04, 2026 1:16 am
Forum: ESP-IDF
Topic: Device Firmware Update example in BLE MESH?
Replies: 0
Views: 31

Device Firmware Update example in BLE MESH?

Hi there,

I've been looking at this page: https://docs.espressif.com/projects/esp ... -list.html, and it says DFU is supported, but I can't find any examples related to it.

Is it supported, or is it still a WIP?

Thanks a lot in advance
by gomez9656
Tue Jun 17, 2025 6:19 pm
Forum: ESP-IDF
Topic: When using esp_ota_write it triggers UART
Replies: 0
Views: 74

When using esp_ota_write it triggers UART

I'm developing a project using ESP-IDF 5.3 on Windows for the ESP32-C3.

This project has several features, among them, UART and OTA.

The UART code is based on the ESP-IDF example "uart-events". The OTA feature is based on the ESP-IDF example "ble-ota" which is in the esp-iot-solution.

So far ...
by gomez9656
Tue Mar 04, 2025 9:31 pm
Forum: ESP-IDF
Topic: RMT for DALI in ESP32-C3 not filtering correctly
Replies: 6
Views: 2624

Re: RMT for DALI in ESP32-C3 not filtering correctly

Thanks a lot for your post, it was on the right track!

The "pulses" that have a duration of 800us+ need to be split. Also, when the last bit is "1", it will appear as the IDLE level in the DALI bus, which is a HIGH level. RMT will receive it as {1: 0} (level 1 for a duration of 0us). Taking this ...
by gomez9656
Fri Feb 28, 2025 4:39 pm
Forum: ESP-IDF
Topic: RMT for DALI in ESP32-C3 not filtering correctly
Replies: 6
Views: 2624

Re: RMT for DALI in ESP32-C3 not filtering correctly

Sorry, can you explain it further?

I'm having a hard time understanding how an RMT symbol represents 3 Manchester 'bits'
by gomez9656
Thu Feb 27, 2025 10:55 pm
Forum: ESP-IDF
Topic: RMT for DALI in ESP32-C3 not filtering correctly
Replies: 6
Views: 2624

RMT for DALI in ESP32-C3 not filtering correctly

I use RMT in ESP32-C3 with ESP-IDF 5.3 to receive DALI 2 commands.

DALI uses Manchester encoding to send the signals using 1200bps. 1200bps means each bit is 833us, and each half bit is 416us. I tried using this data in the min_ns and max_ns but always got the "value too big" error. The values I'm ...
by gomez9656
Mon Jan 27, 2025 8:38 pm
Forum: ESP-IDF
Topic: MQTT buffer size not working after 7500 bytes
Replies: 0
Views: 1099

MQTT buffer size not working after 7500 bytes

I'm working with an ESP32 in Platformio using the Arduino framework and the ESP-IDF MQTT (mqtt_client.h) implementation. platform = espressif32 @ 6.9.0

The broker is AWS IoT Core. So far I've been able to do the provisioning process and send data back and forth without problem.

The problem is I ...
by gomez9656
Mon Jan 20, 2025 11:36 pm
Forum: General Discussion
Topic: Is ESP-IDF MQTT implementation asynchronous?
Replies: 2
Views: 2026

Is ESP-IDF MQTT implementation asynchronous?

I'm working on an ESP32 project that so far works well. I'm using the PubSubClient library to connect to the AWS IoT core but that one has a blocking method that I would prefer to not use.

I found the ESP-IDF MQTT implementation which seems to also work, but I haven't found anything in the ...
by gomez9656
Wed Nov 06, 2024 1:40 pm
Forum: ESP-IDF
Topic: How to ESP-IDF I2C with MCP4716
Replies: 2
Views: 1065

Re: How to ESP-IDF I2C with MCP4716

I'm indeed using i2c_master.h but I think my right/left shift codes were bad and the DAC wasn't being updated.

I will try your solution
by gomez9656
Tue Nov 05, 2024 9:10 pm
Forum: ESP-IDF
Topic: How to ESP-IDF I2C with MCP4716
Replies: 2
Views: 1065

How to ESP-IDF I2C with MCP4716

I'm using ESP-IDF 5.3 to connect with an MCP4716 through I2C.

If I use the i2c tools example I'm able to see the device with address 0x60. I'm trying to build the command link to write to this register but I'm way lost on how to do it.
by gomez9656
Tue Oct 22, 2024 12:30 pm
Forum: ESP-IDF
Topic: correct way to setup git repo for esp-idf
Replies: 2
Views: 2895

correct way to setup git repo for esp-idf

I have a project in ESP-IDF 5.3.1, and I want to set up a GitHub repo for several people to use.

Is there anything special to do? What are the files that I should add or ignore?

Thanks a lot in advance

Go to advanced search