Search found 58 matches

by PaulVdBergh
Thu Sep 19, 2019 6:44 pm
Forum: ESP-IDF
Topic: "esp_mqtt_client_register_event " and ESP_EVENT_ANY
Replies: 1
Views: 5045

Re: "esp_mqtt_client_register_event " and ESP_EVENT_ANY

Hi all, I changed the code to : // Connect to MQTT Broker ESP_LOGI(__FUNCTION__, "Waiting for MQTT..."); esp_mqtt_client_config_t mqtt_cfg; memset(&mqtt_cfg, 0, sizeof(esp_mqtt_client_config_t)); mqtt_cfg.uri = "mqtt://192.168.4.1"; esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg); ...
by PaulVdBergh
Wed Sep 18, 2019 10:31 pm
Forum: ESP-IDF
Topic: "esp_mqtt_client_register_event " and ESP_EVENT_ANY
Replies: 1
Views: 5045

"esp_mqtt_client_register_event " and ESP_EVENT_ANY

Hi All, I'm setting up an ESP32 device to connect to an RPi over WiFi. This connection is successful. Next, I try to connect to the MQTT broker running on the RPi (Mosquitto). According to the example here , @line 122, we can use the "ESP_EVENT_ANY_ID" for the second parameter (mqtt_event_id_t), how...
by PaulVdBergh
Wed Sep 18, 2019 9:59 pm
Forum: IDEs for ESP-IDF
Topic: Eclipse plugin for ESP-IDF CMake based projects (4.x and above)
Replies: 21
Views: 38986

Re: Eclipse plugin for ESP-IDF CMake based projects (4.x and above)

Hi ESP_igrr, Your workaround : For now, if you go into Preferences > C/C++ > Build > Environment and edit PATH environment variable value, you will see that it ends with ":$PATH" string. You can replace this with ":/usr/local/bin:/usr/bin:/bin" (or whatever your system PATH string is). Then the buil...
by PaulVdBergh
Tue Sep 17, 2019 10:39 pm
Forum: IDEs for ESP-IDF
Topic: Eclipse plugin for ESP-IDF CMake based projects (4.x and above)
Replies: 21
Views: 38986

Re: Eclipse plugin for ESP-IDF CMake based projects (4.x and above)

Hi Rudi, Thanks for your response. Executing the folowing command give this result : paulvdbergh@debian-10:~$ sudo apt-get install git wget libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelfto...
by PaulVdBergh
Tue Sep 17, 2019 4:11 pm
Forum: IDEs for ESP-IDF
Topic: Eclipse plugin for ESP-IDF CMake based projects (4.x and above)
Replies: 21
Views: 38986

Re: Eclipse plugin for ESP-IDF CMake based projects (4.x and above)

Hi All, I followed the setup as described in your post. When I try to compile the Hello_world example, I get the following errors: Building in: /home/paulvdbergh/eclipse-workspace/Hello_world/build cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=/home/paulvdbergh/esp/esp-idf/tools/cmake/toolchain-esp32.cmake ...
by PaulVdBergh
Mon Sep 09, 2019 1:05 pm
Forum: Hardware
Topic: ESP32-WROOM-32D and ESP-PROG
Replies: 8
Views: 14883

Re: ESP32-WROOM-32D and ESP-PROG

Hi Panometric, Thanks for your explanations. According to the schematics from the ESP-PROG device , there are pull-ups and caps to ground on both the EN and IO0 lines, but they are marked (NC), so they are AFAIK not mounted. Both the EN and IO0 pins are pulled up by a 10k resistor and a 1nF cap to g...
by PaulVdBergh
Sun Sep 08, 2019 3:12 pm
Forum: Hardware
Topic: ESP32-WROOM-32D and ESP-PROG
Replies: 8
Views: 14883

ESP32-WROOM-32D and ESP-PROG

Hello All, I'm developing a KiCad schematic and PCB layout that will be used as starting point for different modules. I'll use the ESP32-VROOM-32D module as processor and use an ESP_PROG device to programm/debug the software in the processor. Does one of the connections (EN, IO0, etc) need a pull-up...
by PaulVdBergh
Thu Aug 15, 2019 3:25 pm
Forum: Hardware
Topic: ESP-PROG pin headers
Replies: 4
Views: 8994

Re: ESP-PROG pin headers

Hi boarchuz, Thanks for your response. AFAICS the proposed connectors at aliexpress are true-hole. I prefer to use smd-components. But if they aren't available, I'll go for your suggestion. Perhaps Espressif could give more info re the used connectors, since they designed the ESP_PROG ? Thanks anywa...
by PaulVdBergh
Thu Aug 15, 2019 1:47 pm
Forum: Hardware
Topic: ESP-PROG pin headers
Replies: 4
Views: 8994

ESP-PROG pin headers

Hi All, I'm designing a PCB for my project. I'll use the ESP-PROG device to program/debug my design using the 1.27mm connectors. In the BOM of the ESP-PROG the connectors are described as follows : CONN Header 5x2, DC3-简易牛角座,贴片式,1.27 mm 间距 (CONN Header 5x2, DC3-box header connector, SMT, 1.27 mm pit...
by PaulVdBergh
Mon Apr 01, 2019 1:55 pm
Forum: General Discussion
Topic: Meaning of esp_mqtt_client_config_t.refrech_connection_after_ms
Replies: 2
Views: 4966

Meaning of esp_mqtt_client_config_t.refrech_connection_after_ms

Hi All, I'm working on a mqtt project where I need to know if the client connection to the broker is still active. If the connection is disconnected, the system must asap come to halt. The first idea was to set a relative low keepalive value and let the client send periodically some dummy publishing...