Search found 6 matches

by BlackSmith40
Fri Nov 24, 2023 6:16 pm
Forum: ESP-IDF
Topic: HTTP Server - Progress bar on front end
Replies: 3
Views: 3946

Re: HTTP Server - Progress bar on front end

The OTA i created for myself also uses a web page with a progress bar. What i did was have the webpage itself show the progress by what it has sent so far, and not have it updated by the ESP32. How do you keep track of number of bytes sent? If I can get it, I can divide it to total file size, get r...
by BlackSmith40
Tue Nov 07, 2023 5:57 pm
Forum: ESP-IDF
Topic: ESP IDF V5.1.1 Project Configuration Problem
Replies: 0
Views: 362

ESP IDF V5.1.1 Project Configuration Problem

In my top level CMakeLists.txt file, I've added this statement to top of it add_compile_definitions(PROJECT_TYPE_A) get_directory_property( DirDefs COMPILE_DEFINITIONS ) message( "COMPILE_DEFINITIONS TOP LEVEL = ${DirDefs}" ) I've a component under components folder and I'm trying to read COMPILE_DE...
by BlackSmith40
Mon Nov 06, 2023 4:40 pm
Forum: ESP-IDF
Topic: ESP IDF - CMakeList Configuration for Multiple Projects
Replies: 0
Views: 477

ESP IDF - CMakeList Configuration for Multiple Projects

I've 3 projects and I want to manage them in a single project environment. I've a list of components under folder components and I've 3 lists in my top level CMakeLists.txt file for components to be built for each project. It's something like this list(APPEND COMPONENTS_PROJECT_A comp1 comp2 comp3 )...
by BlackSmith40
Thu Aug 10, 2023 5:04 am
Forum: ESP-IDF
Topic: HTTP Server - Progress bar on front end
Replies: 3
Views: 3946

HTTP Server - Progress bar on front end

I've established FW OTA update over ESP32 AP. I'm sending image in a single request with segmented packets(This is way faster than sending multiple requests). However, this forces me to continuously receive data in handler with 'http_req_recv'. This prevents me to take care of other http requests du...
by BlackSmith40
Fri Jan 27, 2023 4:15 am
Forum: ESP-IDF
Topic: RMT Peripheral - Sending RMT symbols directly
Replies: 1
Views: 1218

Re: RMT Peripheral - Sending RMT symbols directly

I solved this problem as follows. I’ve installed tx channel following guide on esp offical site IDF5.0. Instead of rmt_transmit I’ve used /* Reset channel memory */ rmt_ll_tx_reset_pointer(txHandle->group->hal.regs, txHandle->channel_id); /* Copy IR frame to Tx channel’s memory */ memcpy((void*) txH...
by BlackSmith40
Wed Jan 25, 2023 6:26 am
Forum: ESP-IDF
Topic: RMT Peripheral - Sending RMT symbols directly
Replies: 1
Views: 1218

RMT Peripheral - Sending RMT symbols directly

I'm using IDF 5.0 and I can receive IR frames correctly with RMT peripheral. I want to send what I receive but as far as I see rmt_transmit function in IDF 5.0 allows users to manually set command and data. Then it uses encoder to convert this data to RMT symbols. In my case, I already have RMT symb...