mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
docs(ble/bluedroid): fix markdown formatting in example docs
(cherry picked from commit dba450de6b)
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
This commit is contained in:
committed by
zhanghaipeng
parent
d53c6ad240
commit
7020f17b59
@@ -11,7 +11,7 @@ This demo creates GATT a service and then starts advertising, waiting to be conn
|
||||
|
||||
To test this demo, we can run the [gatt_client_demo](../gatt_client), which can scan for and connect to this demo automatically. They will start exchanging data once the GATT client has enabled the notification function of the GATT server.
|
||||
|
||||
Please, check this [tutorial](tutorial/Gatt_Server_Example_Walkthrough.md) for more information about this example.
|
||||
Please check this [tutorial](tutorial/Gatt_Server_Example_Walkthrough.md) for more information about this example.
|
||||
|
||||
## Flow Diagram
|
||||
|
||||
|
||||
+2
-2
@@ -6,7 +6,7 @@ In this document, we review the GATT SERVER example code which implements a Blue
|
||||
|
||||
## Includes
|
||||
|
||||
First, let’s take a look at the includes:
|
||||
First, let's take a look at the includes:
|
||||
|
||||
```c
|
||||
#include <stdio.h>
|
||||
@@ -948,7 +948,7 @@ case ESP_GATTS_EXEC_WRITE_EVT:
|
||||
example_exec_write_event_env(&a_prepare_write_env, param);
|
||||
break;
|
||||
```
|
||||
Let’s take a look at the Executive Write function:
|
||||
Let's take a look at the Executive Write function:
|
||||
|
||||
```c
|
||||
void example_exec_write_event_env(prepare_type_env_t *prepare_write_env, esp_ble_gatts_cb_param_t *param){
|
||||
|
||||
Reference in New Issue
Block a user