fix(ble/bluedroid): Optimize BLE API "esp_ble_gattc_enh_open"

This commit is contained in:
zhanghaipeng
2024-11-19 17:28:43 +08:00
committed by chenjianhua
parent 4ace94342a
commit 7e536a7ba1
13 changed files with 98 additions and 99 deletions
@@ -167,7 +167,7 @@ The scan stop triggers an ``ESP_GAP_BLE_SCAN_STOP_COMPLETE_EVT`` event which is
esp_ble_gatt_create_conn.is_direct = true;
esp_ble_gatt_create_conn.is_aux = false;
esp_ble_gattc_enh_open(gl_profile_tab[PROFILE_A_APP_ID].gattc_if,
esp_ble_gatt_create_conn);
&esp_ble_gatt_create_conn);
Isconnecting = true;
}
break;
@@ -184,7 +184,7 @@ The scan stop triggers an ``ESP_GAP_BLE_SCAN_STOP_COMPLETE_EVT`` event which is
esp_ble_gatt_create_conn.is_direct = true;
esp_ble_gatt_create_conn.is_aux = false;
esp_ble_gattc_enh_open(gl_profile_tab[PROFILE_A_APP_ID].gattc_if,
esp_ble_gatt_create_conn);
&esp_ble_gatt_create_conn);
Isconnecting = true;
}
@@ -201,7 +201,7 @@ The scan stop triggers an ``ESP_GAP_BLE_SCAN_STOP_COMPLETE_EVT`` event which is
esp_ble_gatt_create_conn.is_direct = true;
esp_ble_gatt_create_conn.is_aux = false;
esp_ble_gattc_enh_open(gl_profile_tab[PROFILE_A_APP_ID].gattc_if,
esp_ble_gatt_create_conn);
&esp_ble_gatt_create_conn);
Isconnecting = true;
}
break;