Skip to content

Commit 194c48b

Browse files
Deomid Ryabkovcesantabot
authored andcommitted
Implement the Bluetooth current time service
Partial implementation, no notifications or time reference info for now. CL: Implement the Bluetooth current time service PUBLISHED_FROM=b6322789d9dab26ef2c8c886c7f4ad65948f90ef
1 parent 1234c42 commit 194c48b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

include/esp32/esp32_bt.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ extern "C" {
2727
const uint16_t primary_service_uuid;
2828
const uint16_t char_decl_uuid;
2929
const uint16_t char_client_config_uuid;
30+
const uint8_t char_prop_read;
3031
const uint8_t char_prop_read_write;
3132
const uint8_t char_prop_read_notify;
3233
const uint8_t char_prop_write;

src/esp32/esp32_bt_gatts.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ static esp_gatt_if_t s_gatts_if;
9090
const uint16_t primary_service_uuid = ESP_GATT_UUID_PRI_SERVICE;
9191
const uint16_t char_decl_uuid = ESP_GATT_UUID_CHAR_DECLARE;
9292
const uint16_t char_client_config_uuid = ESP_GATT_UUID_CHAR_CLIENT_CONFIG;
93+
const uint8_t char_prop_read = ESP_GATT_CHAR_PROP_BIT_READ;
9394
const uint8_t char_prop_read_write =
9495
(ESP_GATT_CHAR_PROP_BIT_READ | ESP_GATT_CHAR_PROP_BIT_WRITE);
9596
const uint8_t char_prop_read_notify =

0 commit comments

Comments
 (0)