zhp-espressif

Results 52 comments of zhp-espressif

What value does the function return when esp_ble_gatts_add_char is called? What is the status of the "ESP_GATTS_ADD_CHAR_EVT" event reported when add char fails? It looks like the value of "char_uuid_write"...

The code you provided isn't complete. I suspect that the parameter "num_handle" you set when calling "esp_ble_gatts_create_service" is incorrect. Please review and set the correct num_handle. ![image](https://github.com/espressif/esp-idf/assets/131946088/304d2d1e-e520-4054-8355-6e15296cc45f)

The test on my end is fine; this is an example I wrote. [gatts_demo.zip](https://github.com/espressif/esp-idf/files/15232918/gatts_demo.zip) ![image](https://github.com/espressif/esp-idf/assets/131946088/9d1af39f-9e58-441c-9db1-3629a9cf3a27)

Thank you for reporting the issue. It seems to be related to the BLE controller's memory. The reason for this issue is that the controller failed to allocate memory. We...

The BLE controller allocates a block of memory during initialization, which is exclusively for the controller's use. There's no way to determine from the outside whether there has been a...

1-Is it possible to observe memory leaks from outside of the BT controller? Answer: Currently, it's not possible to detect memory leaks externally. The memory allocation for the controller is...

[d166426.zip](https://github.com/espressif/esp-idf/files/15235517/d166426.zip)(based on e8bdaf91986a41678adc6be13888fc037b1acb68 tag: v4.4.4) Please replace the esp-idf/components/bt/controller/lib_esp32/esp32/libbtdm_app.a file. In the new lib file, I've added a new API that can retrieve the memory usage of the controller. Below...

The reason for this issue is the mismatch between the "magic value" externally and internally in the controller. The external controller value is configured by ESP_BT_CONTROLLER_CONFIG_MAGIC_VAL and needs to be...

replace esp-idf/components/bt/controller/lib_esp32/esp32/libbtdm_app.a and extern uint16_t ke_get_heap_free_size(void); make sure:BT controller compile version [**d166426**] ![image](https://github.com/espressif/esp-idf/assets/131946088/9e3adfb7-ef98-458e-b8f2-16e1b486bf81)