docs(ble): Improved as Weilong and Shenhang requested

This commit is contained in:
Zhou Xiao 2024-08-19 11:59:27 +08:00 committed by weiyuhan
parent 1a0c5f49aa
commit 781d3456c7
4 changed files with 7 additions and 7 deletions

View File

@ -31,6 +31,6 @@
/* Defines */
#define TAG "NimBLE_Connection"
#define DEVICE_NAME "NimBLE_DEMO"
#define DEVICE_NAME "NimBLE_CONN"
#endif // COMMON_H

View File

@ -366,10 +366,10 @@ static void heart_rate_task(void *param) {
If everything goes well, you should be able to see 4 services when connected to ESP32, including
- GAP
- GATT
- Heart Rate Service
- Automation IO Service
- Generic Access
- Generic Attribute
- Heart Rate
- Automation IO
Click on Automation IO Service, you should be able to see LED characteristic. Click on upload button, you should be able to write `ON` or `OFF` value. Send it to the device, LED will be turned on or off following your instruction.

View File

@ -32,6 +32,6 @@
/* Defines */
#define TAG "NimBLE_GATT_Server"
#define DEVICE_NAME "NimBLE_DEMO"
#define DEVICE_NAME "NimBLE_GATT"
#endif // COMMON_H

View File

@ -33,6 +33,6 @@
/* Defines */
#define TAG "NimBLE_Security"
#define DEVICE_NAME "NimBLE_DEMO"
#define DEVICE_NAME "NimBLE_SEC"
#endif // COMMON_H