mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
docs(ble): Improved as Weilong and Shenhang requested
This commit is contained in:
parent
77f9b38039
commit
17ea84eef6
@ -31,6 +31,6 @@
|
|||||||
|
|
||||||
/* Defines */
|
/* Defines */
|
||||||
#define TAG "NimBLE_Connection"
|
#define TAG "NimBLE_Connection"
|
||||||
#define DEVICE_NAME "NimBLE_DEMO"
|
#define DEVICE_NAME "NimBLE_CONN"
|
||||||
|
|
||||||
#endif // COMMON_H
|
#endif // COMMON_H
|
||||||
|
@ -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
|
If everything goes well, you should be able to see 4 services when connected to ESP32, including
|
||||||
|
|
||||||
- GAP
|
- Generic Access
|
||||||
- GATT
|
- Generic Attribute
|
||||||
- Heart Rate Service
|
- Heart Rate
|
||||||
- Automation IO Service
|
- 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.
|
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.
|
||||||
|
|
||||||
|
@ -32,6 +32,6 @@
|
|||||||
|
|
||||||
/* Defines */
|
/* Defines */
|
||||||
#define TAG "NimBLE_GATT_Server"
|
#define TAG "NimBLE_GATT_Server"
|
||||||
#define DEVICE_NAME "NimBLE_DEMO"
|
#define DEVICE_NAME "NimBLE_GATT"
|
||||||
|
|
||||||
#endif // COMMON_H
|
#endif // COMMON_H
|
||||||
|
@ -33,6 +33,6 @@
|
|||||||
|
|
||||||
/* Defines */
|
/* Defines */
|
||||||
#define TAG "NimBLE_Security"
|
#define TAG "NimBLE_Security"
|
||||||
#define DEVICE_NAME "NimBLE_DEMO"
|
#define DEVICE_NAME "NimBLE_SEC"
|
||||||
|
|
||||||
#endif // COMMON_H
|
#endif // COMMON_H
|
||||||
|
Loading…
Reference in New Issue
Block a user