Search found 7 matches

by Harshad P
Tue May 25, 2021 10:44 am
Forum: ESP-IDF
Topic: How do I merge 2 codes with "app_main" and one .c and other .cpp
Replies: 3
Views: 3608

Re: How do I merge 2 codes with "app_main" and one .c and other .cpp

Thanks a lot for the replies, I was able to make it up and running.
by Harshad P
Mon May 24, 2021 1:15 pm
Forum: ESP-IDF
Topic: How do I merge 2 codes with "app_main" and one .c and other .cpp
Replies: 3
Views: 3608

How do I merge 2 codes with "app_main" and one .c and other .cpp

Hello all, I am trying to merge two codes (app_main.cpp and main.c) and my folder structure looks like this Project #->Cmakelists.txt #->Makefile #->sdkconfig #->Main ### ->Cmakelists.txt ### ->main.c ### ->main.h (I added this) ### ->app_main.cpp Both main.c and app_main.cpp have "void app_main()" ...
by Harshad P
Thu May 06, 2021 6:13 am
Forum: ESP-IDF
Topic: CBOR encoder example code
Replies: 0
Views: 1742

CBOR encoder example code

Hello all,

I am looking for a help for converting String values to CBOR and could barely find any example code. Couldn't understand the decoder example code provided by ESP-IDF.

If anyone has worked on that please help me out

Regards,
by Harshad P
Tue Apr 20, 2021 11:48 am
Forum: ESP-IDF
Topic: COAP "POST" Example code
Replies: 1
Views: 3167

COAP "POST" Example code

Hello All, There's an example for CoAP-Client https://github.com/espressif/esp-idf/tree/master/examples/protocols/coap_client in ESP-IDF which is used to GET data. Now I was trying to do a project to POST data to server, However I couldn't proceed since there's no POST functions I could find in it's...
by Harshad P
Wed Apr 14, 2021 1:33 pm
Forum: ESP-IDF
Topic: Problem in merging coap_client example with cxx example
Replies: 0
Views: 1619

Problem in merging coap_client example with cxx example

Hello all, I tried to merge Coap_Client https://github.com/espressif/esp-idf/tree/master/examples/protocols/coap_client example with one of the "cxx" example i.e sensor_mcp9808 https://github.com/espressif/esp-idf/tree/master/examples/cxx/experimental/sensor_mcp9808 However I am facing the following...
by Harshad P
Wed Apr 14, 2021 11:39 am
Forum: ESP-IDF
Topic: Download a .mp4 file from my web server to ESP32 SD Card
Replies: 3
Views: 5426

Re: Download a .mp4 file from my web server to ESP32 SD Card

Thanks for the reply, I actually went through the code previously and couldn't understand much of it, I understand ESP32 itself acts as a server with it's own html page and stuff and for my application I actually don't need that. So basically I will never start the server itself and also change the ...
by Harshad P
Wed Apr 14, 2021 7:14 am
Forum: ESP-IDF
Topic: Download a .mp4 file from my web server to ESP32 SD Card
Replies: 3
Views: 5426

Download a .mp4 file from my web server to ESP32 SD Card

Hello All, I am new to ESP-IDF and am trying to do a project to download a video (.mp4) from server and then stream it on local host. So the project is mainly divided into 2 parts, First, I am planning to download few videos ( https://www.pexels.com/video/1812902/download/ and few others similarly) ...