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 Wei Yu Han
parent 77f9b38039
commit 17ea84eef6
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