Search found 8 matches

by anantgaur
Thu Oct 19, 2023 9:11 am
Forum: ESP-IDF
Topic: Setting up firmware for production
Replies: 3
Views: 4379

Re: Setting up firmware for production

Thank you for the response good notes! Regarding the "device key", there is some information how to write it into NVS here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/mass_mfg.html. Note that secure boot and flash encryption keys are usually created on the devi...
by anantgaur
Wed Oct 18, 2023 5:52 pm
Forum: ESP-IDF
Topic: Setting up firmware for production
Replies: 3
Views: 4379

Setting up firmware for production

Hello, We recently finished development of a new board based on ESP32-S3 and were seeking to move it to production. We don't have a very robust production setup just yet. I have to setup our project to move to production from our development environment. Since I am very inexperienced with projects l...
by anantgaur
Wed Oct 18, 2023 1:19 pm
Forum: General Discussion
Topic: Is it really necessary to use esp-aws-iot to use aws iot?
Replies: 2
Views: 3885

Re: Is it really necessary to use esp-aws-iot to use aws iot?

Edit: Forgot to answer your main question, NO it's not required or necessary. esp-aws-iot is just an implementation of aws-iot-sdk. Don't use coreMQTT at all, esp_mqtt is a lot easier and better. You are better off just manually testing for your topic strings than integrating the aws sdk. Since I we...
by anantgaur
Sat Jul 15, 2023 8:39 am
Forum: Documentation
Topic: ESP-Modem documentation website has no commands for C API
Replies: 0
Views: 39187

ESP-Modem documentation website has no commands for C API

Hello, When I go on the C API modem commands section for ESP-modem, it just says- Warning doxygenfile: Cannot find file “esp_modem_api_commands.h I am guessing this is a bug, please look into it if possible. https://docs.espressif.com/projects/esp-protocols/esp_modem/docs/latest/api_docs.html#modem-...
by anantgaur
Sun Jul 09, 2023 1:57 pm
Forum: ESP-IDF
Topic: How to include nvs_flash component in custom outbox implementation
Replies: 6
Views: 2611

Re: How to include nvs_flash component in custom outbox implementation

Please give the following a try: target_link_libraries(idf::mqtt PRIVATE idf::nvs_flash) Got it to work using target_link_libraries, thanks, just had to use COMPONENT_LIB to get name instead of using the alias. This was the code that got it to work- idf_component_get_property(mqtt mqtt COMPONENT_LI...
by anantgaur
Sun Jul 09, 2023 9:30 am
Forum: ESP-IDF
Topic: How to include nvs_flash component in custom outbox implementation
Replies: 6
Views: 2611

Re: How to include nvs_flash component in custom outbox implementation

AFAIR, you cannot "dynamically" change the dependencies of a component this way. It seems that the easiest way to get what you want is to copy the MQTT component (e.g. into the components directory of your project) and modify code and cmake file there. I would like to avoid using that if possible, ...
by anantgaur
Sun Jul 09, 2023 9:28 am
Forum: ESP-IDF
Topic: How to include nvs_flash component in custom outbox implementation
Replies: 6
Views: 2611

Re: How to include nvs_flash component in custom outbox implementation

Please give the following a try: target_link_libraries(idf::mqtt PRIVATE idf::nvs_flash) I tried it and doesn't work- gives me the following error- CMake Error at main/CMakeLists.txt:13 (target_link_libraries): target_link_libraries can not be used on an ALIAS target. I'll try to see if I can get t...
by anantgaur
Sat Jul 08, 2023 11:30 am
Forum: ESP-IDF
Topic: How to include nvs_flash component in custom outbox implementation
Replies: 6
Views: 2611

How to include nvs_flash component in custom outbox implementation

Hello, I am new to ESP-IDF and wanted to make a custom outbox implementation for the MQTT client. I have imported the file as suggested and this is in my main CMakeLists file idf_component_get_property(mqtt mqtt COMPONENT_LIB) set_property(TARGET ${mqtt} PROPERTY SOURCES ${CMAKE_CURRENT_LIST_DIR}/pa...