Search found 1365 matches

by Ritesh
Fri Jun 23, 2023 11:13 am
Forum: ESP-IDF
Topic: Bluetooth deinitialize and initialize process
Replies: 7
Views: 3043

Re: Bluetooth deinitialize and initialize process

Hello MicroController, We moved further from our end with deinitialize and initialize Buetooth from our end which is working fine without any issue. We have also looked and did some research regarding overall internal memory allocation and de-allocation when Bluetooth Init and De-Init is happened al...
by Ritesh
Wed Jun 21, 2023 5:51 am
Forum: ESP-IDF
Topic: Bluetooth deinitialize and initialize process
Replies: 7
Views: 3043

Re: Bluetooth deinitialize and initialize process

You can disable/de-init Bluetooth and then re-enable it. Just the mentioned release memory function, which the OP used, is "irreversible". Hello MicroController, Understood your point. If you have any reference example to de-init and again initialize it then would you please share it for our refere...
by Ritesh
Wed Jun 21, 2023 5:45 am
Forum: ESP-IDF
Topic: mbedtls handshake return -0x10
Replies: 3
Views: 3980

Re: mbedtls handshake return -0x10

Hello ESP_Angus and Team, We have done some more debugging into it and found that if we disable Bluetooth Controller then we able to update firmware into secure way without any issue. Then we have also checked both internal and external memory and found that internal memory goes beyond limit like 5K...
by Ritesh
Wed Jun 21, 2023 4:56 am
Forum: ESP-IDF
Topic: Bluetooth deinitialize and initialize process
Replies: 7
Views: 3043

Re: Bluetooth deinitialize and initialize process

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/bluetooth/controller_vhci.html#_CPPv429esp_bt_controller_mem_release13esp_bt_mode_t "Note that once BT controller memory is released, the process cannot be reversed. It means you cannot use the bluetooth mode which you have r...
by Ritesh
Tue Jun 20, 2023 1:11 pm
Forum: ESP-IDF
Topic: Bluetooth deinitialize and initialize process
Replies: 7
Views: 3043

Re: Bluetooth deinitialize and initialize process

Hello, We have a use case were we initialize bluetooth, disable/deinit bluetooth and initialize it again. Considering ble gatt sever example. Initialize bluetooth: void Bluetooth_Service_Initialize() { esp_err_t ret; /* Initialize NVS. */ ret = nvs_flash_init(); if (ret == ESP_ERR_NVS_NO_FREE_PAGES...
by Ritesh
Tue Jun 20, 2023 4:28 am
Forum: ESP-IDF
Topic: mbedtls handshake return -0x10
Replies: 3
Views: 3980

Re: mbedtls handshake return -0x10

Hi formus, mbedTLS error -0x10 is MBEDTLS_ERR_MPI_ALLOC_FAILED ("memory allocation failed"). Probably there is enough free heap memory only when Bluetooth is disabled. Depending on which Bluetooth modes you are using (BLE or Bluetooth Classic), you can release some of the Bluetooth controller memor...
by Ritesh
Wed Jun 07, 2023 9:19 am
Forum: ESP-IDF
Topic: ESP32 connects to Access Point but can't get IP address
Replies: 16
Views: 40948

Re: ESP32 connects to Access Point but can't get IP address

@Ritesh I would say that the work around I use circumvents the problem that I'm experiencing. In my case, there is strong evidence that the network is actually misbehaving. Espressif could consider whether to take this scenario into consideration and respond accordingly without the user needing to ...
by Ritesh
Thu Jun 01, 2023 6:35 am
Forum: General Discussion
Topic: ESP32 disabling ISR config options to save IRAM
Replies: 4
Views: 4667

Re: ESP32 disabling ISR config options to save IRAM

Honestly, sounds like you're not going to have much issues then... low data rates, not many flash writes, if something is written it's small (as in: not hundreds of Kbytes); my guesstimates say that should work just fine. (For a bit more info: specifically for UARTs the way I can see non-IRAM inter...
by Ritesh
Wed May 31, 2023 5:45 am
Forum: ESP-IDF
Topic: Out of static IRAM
Replies: 3
Views: 8172

Re: Out of static IRAM

Hi igrr, Thank you very much for this advise, indeed the option was enabled in menuconfig and disabling it gave me around 10k of IRAM which should be enough for my ISR handlers. After disabling the option I've got the following: $ make size-components Total sizes: DRAM .data size: 15728 bytes DRAM ...
by Ritesh
Sat May 27, 2023 9:39 am
Forum: ESP-IDF
Topic: Bluetooth example to send fixed frame from dveice to mobile app over Bluetooth
Replies: 2
Views: 858

Re: Bluetooth example to send fixed frame from dveice to mobile app over Bluetooth

Hello Espressif Team or Developers,

Anyone has any comment or sugestions as per query asked?

Let me know if need anything else from my end.