In my application it calls "esp_ble_gatts_send_indicate" in every 20 milliseconds and there are 3 similar parallel calls for 3 different characteristics. Now i believe this error throws because there are so many indicate calls within short time of period. This works around for 10 - 15 mins and then it stops indicating the characteristics. See below logs,
Code: Select all
uint8_t indicate_data[4];
inttolitend(value, indicate_data);
esp_ble_gatts_send_indicate(gatts_if_for_indicate, 0, myapp_handle_table[IDX_CHAR_VAL_C],
sizeof(indicate_data), indicate_data, false);
Code: Select all
Connected
SENDING VALUE 144838
I (1003513) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 42
I (1003513) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 44
I (1003520) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 46
I (1003527) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 48
Connected
SENDING VALUE 144838
I (1003615) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 42
I (1003615) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 44
I (1003622) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 46
I (1003629) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 48
Connected
SENDING VALUE 144838
I (1003717) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 42
I (1003717) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 44
I (1003724) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 46
I (1003731) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 48
Connected
SENDING VALUE 144852
I (1003819) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 42
I (1003819) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 44
I (1003826) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 46
I (1003833) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 48
Connected
SENDING VALUE 144852
I (1003921) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 42
I (1003921) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 44
I (1003928) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 46
I (1003935) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 48
Connected
SENDING VALUE 144878
I (1004023) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 42
I (1004023) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 44
I (1004030) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 46
I (1004037) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 48
Connected
SENDING VALUE 144865
I (1004125) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 42
I (1004125) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 44
I (1004132) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 46
I (1004139) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 48
Connected
SENDING VALUE 144878
I (1004227) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 42
I (1004227) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 44
I (1004234) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 46
I (1004241) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 48
Connected
SENDING VALUE 144852
I (1004329) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 42
I (1004329) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 44
I (1004336) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 46
I (1004343) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 48
Connected
SENDING VALUE 144878
I (1004431) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 42
I (1004431) MYAPP: ESP_GATTS_CONF_EVT, status = 0, attr_handle 44
I (1004438) MYAPP: ESP_GATTS_CONF_EVT, status = 143, attr_handle 46
I (1004445) MYAPP: ESP_GATTS_CONF_EVT, status = 129, attr_handle 48
Connected
SENDING VALUE 144865
Connected
SENDING VALUE 144865
Connected
SENDING VALUE 144852
Thanks for the support in advance guys!