BLE Gattc multi connection using Bluetooth MAC Address
Posted: Mon Apr 29, 2024 8:41 am
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
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
- 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);
Can someone help please