]> granicus.if.org Git - esp-idf/commitdiff
component/bt : cleanup demo warnings
authorTian Hao <tianhao@espressif.com>
Wed, 7 Dec 2016 12:04:44 +0000 (20:04 +0800)
committerAngus Gratton <angus@espressif.com>
Wed, 7 Dec 2016 21:49:53 +0000 (13:49 -0800)
examples/14_gatt_server/main/component.mk
examples/14_gatt_server/main/gatts_demo.c

index 24356f23ed2e292e153170d8edda3dd5dce430aa..79edf031d3d5645be778162ea4511cb22fe53838 100644 (file)
@@ -6,5 +6,3 @@
 # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
 # please read the ESP-IDF documents if you need to do this.
 #
-
-include $(IDF_PATH)/make/component_common.mk
index 7ba9447eaab60c4ef332b029981bcde943ebb2cc..0f4c996158a7ba82004dead66bcae0a62bc3fec2 100644 (file)
@@ -38,7 +38,6 @@
 #define TEST_DEVICE_NAME            "ESP_GATTS_DEMO"
 
 #define TEST_MANUFACTURER_DATA_LEN  17
-static uint16_t test_service_uuid = GATTS_SERVICE_UUID_TEST;
 static uint8_t test_service_uuid128[32] = {
     /* LSB <--------------------------------------------------------------------------------> MSB */
     //first uuid, 16bit, [12],[13] is the value
@@ -47,7 +46,7 @@ static uint8_t test_service_uuid128[32] = {
     0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0xAB, 0xCD, 0xAB, 0xCD,
 };
 
-static uint8_t test_manufacturer[TEST_MANUFACTURER_DATA_LEN] =  {0x12, 0x23, 0x45, 0x56};
+//static uint8_t test_manufacturer[TEST_MANUFACTURER_DATA_LEN] =  {0x12, 0x23, 0x45, 0x56};
 static esp_ble_adv_data_t test_adv_data = {
     .set_scan_rsp = false,
     .include_name = true,