Search found 15 matches

by lx393ale
Wed Jun 08, 2022 1:18 pm
Forum: General Discussion
Topic: ESP32 BLE - Android file sharing
Replies: 0
Views: 874

ESP32 BLE - Android file sharing

Hello everyone,
I would like to insert a system on esp32 where, with my Android smartphone, I can share a file from the settings without using an app. Is there an example or a guide to follow? I couldn't find anything by googling.
by lx393ale
Mon May 30, 2022 3:57 pm
Forum: General Discussion
Topic: ESP32 FLASH DATA
Replies: 1
Views: 1069

ESP32 FLASH DATA

Hello everybody, I need some advice on choosing the best way: I have 4kb (it's a structure) of data that needs to be stored permanently and sometimes updated (not all together but some structure variables as needed). Currently I have created a spiffs partition where I will overwrite a file with all ...
by lx393ale
Thu Mar 17, 2022 7:05 am
Forum: General Discussion
Topic: ESP32 DATA EMBEDDED
Replies: 0
Views: 973

ESP32 DATA EMBEDDED

Hi everyone, I’ve added my binary file with that way ( https://docs.platformio.org/en/latest/platforms/espressif32.html#embedding-binary-data ). So my question was to understand if there’s a way to set a priority of position in the “.rodata.embedded” section where automatically files go to with docs...
by lx393ale
Fri Mar 04, 2022 10:29 am
Forum: General Discussion
Topic: ESP32 DATA STORE
Replies: 2
Views: 1795

Re: ESP32 DATA STORE

Thanks for reply! I have another questions: I have a simple .txt files (with some strings) added in CMakesLists.txt like descripted on link in your answer. There's a way to find this strings in the firmware.bin file generated? In the future I will have to modify the firmware.bin file to change the s...
by lx393ale
Thu Mar 03, 2022 2:33 pm
Forum: General Discussion
Topic: ESP32 DATA STORE
Replies: 2
Views: 1795

ESP32 DATA STORE

Hello everyone, I need to store the read-only data (100kbyte) in a relative firmware address of the file, to be able to update both firmware and data with a single file. Also I must have the ability to update via OTA with the double partition. I haven't found any help documentation. Can anyone point...
by lx393ale
Wed Mar 02, 2022 1:32 pm
Forum: General Discussion
Topic: BLE BTM_GetSecurityFlags false ERROR
Replies: 0
Views: 1565

BLE BTM_GetSecurityFlags false ERROR

How do I to investigate about "BT_BTM: BTM_GetSecurityFlags false" error?
What is the meaning of this error?
The connection with the BLE server goes on for a while and afterwards it stops work.

I'm using Platformio on VSC, esp-idf 4.2.1

Someone can help me?
by lx393ale
Fri Jun 25, 2021 2:01 pm
Forum: ESP-IDF
Topic: ESP32 OTA INFORMATION
Replies: 5
Views: 3853

Re: ESP32 OTA INFORMATION

Actually my idea was to erase all at first, and after write. In this way I can mask the erasing time in some way. It seems is erasing sector by sector from https://github.com/espressif/esp-idf/blob/master/components/app_update/esp_ota_ops.c : esp_err_t esp_ota_write(esp_ota_handle_t handle, const vo...
by lx393ale
Thu Jun 24, 2021 10:29 am
Forum: ESP-IDF
Topic: ESP32 OTA INFORMATION
Replies: 5
Views: 3853

Re: ESP32 OTA INFORMATION

Thank you for the answer. I have another question: If you go into the function esp_ota_write(), there is a cycle that erase and write for each block of data passed in function. If I use esp_partition_erase_range(part, 0, part->size) to erase entire partition, after, for writing the update, there is ...
by lx393ale
Wed Jun 23, 2021 4:00 pm
Forum: ESP-IDF
Topic: ESP32 OTA INFORMATION
Replies: 5
Views: 3853

ESP32 OTA INFORMATION

I'm doing a project where OTA is needed. To reduce the updating time (the update size is about 2.3Mb), I'm searching a way to: - Erasing the next partion in one time, instead of erasing and writing ciclically with esp_ota_write(); - And after update it; It depeands the erasing time of a flash page. ...
by lx393ale
Tue Jun 30, 2020 11:36 am
Forum: ESP-IDF
Topic: Is there an HTTP client download file example?
Replies: 4
Views: 7919

Re: Is there an HTTP client download file example?

Hi I'm searching an example. Did you find something?

Thank you!