Component/bt: modify service uuid of ble_sec_gatts demo
This commit is contained in:
parent
8a7e112a72
commit
ee9db0c76a
|
@ -33,7 +33,7 @@
|
|||
#include "freertos/FreeRTOS.h"
|
||||
|
||||
#define GATTC_TAG "SEC_GATTC_DEMO"
|
||||
#define REMOTE_SERVICE_UUID 0x1809
|
||||
#define REMOTE_SERVICE_UUID ESP_GATT_UUID_HEART_RATE_SVC
|
||||
#define REMOTE_NOTIFY_UUID 0x2A37
|
||||
|
||||
static esp_gattc_char_elem_t *char_elem_result = NULL;
|
||||
|
|
|
@ -119,7 +119,7 @@ static struct gatts_profile_inst heart_rate_profile_tab[HEART_PROFILE_NUM] = {
|
|||
*/
|
||||
|
||||
/// Heart Rate Sensor Service
|
||||
static const uint16_t heart_rate_svc = ESP_GATT_UUID_HEALTH_THERMOM_SVC;
|
||||
static const uint16_t heart_rate_svc = ESP_GATT_UUID_HEART_RATE_SVC;
|
||||
|
||||
#define CHAR_DECLARATION_SIZE (sizeof(uint8_t))
|
||||
static const uint16_t primary_service_uuid = ESP_GATT_UUID_PRI_SERVICE;
|
||||
|
|
Loading…
Reference in a new issue