I want to connect to 2 BLE GATT server simultaneously using a client via Bluetooth MAC address. I am using the following functions to do that
esp_ble_gattc_open(gl_profile_tab[PROFILE_B_APP_ID].gattc_if, address_b, 0, true);
esp_ble_gattc_open(gl_profile_tab[PROFILE_A_APP_ID].gattc_if, address_a, 0, true);
Simultaneous connection occurs when both B and A are present but when B is absent A is not connecting at all. Function returns esp_err_t as OK. I wanna connect to A even when B is not there, and vice versa.
Can someone help please