Giter Site home page Giter Site logo

Comments (14)

arunbm123 avatar arunbm123 commented on July 26, 2024 1

hi
I am unable to import includes file c_includes.xml.
after giving path. and finish nothing happens

from esp32-snippets.

nkolban avatar nkolban commented on July 26, 2024

@GarageGadget

Great idea ... thank you for that sir. Here is a first pass ... have a go and lets see if this meets the need. Please post back with comments/results.

https://github.com/nkolban/esp32-snippets/blob/master/skeletons/cpp/main_helloworld.cpp

from esp32-snippets.

GarageGadget avatar GarageGadget commented on July 26, 2024

Thank you for the example

I replaced the main.c with main_helloworld.cpp file a project based on esp-idf-template project.

I had to add the include directory to the include path to resolve ESP_LOGD declarations.
The code compiled and flashed without issue but unfortunately none of the application messages were sent to the uart.

I had to adjust the log level to get the messages to output to the uart.

from esp32-snippets.

nkolban avatar nkolban commented on July 26, 2024

Ahhh ... yes ... sorry ... by using ESP_LOGD() that logs at the debug level which is a lower level logging than default. But it sounds like you got it figured.

Close this issue when you are happy.

from esp32-snippets.

mumairanwar92 avatar mumairanwar92 commented on July 26, 2024

@GarageGadget I'm having the same issue, will you guide me how did you adjust the log level to get the output ? Thanks in advance.
and @nkolban , Great tutorial and awesome effort writing the book about esp32. Really appreciated.

from esp32-snippets.

nkolban avatar nkolban commented on July 26, 2024

@mumairanwar92 The logging is documented here ...

http://esp-idf.readthedocs.io/en/latest/api-reference/system/log.html

At a high level, and assuming your are using ESP-IDF, run "make menuconfig" and navigate through the menus to the log settings. Set the default log output level to debug or lower. If you need further assistance, don't hesitate to post back.

from esp32-snippets.

mumairanwar92 avatar mumairanwar92 commented on July 26, 2024

@nkolban thanks for the comment. It has been resolved. you and your tutorials have been a great help throughout.

from esp32-snippets.

wdouglas1999 avatar wdouglas1999 commented on July 26, 2024

Hi all,
I am too unable to import includes from the c_includes.xml. Exactly the same situation as arunbm123.
Has any solution been found?
Thank you.

from esp32-snippets.

chegewara avatar chegewara commented on July 26, 2024

https://github.com/nkolban/esp32-snippets/blob/master/eclipse/c_includes.xml

from esp32-snippets.

burkulesomesh43 avatar burkulesomesh43 commented on July 26, 2024

@nkolban
I ma using using esp idf environment on esp32 board. I want to decode url.
URL>>file:///F:/s?ssid=cabin+336&Passkey=Cabin336%40efc

In above url, 'Cabin336%40efc' includes '%40' which has its decoded value '@'
so how to decode this?
I tried to use base64.h library file from esp idf but gives an error..
fatal error: base64.h: No such file or directory

from esp32-snippets.

chegewara avatar chegewara commented on July 26, 2024

Check you esp-idf installation:
https://github.com/espressif/esp-idf/blob/master/components/wpa_supplicant/include/wpa2/utils/base64.h

from esp32-snippets.

burkulesomesh43 avatar burkulesomesh43 commented on July 26, 2024

@chegewara
yes, this file is on this location but when i used #include "base64.h" it gives error..

from esp32-snippets.

chegewara avatar chegewara commented on July 26, 2024

Try like this:
https://github.com/espressif/esp-adf/blob/master/examples/cloud_services/google_translate_device/main/google_sr.c#L31

from esp32-snippets.

burkulesomesh43 avatar burkulesomesh43 commented on July 26, 2024

@chegewara
hey Its working.
thank you so much for help and quick response..

from esp32-snippets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.