Search found 105 matches

by abansal22
Tue Feb 22, 2022 5:08 pm
Forum: ESP-IDF
Topic: Allocating buffer on psram, himem
Replies: 0
Views: 1152

Allocating buffer on psram, himem

Hello, I have the esp32 board with 8mb of ps ram. I want to store 1 MB file in the himem of psram. I want to create the 1MB of the buffer in the psram and want to use as buffer while downloading the file. And after that want to do the manipulation in that buffer. What I am writing like this uint8_t ...
by abansal22
Fri Feb 04, 2022 2:32 am
Forum: ESP-IDF
Topic: Change the name of the node in the esp ble mesh
Replies: 5
Views: 5278

Re: Change the name of the node in the esp ble mesh

Thanks man for the info!!
by abansal22
Fri Jan 14, 2022 4:37 am
Forum: ESP-IDF
Topic: ESP32-S2 USB MSC Firmware Update
Replies: 13
Views: 13442

Re: ESP32-S2 USB MSC Firmware Update

Its too much to explain how it can be done. You have to have knowledge about USB and MSC API to create such device and then you have to decide how you really want to do it: - on the fly, write into next OTA partition - store in PSRAM and then write to partition - store in FatFS partition and then p...
by abansal22
Thu Jan 13, 2022 1:34 am
Forum: ESP-IDF
Topic: ESP32-S2 USB MSC Firmware Update
Replies: 13
Views: 13442

Re: ESP32-S2 USB MSC Firmware Update

Yes, it is possible. Thanks for speedy reply!! Is there is any example to do so? What may be the procedure? I can compile the binary file, put into the usb drive. Then restart the device. Look for binary file.if it is available then copy the file into a ota partition, and do the update? Is this the...
by abansal22
Wed Jan 12, 2022 3:31 am
Forum: ESP-IDF
Topic: ESP32-S2 USB MSC Firmware Update
Replies: 13
Views: 13442

Re: ESP32-S2 USB MSC Firmware Update

I am also looking for the same. Do you find any solution?
by abansal22
Tue Jan 11, 2022 6:41 am
Forum: ESP-IDF
Topic: Change the name of the node in the esp ble mesh
Replies: 5
Views: 5278

Re: Change the name of the node in the esp ble mesh

thanks man!
ZacDaMan wrote:
Mon Jan 10, 2022 11:03 pm
The name is set in "components/bt/esp_ble_mesh/mesh_core/proxy_server.c", on line 1442:
`strncpy(device_name, "ESP-BLE-MESH", DEVICE_NAME_SIZE);

You can trace this back up to figure out an appropriate point to insert your own name, or simply replace this string.
by abansal22
Sat Nov 27, 2021 12:57 pm
Forum: ESP-IDF 中文讨论版
Topic: undefined reference to `app_main'
Replies: 9
Views: 31502

Re: undefined reference to `app_main'

Seems like you want are trying to compile as cpp file.
for that you put the declaration as
extern void app_main()
by abansal22
Sat Nov 27, 2021 10:30 am
Forum: IDEs for ESP-IDF
Topic: Vscode esp-idf not building
Replies: 2
Views: 8757

Re: Vscode esp-idf not building

Hi, I am using Vscode extension 1.2, esp-idf 4.3.1, windows 10 Professional. I do not know what happened but when I want to build project first time of using extension I can do that but when I change any C code, comments or other in my project I can not build. When I close VScode and start one agai...
by abansal22
Fri Nov 26, 2021 10:32 am
Forum: ESP-IDF
Topic: Issues when using SPI SD card
Replies: 12
Views: 20153

Re: Issues when using SPI SD card

max spi frequency of this module is 19000khz.
by abansal22
Sun Oct 24, 2021 9:47 am
Forum: ESP-IDF
Topic: BLE Not starting advertising after disconnect
Replies: 4
Views: 6239

Re: BLE Not starting advertising after disconnect

I use latest Arduino IDE and latest ESP32 add-on to debug a very simple BLE project. I have the same problem: ESP32 stop advertising after a client disconnect to it. The C++ code posted can not be added into my Arduino code for ESP32. Is there any way to solve this problem? Please send out the code...