# ESP External Connection
This component provides external wireless connectivity(Wi-Fi & Bluetooth) for ESP chips that do not have built-in wireless capabilities. The APIs used by this component are compatible with the Wi-Fi and Bluetooth component APIs in the ESP-IDF.
## Supported Features
- Wi-Fi Features:
- 802.11b/g/n
- Operating Mode: STA, SoftAP
- Security Mode: Open, WPA, WPA2, WPA3
- BT/BLE
- Classic Bluetooth
- BLE 4.2
## Supported ESP Chips
| Supported Hosts | ESP32P4 |
| ----------------- | ----- |
| Supported Targets | ESP8689 |
| ----------------- | ------- |
## Supported Boards
* ESP32-P4 Core Board with HWD-124 ESP32-P4 Core ESP32_Sub
* Hardware setup
- Pin Connections
| ESP32P4 | ESP8689 | Function |
| :-----: | :-----: | :------------------------------: |
| 42 | EN | Reset |
| 43 | BOOT | Forcing ESP8689 in download mode |
| 45 | D1 | Data 1 |
| 46 | D0 | Data 0 |
| 47 | CLK | Clock |
| 48 | CMD | Command |
| 49 | D3 | Data 3 |
| 50 | D2 | Data 2 |
- The ESP32P4 controls the reset of the ESP8689 through pin 42.
## Supported Transports
* SDIO Only
* Wi-Fi and Bluetooth, traffic for both runs over SDIO
## API
### Step to enable this component in an example code:
1. Add this component to your project using ```idf.py add-dependency esp_extconn``` command.
2. In the main file of the example, add the following line:
```c
#ifdef CONFIG_ESP_EXT_CONN_ENABLE
#include "esp_extconn.h"
#endif
```
3. In your app_main() function, add the following line as the first line:
```c
#ifdef CONFIG_ESP_EXT_CONN_ENABLE
esp_extconn_config_t config = ESP_EXTCONN_CONFIG_DEFAULT();
esp_extconn_init(&config);
#endif
```
4. Using esp_wifi components like built-in wireless chips :)
8d541f0ed2fd6505a8e8f713c9de3004b0b8d442
idf.py add-dependency "espressif/esp-extconn^0.0.1-qa-test-full-6.1-20261021"