Search found 1683 matches

by kolban
Fri Aug 24, 2018 6:32 pm
Forum: ESP-IDF
Topic: OpenOCD problem
Replies: 19
Views: 22015

Re: OpenOCD problem

I did a google search and found: https://community.platformio.org/t/esp32-pio-unified-debugger/4541/22 Is it possible you are using the "Master" branch of the ESP-IDF? Unless there is something really compelling in a non-stable release, I usually recommend using the stable releases. https://github.c...
by kolban
Fri Aug 24, 2018 4:46 pm
Forum: ESP-IDF
Topic: WiFi w/ dynamic credentials
Replies: 4
Views: 7309

Re: WiFi w/ dynamic credentials

I think you are heading in the right lines. The wifi_config struct does have to be populated. If I remember correctly, the struct has fields called ssid and password. Both of these are arrays. What that means is that you have to copy in your desired SSID and Password. Here is a loose example: char *...
by kolban
Fri Aug 24, 2018 2:02 pm
Forum: General Discussion
Topic: Hardware Components in BLE
Replies: 1
Views: 3801

Re: Hardware Components in BLE

Howdy, I'm not sure I follow the question. As I understand an ESP32, it is an MCU and also an IC (Integrated Circuit). Built into the ESP32 is the ability to generate and receive radio signals. These signals are then modulated by the ESP32 to achieve the protocols known as WiFi and Bluetooth. While ...
by kolban
Fri Aug 24, 2018 1:56 pm
Forum: Sample Code
Topic: MDF and Mqtt
Replies: 8
Views: 15603

Re: MDF and Mqtt

Howdy,
I'm afraid I don't know what MDF is and it might be that other readers don't know either. Can you describe MDF or, better yet, provide a link to its nature?
by kolban
Thu Aug 23, 2018 7:26 pm
Forum: General Discussion
Topic: ESP-IDF create custom library
Replies: 5
Views: 15992

Re: ESP-IDF create custom library

Howdy my friend, Good post, great that you described your structure. I am thinking that "header1.h" is the declaration of the component functions. I think (from memory) that the header files for a component should live in the same directory as your component. For example, in your story, components/c...
by kolban
Thu Aug 23, 2018 3:00 pm
Forum: ESP-IDF
Topic: [Answered]: JWT component for ESP-IDF (JSON Web Tokens)
Replies: 10
Views: 25167

Re: JWT component for ESP-IDF (JSON Web Tokens)

Howdy, This is exactly my puzzle too. While JWT is generic, my practical need is for GCP (Google Cloud Platform). I'm in no immediate rush and haven't started digging too deeply. My first thought was this thread to see if anyone has walked this pass previously. The Mongoose OS implementation looks g...
by kolban
Wed Aug 22, 2018 5:15 pm
Forum: ESP-IDF
Topic: WDT resets with reduced logging level
Replies: 3
Views: 7600

Re: WDT resets with reduced logging level

I'll make a guess. Imagine some code in a task which reads: Task() { LOG("We are starting"); Initialize(); } Now imagine some code which creates the task: Create Task(); Use Task(); Looks pretty innocuous. But look closer at the bottom code, it Creates a task and then immediately assumes that the ta...
by kolban
Wed Aug 22, 2018 1:54 pm
Forum: General Discussion
Topic: how to stop receiving of data from UART
Replies: 5
Views: 7385

Re: how to stop receiving of data in UART

Howdy,
Let me suggest having a read at this part of the documentation relating to UART.

https://esp-idf.readthedocs.io/en/lates ... /uart.html

Let's see if after we read this how many of the questions still remain.
by kolban
Tue Aug 21, 2018 7:41 pm
Forum: General Discussion
Topic: ESP-IDF create custom library
Replies: 5
Views: 15992

Re: ESP-IDF create custom library

The model of builds for ESP-IDF applications is that one doesn't build archive files (.a files) but instead provides the source of the library in what ESP-IDF calls a "component". When we build an app using ESP-IDF, all the components are built but they are only linked in if referenced. See for exam...
by kolban
Tue Aug 21, 2018 3:17 am
Forum: General Discussion
Topic: Eclipse C++ Build using Kolban's guide
Replies: 8
Views: 11115

Re: Eclipse C++ Build using Kolban's guide

What I would suggest is that you we create a few junk settings by hand and then export them. Find the export file and then lets compare it against the export file that it in Github. If I remember correctly, they are just text files ... so what we can do is compare the two and see if there is an obvi...