Search found 13 matches

by Stipa88
Fri Mar 22, 2024 12:14 pm
Forum: ESP-IDF
Topic: Cpp code with errors, same c code without errors
Replies: 2
Views: 448

Cpp code with errors, same c code without errors

Hey. The code inside the *.c file compiles without errors, the same code inside the *.cpp file has many errors, warnings.. The code is an official LEDC example: #include <stdio.h> #include "esp_system.h" #include "esp_log.h" #include "esp_err.h" #include "driver/ledc.h" #define LEDC_TIMER LEDC_TIMER...
by Stipa88
Thu Jan 25, 2024 7:43 am
Forum: ESP-IDF
Topic: Freertos task, required large stack for one ESP_LOG printout
Replies: 1
Views: 531

Freertos task, required large stack for one ESP_LOG printout

Hi. I am creating a task. In the task function, within the for(;;) loop, I periodically print one LOG message via the ESP_LOGI function-definition. In order for it to work, without crash and ESP reset, a stack of "1650" (stack is defined in words) size is required. 6.44kB is the task necessary? Why ...
by Stipa88
Wed Apr 12, 2023 12:23 pm
Forum: ESP-IDF
Topic: ESP32-C3 JTAG/USB
Replies: 1
Views: 861

ESP32-C3 JTAG/USB

Hello everyone. I am using ESP32-C3-MINI-1, on my own project. By default, the D+ and D- (USB) lines are used internally for programming/debugging. Can I use the USB lines for my project, without permanently programming the bits inside the "fuse" register. I don't want to permanently disable JTAG/US...
by Stipa88
Fri Mar 10, 2023 12:47 pm
Forum: ESP-IDF
Topic: How to create a new ESP-IDF component
Replies: 0
Views: 649

How to create a new ESP-IDF component

Hello everyone. I created a new empty project -> Right mouse click -> New -> Espressif IDF Component (I looked at the example component/wifi_provisioning) This is my component structure: proto.JPG How to compile and create a component "ProtoGenerator"? (the name of the component is just an example) ...
by Stipa88
Wed Mar 08, 2023 5:56 am
Forum: ESP-IDF
Topic: Provisioning custom data
Replies: 1
Views: 972

Re: Provisioning custom data

Pls, does anyone know?
by Stipa88
Mon Mar 06, 2023 1:53 pm
Forum: ESP-IDF
Topic: Protobuf example - implementation in own project
Replies: 0
Views: 627

Protobuf example - implementation in own project

Hi. There is a lot of mention of Protobuf, and the message structure, but unfortunately, there is nowhere a simple example of how to implement it. Example. a) Create a new ESP-iDF project (eg hello_world) b) Inside the project I create a proto folder c) Add the msg.proto file to the "proto" folder Q...
by Stipa88
Mon Mar 06, 2023 9:36 am
Forum: ESP-IDF
Topic: Provisioning custom data
Replies: 1
Views: 972

Provisioning custom data

Hi community, I'm testing an example "Wi-Fi Provisioning" https://github.com/espressif/esp-idf/tree/af805df3cb/examples/provisioning/wifi_prov_mgr and Android App https://github.com/espressif/esp-idf-provisioning-android . I am interested in the following: what should I change in the existing functi...
by Stipa88
Tue Feb 07, 2023 11:13 am
Forum: ESP RainMaker
Topic: RainMaker MQTT server
Replies: 4
Views: 3530

Re: RainMaker MQTT server

Why a mobile app,uses RainMaker API Service, why the mobile app is not simply an MQTT client? Structure of MQTT response messages, when the message sent by ESP and mobile APP is not the same. Example Send ESP to MQTT server: Send: {"ESP_WiFi_Comm":{"Power":false}} Recieive: {"ESP_WiFi_Comm":{"Power"...
by Stipa88
Sat Jan 28, 2023 6:22 pm
Forum: ESP RainMaker
Topic: RainMaker MQTT server
Replies: 4
Views: 3530

Re: RainMaker MQTT server

Hi This is my situation. My_network.png I would like to group the devices as follows: - only the ESP Node is visible in the application (it acts as a "group" that contains my devices) - The ESP node "contains" my devices I can't do that right now That's why I need my own implementation, especially f...
by Stipa88
Sat Jan 28, 2023 5:39 pm
Forum: ESP RainMaker
Topic: RainMaker MQTT server
Replies: 4
Views: 3530

RainMaker MQTT server

Hello

I am using ESP32-C3.
I want to implement my own "RainMakerServer" for my ESP32 devices.
Is it possible to get the instructions, or source code of the server? :D :D

I commend it, a well thought out system, but I want my own server (MQTT)

Tnx