docs(ble/bluedroid): fix markdown formatting in example docs

This commit is contained in:
zhanghaipeng
2026-07-08 11:14:01 +08:00
parent 72a49ed53b
commit dba450de6b
22 changed files with 55 additions and 55 deletions
@@ -1,12 +1,12 @@
# Multi Adv Example Walkthrough
## introduction
## Introduction
In this document, we review the Multi Adv example code which implements a Bluetooth Low Energy (BLE5.0) Multi adv profile on the ESP32C3. This example is designed around two Application Profiles and a series of events that are handled in order to execute a sequence of configuration steps, such as defining extended advertising parameters with all phy 1M,2M and coded and Ext adv data.
## Includes
First, let’s take a look at the include
First, let's take a look at the include
```c
#include <stdio.h>
@@ -163,7 +163,7 @@ shed to the application from the BLE stack.
The register application event is the first one that is triggered during the lifetime of the program, this example uses the Profile A GATT event handle to configure the advertising parameters upon registration. This example has the option to use both standard Bluetooth Core Specification advertising parameters or a customized raw buffer. The option can be selected with the `CONFIG_SET_RAW_ADV_DATA` define. The raw advertising data can be used to implement iBeacons, Eddystone or other proprietary, and custom frame types such as the ones used for Indoor Location Services that are different from the standard specifications.
The function is used to configure different types of extended advertisement types and legacy adv with 1M,2M and coded phy in esp_ble_gap_ext_adv_set_params , esp_ble_gap_ext_adv_set_rand_addr and esp_ble_gap_config_ext_adv_data_raw. Respective structure of each one of them mentioned below with one example:
The function is used to configure different types of extended advertisement types and legacy adv with 1M,2M and coded phy in esp_ble_gap_ext_adv_set_params, esp_ble_gap_ext_adv_set_rand_addr and esp_ble_gap_config_ext_adv_data_raw. Respective structure of each one of them mentioned below with one example:
```c
/**
@@ -269,7 +269,7 @@ rt.status);
}
```
## Default config
## Default Config
This example by default configured with
1M phy extend adv, Connectable advertising