BLE Gattc multi connection using Bluetooth MAC Address

Cap10_N3m0
Posts: 1
Joined: Mon Apr 29, 2024 6:03 am

BLE Gattc multi connection using Bluetooth MAC Address

Postby Cap10_N3m0 » 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
  1. esp_ble_gattc_open(gl_profile_tab[PROFILE_B_APP_ID].gattc_if, address_b, 0, true);
  2. 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

Who is online

Users browsing this forum: No registered users and 90 guests