Search found 6 matches

by ESP_laukik-hase
Mon Nov 07, 2022 4:58 am
Forum: ESP-IDF
Topic: How to re-provision ESP with wifi credentials without forcing a reboot?
Replies: 11
Views: 13435

Re: How to re-provision ESP with wifi credentials without forcing a reboot?

Hello, In the wifi_prov_mgr example, by default, when incorrect credentials are enabled, the example tries connecting with the AP for a number of attempts and resets the state machine (see the config options here and the corresponding API here ). This allows reprovisioning the device again without h...
by ESP_laukik-hase
Thu Nov 03, 2022 8:55 am
Forum: ESP-IDF
Topic: How to re-provision ESP with wifi credentials without forcing a reboot?
Replies: 11
Views: 13435

Re: How to re-provision ESP with wifi credentials without forcing a reboot?

Hello, Support for re-provisioning the device for new credentials once the device had been successfully provisioned before has been added with the commit 9bc1cc7 in ESP-IDF. Please check out the wifi_prov_mgr example for details. Also, an additional endpoint has been added for controlling the Wi-Fi ...
by ESP_laukik-hase
Wed Nov 02, 2022 5:30 am
Forum: ESP-IDF
Topic: Provisioning manager - Event when smartphone connects
Replies: 4
Views: 3718

Re: Provisioning manager - Event when smartphone connects

Hello,

A similar request was filed on GitHub (see here); the commit will be syncing to the master branch soon. Meanwhile, you can try the patch attached in the linked GitHub issue.

Thanks,
Laukik
by ESP_laukik-hase
Wed Feb 23, 2022 6:53 am
Forum: ESP-IDF
Topic: adding JSON library example
Replies: 2
Views: 10211

Re: adding JSON library example

Hello,

You can use JSON (https://github.com/espressif/esp-idf/tr ... nents/json) present in ESP-IDF.

Thanks,
Laukik
by ESP_laukik-hase
Fri Dec 03, 2021 7:03 am
Forum: ESP-IDF
Topic: Provisioning Manager
Replies: 5
Views: 7215

Re: Provisioning Manager

Hello, The following function ​is responsible for adding the GATT characteristic. ble_gatt_add_characteristics(struct ble_gatt_chr_def *characteristics, int idx) ​ This function uses the function - ​gatt_svr_chr_access(uint16_t conn_handle, uint16_t attr_handle, struct ble_gatt_access_ctxt *ctxt, vo...
by ESP_laukik-hase
Fri Nov 26, 2021 8:45 am
Forum: ESP-IDF
Topic: OTA failure
Replies: 9
Views: 18881

Re: OTA failure

Hello, Could you check out Heap Memory Debugging in IDF? (https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/heap_debug.html) You can use the following functions for finding out the dynamic memory available: /* Set caps = MALLOC_CAP_8BIT for getting the free (data memor...