Skip to content

Commit

Permalink
Implement the Bluetooth current time service
Browse files Browse the repository at this point in the history
Partial implementation, no notifications or time reference info for now.

CL: Implement the Bluetooth current time service

PUBLISHED_FROM=b6322789d9dab26ef2c8c886c7f4ad65948f90ef
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed Feb 5, 2018
1 parent 1234c42 commit 194c48b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/esp32/esp32_bt.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ extern "C" {
const uint16_t primary_service_uuid;
const uint16_t char_decl_uuid;
const uint16_t char_client_config_uuid;
const uint8_t char_prop_read;
const uint8_t char_prop_read_write;
const uint8_t char_prop_read_notify;
const uint8_t char_prop_write;
Expand Down
1 change: 1 addition & 0 deletions src/esp32/esp32_bt_gatts.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ static esp_gatt_if_t s_gatts_if;
const uint16_t primary_service_uuid = ESP_GATT_UUID_PRI_SERVICE;
const uint16_t char_decl_uuid = ESP_GATT_UUID_CHAR_DECLARE;
const uint16_t char_client_config_uuid = ESP_GATT_UUID_CHAR_CLIENT_CONFIG;
const uint8_t char_prop_read = ESP_GATT_CHAR_PROP_BIT_READ;
const uint8_t char_prop_read_write =
(ESP_GATT_CHAR_PROP_BIT_READ | ESP_GATT_CHAR_PROP_BIT_WRITE);
const uint8_t char_prop_read_notify =
Expand Down

0 comments on commit 194c48b

Please sign in to comment.