Search found 2238 matches

by chegewara
Wed Apr 24, 2024 8:11 am
Forum: Hardware
Topic: "Sleep" mode in which IRAM and cache are preserved
Replies: 11
Views: 583

Re: "Sleep" mode in which IRAM and cache are preserved

When you enter light sleep mode then code running on regular CPUs is stopped, you can check it by adding print log right after it. Code is resumed after waking up. You can search about this API, which i am leaving ON to wake up with pins: esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_O...
by chegewara
Wed Apr 24, 2024 1:14 am
Forum: ESP-IDF
Topic: Failure to load firmware on ESP32C6
Replies: 3
Views: 190

Re: Failure to load firmware on ESP32C6

The address is also incorrect.
The value will be more close to 0x120000 or 0x130000, but its not the exact number i think.
Factory app partition most likely will be at 0x10000, so it should be 0x120000.

In your case it would be best if you configure factory partition start address.
by chegewara
Wed Apr 24, 2024 1:05 am
Forum: ESP-IDF
Topic: component.mk vs CMakeLists.txt
Replies: 1
Views: 126

Re: component.mk vs CMakeLists.txt

.mk file is used with make build, which is deprecated, and cmakelists is used for cmake build tools
by chegewara
Wed Apr 24, 2024 1:03 am
Forum: ESP IoT Solution
Topic: ESP32 BLE OTA Mobile App ?
Replies: 1
Views: 89

Re: ESP32 BLE OTA Mobile App ?

I think this app may be compatible with esp-idf OTA over BLE example, but im not sure

https://github.com/EspressifApp/EspMesh ... Apis_en.md
by chegewara
Wed Apr 24, 2024 12:57 am
Forum: ESP-IDF
Topic: IDF example scan does not show ap's returned
Replies: 3
Views: 188

Re: IDF example scan does not show ap's returned

I dont know the example code, but this function return the correct value after wifi scan is finished, so either the API finish and event is received or you call scan stop before call this

Code: Select all

esp_wifi_scan_get_ap_num
by chegewara
Wed Apr 24, 2024 12:38 am
Forum: Hardware
Topic: "Sleep" mode in which IRAM and cache are preserved
Replies: 11
Views: 583

Re: "Sleep" mode in which IRAM and cache are preserved

Im not sure what you are trying to do, but did you try to use light sleep mode?
It will stop executing code on CPU/s, which will decrease a bit power consumption, and will keep all data in RAM.
All you need to stop wifi before enter light sleep mode to turn off radio.
by chegewara
Wed Apr 24, 2024 12:35 am
Forum: ESP-IDF
Topic: Help: NimBLE Characteristics Properties (Flags) Aren't Properly Applying From ble_gatt_svc_def
Replies: 2
Views: 458

Re: Help: NimBLE Characteristics Properties (Flags) Aren't Properly Applying From ble_gatt_svc_def

Yes, it is not obvious but its annoying during development until you learn it hard way. Another option is to use "forget LE device" on iPhone. Its somewhere in there, but honestly i dont know where. You can also try to connect with nrf connect and use option to refresh services with "discover servic...
by chegewara
Wed Apr 24, 2024 12:19 am
Forum: ESP-IDF
Topic: HTTP Client: What happens if the server response is too large?
Replies: 3
Views: 278

Re: HTTP Client: What happens if the server response is too large?

Ok.. once again, after having searched a while, I find the obvious answer just after having written the post here. Hoping that it might nonetheless spare someone else some time, I do not delete my question and post the simple answer: The esp_http_client_config_t has a buffer_size attribute (that de...
by chegewara
Tue Apr 16, 2024 6:14 pm
Forum: ESP-IDF
Topic: Cannot connect to WIFI
Replies: 2
Views: 242

Re: Cannot connect to WIFI

What is this value

Code: Select all

WIFI_ESP_CONN_TIMEOUT
by chegewara
Tue Apr 16, 2024 6:06 pm
Forum: ESP-IDF
Topic: bogus sdkconfig changes
Replies: 4
Views: 377

Re: bogus sdkconfig changes

This is not a problem with line endings or similar problems. Obviously something is enabling and/or disabling some options in Kconfig. Do you have some extra build scripts? Maybe rebuild with set-target is doing this? Its rather not possible, but different targets may have different default sdkconfi...