kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/btdm_modify_service_uuid_of_sec_gatts_demo' into 'master'
Component/bt: modify service uuid of ble_sec_gatts demo See merge request idf/esp-idf!2612pull/2140/head
commit
83f1d14162
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue