• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

main/11-Mar-2024-262205

tutorial/11-Mar-2024-283230

CMakeLists.txtD11-Mar-2024239 75

README.mdD11-Mar-20242.6 KiB6443

sdkconfig.defaultsD11-Mar-202447.3 KiB1,5221,429

sdkconfig.defaults.esp32c3D11-Mar-202447.9 KiB1,5521,456

sdkconfig.defaults.esp32s3D11-Mar-202452.2 KiB1,6901,583

README.md

1| Supported Targets | ESP32-C3 | ESP32-S3 |
2| ----------------- | -------- | -------- |
3
4#ESP-IDF Multi Adv Example
5
6This example support legacy as well as extended advertisement for all phy.
7
8Please, check this [tutorial](tutorial/Mulit_Adv_Example_Walkthrough.md) for more information about this example.
9
10## How to Use Example
11
12Before project configuration and build, be sure to set the correct chip target using:
13
14```bash
15idf.py set-target <chip_name>
16```
17
18### Hardware Required
19
20* A development board with ESP32-C3 SoC and ESP32-S3 and BLE5.0 supported chips (e.g., ESP32-C3-DevKitC, etc.)
21* A USB cable for Power supply and programming
22
23See [Development Boards](https://www.espressif.com/en/products/devkits) for more information about it.
24
25### Build and Flash
26
27Run `idf.py -p PORT flash monitor` to build, flash and monitor the project.
28
29(To exit the serial monitor, type ``Ctrl-]``.)
30
31See the [Getting Started Guide](https://idf.espressif.com/) for full steps to configure and use ESP-IDF to build projects.
32
33
34## Example Output
35
36```
37I (361) BTDM_INIT: BT controller compile version [3e61eea]
38I (371) coexist: coexist rom version 8459080
39I (371) phy_init: phy_version 500,985899c,Apr 19 2021,16:05:08
40I (491) system_api: Base MAC address is not set
41I (491) system_api: read default base MAC address from EFUSE
42I (491) BTDM_INIT: Bluetooth MAC: 7c:df:a1:40:01:c5
43
44I (711) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_ADV_SET_PARAMS_COMPLETE_EVT, status 0
45I (711) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_ADV_SET_RAND_ADDR_COMPLETE_EVT, status 0
46I (711) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_ADV_DATA_SET_COMPLETE_EVT, status 0
47I (721) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_ADV_SET_PARAMS_COMPLETE_EVT, status 0
48I (731) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_ADV_SET_RAND_ADDR_COMPLETE_EVT, status 0
49I (741) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_SCAN_RSP_DATA_SET_COMPLETE_EVT, status 0
50I (741) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_ADV_SET_PARAMS_COMPLETE_EVT, status 0
51I (751) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_ADV_SET_RAND_ADDR_COMPLETE_EVT, status 0
52I (761) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_ADV_DATA_SET_COMPLETE_EVT, status 0
53I (771) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_SCAN_RSP_DATA_SET_COMPLETE_EVT, status 0
54I (781) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_ADV_SET_PARAMS_COMPLETE_EVT, status 0
55I (781) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_ADV_SET_RAND_ADDR_COMPLETE_EVT, status 0
56I (791) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_SCAN_RSP_DATA_SET_COMPLETE_EVT, status 0
57I (801) MULTI_ADV_DEMO: ESP_GAP_BLE_EXT_ADV_START_COMPLETE_EVT, status 0
58
59```
60
61## Troubleshooting
62
63For any technical queries, please open an [issue](https://github.com/espressif/esp-idf/issues) on GitHub. We will get back to you soon.
64