Page 1 of 1

How to connect more than one BLE devices?

Posted: Wed Jan 11, 2017 3:08 am
by xzwang
Now I use the ESP32 as Master, and want to connect More than one BLE devices?

I find two profiles in gattc_client example. Is that means that ESP32 can connect two ble slavers ? And one profile corresponding one ble slaver ? I also find an issue that ESP32 can only call esp_ble_gattc_app_register twice at most. The third time will register failed and the status in esp_gattc_cb is ESP_GATT_NO_RESOURCES.

Has anyone can give me some suggestion ?

Re: How to connect more than one BLE devices?

Posted: Thu Jan 12, 2017 3:07 am
by xzwang
I find the BTA_GATTC_CL_MAX in bta_gattc_int.h, it has been defined 3. And buledroid will take up one gatt client after initialized. So it only can connect two slavers at most.

Is the BTA_GATTC_CL_MAX decided by the CPU capability of ESP32 ?